mirror of
https://github.com/LCPQ/QUESTDB_website.git
synced 2024-12-25 13:53:48 +01:00
72 lines
2.5 KiB
HTML
72 lines
2.5 KiB
HTML
---
|
|
title: "Publications"
|
|
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>
|
|
<script src="/js/getTextFromFile.js" type="text/javascript"></script>
|
|
<script src="/js/trueTypeOf.js" type="text/javascript"></script>
|
|
<script src="/js/uniq.js"></script>
|
|
<script src="/js/websiteFile.js"></script>
|
|
<script src="/js/numberUtils.js"></script>
|
|
<script src="/js/DebugMode.js"></script>
|
|
<script src="/js/PubliData.js"></script>
|
|
<script src="/js/createPubliUI.js"></script>
|
|
<script src="/js/processingIndicator.js"></script>
|
|
<script src="/js/indexDB.js"></script>
|
|
{{< getDataFilesName >}}
|
|
<script>
|
|
window.onload = async function () {
|
|
processingIndicator.isActive = true
|
|
const setsSec = $('#publis_sets')
|
|
var myDB = await indexDB.loadAsync()
|
|
const sets = myDB.sets
|
|
for (const [setName,publis] of sets) {
|
|
const uopublis = await PubliData.loadManyAsync(publis)
|
|
if (uopublis.length !== 0) {
|
|
const mySetSec = $('<section>').addClass('publiSet').attr("data-setName", setName).attr("id",setName).appendTo(setsSec)
|
|
$("<h1>").text(setName).appendTo(mySetSec)
|
|
const spublis = uopublis.sort((puba, pubb) => pubUtils.getIssuedDate(puba) - pubUtils.getIssuedDate(pubb))
|
|
for (const publi of spublis) {
|
|
const art = await createPubliUI(publi, true, true)
|
|
$(art).appendTo(mySetSec)
|
|
}
|
|
}
|
|
}
|
|
const odois = myDB.others
|
|
const uoopublis = await PubliData.loadManyAsync(odois)
|
|
const opublis = uoopublis.sort((puba, pubb) => pubUtils.getIssuedDate(puba) - pubUtils.getIssuedDate(pubb))
|
|
for (const publi of opublis) {
|
|
art = await createPubliUI(publi, true, true)
|
|
$(art).appendTo("#publis_others")
|
|
}
|
|
processingIndicator.isActive = false
|
|
const hash=window.location.hash
|
|
if (hash.length>1 && hash.startsWith("#")) {
|
|
sec=document.getElementById(decodeURIComponent(hash.substring(1)))
|
|
if (sec) {
|
|
sec.scrollIntoView({
|
|
block: 'start',
|
|
behavior: 'smooth',
|
|
inline: 'nearest'
|
|
})
|
|
}
|
|
}
|
|
}
|
|
</script>
|
|
<section class="publis-list" id="publis_sets">
|
|
<header>
|
|
<h1>The QUEST subsets</h2>
|
|
</header>
|
|
</section>
|
|
<section class="publis" id="publis_others">
|
|
<header>
|
|
<h1>Review articles about QUEST</h2>
|
|
</header>
|
|
</section>
|
|
{{< waitModal >}}
|