10
0
mirror of https://github.com/LCPQ/QUESTDB_website.git synced 2024-12-24 13:23:40 +01:00

Add strike when unsafe and is not checked

This commit is contained in:
Mickaël Véril 2020-01-04 12:53:01 +01:00
parent 2434659c95
commit 2bff0d3190

View File

@ -24,7 +24,7 @@ draft: false
window.onload = async () => {
const LatexInline = ['\\(', '\\)']
var al = $("#AllowList")
var ef = $("#exitationFilter")
var ef = $("#excitationFilter")
for (const [name, value] of excitationTypes.All) {
var description = null
switch (Number(value)) {
@ -339,7 +339,12 @@ draft: false
if (unsafe) {
td.append($("<div/>",{title:"unsafe value",style:"float: left"}).text('⚠'))
}
td.append(val)
if (unsafe && !$("#cb_unsafe").is(':checked')){
td.append($("<s/>").append(val))
}
else{
td.append(val)
}
}
tr.append(td)
}
@ -407,9 +412,9 @@ draft: false
<select multiple id="DOI_select" name="DOI"></select>
</div>
</fieldset>
<fieldset id="excitationFilter">
</fieldset>
<input type="submit" disabled=true value="Load"></input>
<div id="exitationFilter">
</div>
</form>
<form id="form_ref">
<label for="sel_ref">Reference</label>