Config-Funktionen in eigenes Modul, fixes #7

This commit is contained in:
2024-06-04 14:58:52 +02:00
parent 4bcdf1071e
commit f695e874a9
5 changed files with 251 additions and 218 deletions
+3 -4
View File
@@ -4,7 +4,7 @@
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Config</title>
<title>Settings</title>
<style>
html,
body {
@@ -59,7 +59,6 @@
button {
background-color: hsl(0, 0%, 50%);
/* border: 1px solid rgba(255, 255, 255, 0.12); */
border-width: 1px;
border-radius: 0.25rem;
line-height: 1.5;
@@ -72,10 +71,10 @@
<body>
<div class="config">
<label for="url">Url</label>
<input type="text" id="url" value="file:///assets/data/index.html">
<input type="text" id="url" placeholder="https://...">
<label for="whitelist">Allowed Domains</label>
<textarea name="whitelist" id="whitelist"></textarea>
<textarea name="whitelist" id="whitelist" placeholder="domain.tld;domain.tld"></textarea>
<label for="logpath">Logging Path</label>
<input type="text" id="logpath" value="/assets/logs/tooloop-kiosk-browser.log">