mirror of
https://github.com/LCPQ/QUESTDB_website.git
synced 2024-11-04 13:13:55 +01:00
Merge branch 'QUEST#1' into QUEST#3
This commit is contained in:
commit
c771568bb5
@ -26,17 +26,24 @@ draft: false
|
|||||||
const spublis = spubliscite.format('data', { format: 'object' })
|
const spublis = spubliscite.format('data', { format: 'object' })
|
||||||
for (const publi of spublis) {
|
for (const publi of spublis) {
|
||||||
art=createPubliUI(publi,pubs.sets,true)
|
art=createPubliUI(publi,pubs.sets,true)
|
||||||
$(art).appendTo("<li/>").appendTo("#publis_ul")
|
$(art).appendTo("#publis_sets")
|
||||||
}
|
}
|
||||||
const odois=Array.from(pubs.others.keys())
|
const odois=Array.from(pubs.others.keys())
|
||||||
const opubliscite = await Cite.async(odois)
|
const opubliscite = await Cite.async(odois)
|
||||||
const opublis = opubliscite.format('data', { format: 'object' })
|
const opublis = opubliscite.format('data', { format: 'object' })
|
||||||
for (const publi of opublis) {
|
for (const publi of opublis) {
|
||||||
art=createPubliUI(publi,pubs.others,true)
|
art=createPubliUI(publi,pubs.others,true)
|
||||||
$(art).appendTo("<li/>").appendTo("#publis_ul")
|
$(art).appendTo("#publis_others")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
<ul class="publis-list" id="publis_ul">
|
<section class="publis-list" id="publis_sets">
|
||||||
|
<header>
|
||||||
</ul>
|
<h2>Sets</h2>
|
||||||
|
</header>
|
||||||
|
</section>
|
||||||
|
<section class="publis" id="publis_others">
|
||||||
|
<header>
|
||||||
|
<h2>Others</h2>
|
||||||
|
</header>
|
||||||
|
</section>
|
@ -5,10 +5,6 @@
|
|||||||
font-size: 20pt
|
font-size: 20pt
|
||||||
}
|
}
|
||||||
|
|
||||||
ul.publis-list{
|
|
||||||
list-style: none
|
|
||||||
}
|
|
||||||
|
|
||||||
.publi ul.authors-list {
|
.publi ul.authors-list {
|
||||||
list-style: none;
|
list-style: none;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
|
@ -2,7 +2,7 @@ function createPubliUI(publi,sets=new Map(),toolTips=false) {
|
|||||||
const art = $("<article/>").addClass("publi")
|
const art = $("<article/>").addClass("publi")
|
||||||
art.className = "publi"
|
art.className = "publi"
|
||||||
if (sets.has(publi.DOI) && sets.get(publi.DOI)!==null) {
|
if (sets.has(publi.DOI) && sets.get(publi.DOI)!==null) {
|
||||||
$("<h1/>").text(sets.get(publi.DOI)).appendTo(art)
|
$("<header/>").append($("<h1/>").text(sets.get(publi.DOI))).appendTo(art)
|
||||||
}
|
}
|
||||||
$("<a/>", {
|
$("<a/>", {
|
||||||
href: publi.URL,
|
href: publi.URL,
|
||||||
|
Loading…
Reference in New Issue
Block a user