10
0
mirror of https://github.com/LCPQ/QUESTDB_website.git synced 2024-07-23 11:17:42 +02:00

Better stat table

This commit is contained in:
Mickaël Véril 2020-02-20 13:48:49 +01:00
parent da0c2e2a5c
commit c5208d13b5

View File

@ -269,13 +269,13 @@ draft: false
Reflect.setPrototypeOf(key[0], method.prototype) Reflect.setPrototypeOf(key[0], method.prototype)
//Reflect.setPrototypeOf(key[1], DOI.prototype) //Reflect.setPrototypeOf(key[1], DOI.prototype)
for (const [i, el] of key.entries()) { for (const [i, el] of key.entries()) {
var td = $("<td/>") var td = $("<th/>",{scope:"column"})
if (i === 1) { if (i === 1) {
var publi = doiCache.get(el, true) var publi = doiCache.get(el, true)
const sets = await getSets() const sets = await getSets()
if (sets.has(el)) { if (sets.has(el)) {
var str = sets.get(el) var str = sets.get(el)
$(td).append(str) $(td).append(str+ " ")
} }
$("<a/>", { $("<a/>", {
href: new DOI(el).url, href: new DOI(el).url,