new design for rendertest #8

Merged
provod merged 28 commits from NightFox/HLRTest:master into master 2024-02-15 23:35:42 +01:00
Showing only changes of commit 7e706ab0fc - Show all commits

View File

@ -132,7 +132,7 @@ function makeTable(fields, data, attrs_func) {
table.appendChild(Tag('tr', attrs, null, (() => { table.appendChild(Tag('tr', attrs, null, (() => {
let ret = []; let ret = [];
for (const f of fields) { for (const f of fields) {
let value = d[f.field]; const value = d[f.field];
if (value === undefined) { if (value === undefined) {
ret.push(Tag('td')); ret.push(Tag('td'));
continue; continue;
@ -334,7 +334,7 @@ window.onload = () => {
Tag("div", null, null, [ Tag("div", null, null, [
Tag("b", null, null, [ Tag("b", null, null, [
Tag("span", {"class": "emoji"}, "🤼"), Tag("span", {"class": "emoji"}, "🤼"),
Text(" Image compare mode") Text(" Image compare mode")
]), ]),
Tag("label", null, null, [ Tag("label", null, null, [
Tag("input", {"type": "radio", "name": "compare_mode", "value": "switch", "checked": "checked"}), Tag("input", {"type": "radio", "name": "compare_mode", "value": "switch", "checked": "checked"}),