mirror of
https://github.com/LCPQ/QUESTDB_website.git
synced 2024-12-25 05:43:46 +01:00
Add noscript message if JavaScript is disabled
This commit is contained in:
parent
3e0a68e3ea
commit
1e744ba58a
@ -81,17 +81,17 @@ draft: false
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
window.dats=[]
|
window.dats = []
|
||||||
for(const subproms of proms){
|
for (const subproms of proms) {
|
||||||
var sub = await Promise.all(subproms)
|
var sub = await Promise.all(subproms)
|
||||||
for(mol of uniq(sub.map(d=>d.molecule))){
|
for (mol of uniq(sub.map(d => d.molecule))) {
|
||||||
submol=sub.filter(d=>d.molecule==mol)
|
submol = sub.filter(d => d.molecule == mol)
|
||||||
TBE=sub.find((d)=>d.method.isTBE)
|
TBE = sub.find((d) => d.method.isTBE)
|
||||||
for(dat of submol.filter((d)=>d!==TBE)){
|
for (dat of submol.filter((d) => d !== TBE)) {
|
||||||
dat.CopyExcitationsTypeFrom(TBE)
|
dat.CopyExcitationsTypeFrom(TBE)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
window.dats=window.dats.concat(sub)
|
window.dats = window.dats.concat(sub)
|
||||||
}
|
}
|
||||||
processingIndicator.isActive = false
|
processingIndicator.isActive = false
|
||||||
reloadFileSelector()
|
reloadFileSelector()
|
||||||
@ -144,7 +144,7 @@ draft: false
|
|||||||
if (val !== null) {
|
if (val !== null) {
|
||||||
$("<option/>", {
|
$("<option/>", {
|
||||||
value: JSON.stringify(val)
|
value: JSON.stringify(val)
|
||||||
}).text(($(this).attr("name")==="DOI" && sets.has(val)) ? sets.get(val) : val.toString()).appendTo(this)
|
}).text(($(this).attr("name") === "DOI" && sets.has(val)) ? sets.get(val) : val.toString()).appendTo(this)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
@ -407,6 +407,14 @@ draft: false
|
|||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
{{< getDataFilesName >}}
|
{{< getDataFilesName >}}
|
||||||
|
<noscript>
|
||||||
|
<p style="background-color: red; font-size: 20;">
|
||||||
|
<span role="img" style="font-family: color-emoji;">⚠</span>
|
||||||
|
<span style="color: white; font-weight: bold;">This website work only if JavaScript is enable. You must enable
|
||||||
|
JavaScript.
|
||||||
|
<a href="https://www.enable-javascript.com/" target="_blank">How to enable JavaScript ?</a></span>
|
||||||
|
</p>
|
||||||
|
</noscript>
|
||||||
<p>
|
<p>
|
||||||
In this page you can compare multiple dataset and have somme statistics to evaluate method or basis accuracy.
|
In this page you can compare multiple dataset and have somme statistics to evaluate method or basis accuracy.
|
||||||
For this follow this steps
|
For this follow this steps
|
||||||
@ -463,7 +471,7 @@ draft: false
|
|||||||
<label for="mol_select">Molecule</label>
|
<label for="mol_select">Molecule</label>
|
||||||
<select multiple id="mol_select" name="molecule"></select>
|
<select multiple id="mol_select" name="molecule"></select>
|
||||||
</div>
|
</div>
|
||||||
<br/>
|
<br />
|
||||||
<div style="display: inline-block;">
|
<div style="display: inline-block;">
|
||||||
<label for="method_select">Method</label>
|
<label for="method_select">Method</label>
|
||||||
<select multiple id="method_select" name="method"></select>
|
<select multiple id="method_select" name="method"></select>
|
||||||
|
Loading…
Reference in New Issue
Block a user