10
0
mirror of https://github.com/LCPQ/QUESTDB_website.git synced 2024-12-24 13:23:40 +01:00

Add processingIndicator to publications.html

This commit is contained in:
Mickaël Véril 2020-09-09 09:19:36 +02:00
parent 71114dedd4
commit 7435bb1803

View File

@ -4,6 +4,7 @@ date: 2019-09-30 11:30
draft: false
---
<link rel="stylesheet" type="text/css" href="/css/publi.css" />
<link rel="stylesheet" type="text/css" href="/css/modal.css" />
<script src="/js/data.js" type="text/javascript"></script>
<script src="/js/loadAllData.js" type="text/javascript"></script>
<script src="/js/getFullDataPath.js" type="text/javascript"></script>
@ -14,10 +15,12 @@ draft: false
<script src="/js/numberUtils.js"></script>
<script src="/js/DebugMode.js"></script>
<script src="/js/createPubliUI.js"></script>
<script src="/js/processingIndicator.js"></script>
<script src="/js/PubliDB.js"></script>
{{< getDataFilesName >}}
<script>
window.onload = async function () {
processingIndicator.isActive = true
var div = document.getElementById("publis_div")
const Cite = require("citation-js")
const sdois = uniq(Object.values(await loadAllData()).flat().filter(d => d.DOI !== null).map(d => d.DOI))
@ -44,6 +47,7 @@ draft: false
art = await createPubliUI(publi, true, true)
$(art).appendTo("#publis_others")
}
processingIndicator.isActive = false
}
</script>
<section class="publis-list" id="publis_sets">
@ -55,4 +59,5 @@ draft: false
<header>
<h1>Others</h2>
</header>
</section>
</section>
{{< waitModal >}}