10
0
mirror of https://github.com/LCPQ/QUESTDB_website.git synced 2024-12-26 14:23:42 +01:00

Merge branch 'master' into ADC

This commit is contained in:
Mickaël Véril 2020-09-09 09:21:24 +02:00
commit d2cabb03cb
2 changed files with 6 additions and 2 deletions

View File

@ -95,7 +95,6 @@ draft: false
} }
async function loadFiles() { async function loadFiles() {
processingIndicator.isActive = true processingIndicator.isActive = true
var chks = []
var data = await loadAllData() var data = await loadAllData()
window.defaultDats = [] window.defaultDats = []
for (const sub of Object.values(data)) { for (const sub of Object.values(data)) {

View File

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