Fixed checkbox tick and changed backup/restore label

This commit is contained in:
Gunnar Skjold 2023-03-11 09:19:09 +01:00
parent 64f8414217
commit cd27472e2d
3 changed files with 11 additions and 13 deletions

File diff suppressed because one or more lines are too long

View File

@ -183,7 +183,7 @@
</div>
{#if sysinfo.security == 0 || data.a}
<div class="cnt">
<strong class="text-sm">Configuration</strong>
<strong class="text-sm">Backup & restore</strong>
<form method="get" action="/configfile.cfg" autocomplete="off">
<div class="grid grid-cols-2">
{#each cfgItems as el}

View File

@ -61,8 +61,6 @@ for webroot in ["lib/SvelteUi/app/dist", "lib/SvelteUi/json"]:
try:
if filename.endswith(".html"):
content = html_minify(content)
elif filename.endswith(".css"):
content = css_minify(content)
elif filename.endswith(".json"):
content = js_minify(content)
except: