arg, forgotten files…

This commit is contained in:
2024-06-03 12:16:11 +02:00
parent 0b76d1a624
commit 0a7f5407d8
7 changed files with 1283 additions and 2747 deletions
+93
View File
@@ -0,0 +1,93 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Config</title>
<style>
html,
body {
background-color: hsl(0, 0%, 12%);
color: white;
font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
font-size: 16px;
padding: 1rem;
}
h1 {
font-weight: 500;
font-size: 1.333rem;
margin-bottom: 2em;
}
label {
color: #ccc;
text-align: right;
line-height: 2.333;
}
.config {
display: grid;
gap: 1rem;
padding: 2rem;
grid-template-columns: max-content auto;
border: 1px solid rgba(255, 255, 255, 0.1);
border-radius: 0.25rem;
background-color: rgba(255, 255, 255, 0.05);
}
input,
textarea {
font-family: monospace;
padding: 0 0.666em;
background-color: rgba(0, 0, 0, 0.3);
color: white;
border: 1px solid rgba(255, 255, 255, 0.12);
border-radius: 0.25rem;
}
textarea:focus,
input:focus {
outline: none;
}
.buttons {
grid-column: 2;
display: flex;
gap: 1rem;
margin-top: 2rem;
}
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;
padding: 0 0.666em;
color: white;
}
</style>
</head>
<body>
<h1>Config</h1>
<div class="config">
<label for="url">Url</label>
<input type="text" id="url" value="file:///assets/data/index.html">
<label for="whitelist">Allowed Domains</label>
<textarea name="whitelist" id="whitelist"></textarea>
<label for="logPath">Logging Path</label>
<input type="text" id="logPath" value="/assets/logs/tooloop-kiosk-browser.log">
</div>
<div class="buttons">
<button>Save</button>
<button>Cancel</button>
</div>
</body>
</html>
+2 -2
View File
@@ -23,7 +23,7 @@
html {
/* background-color: #000; */
background-image: url('images/icon-512.png');
background-image: url('../images/icon-512.png');
background-position: center center;
background-size: cover;
background-attachment: fixed;
@@ -139,7 +139,7 @@
<main id="info">
<div id="header" role="banner">
<img src="images/icon-512.png" alt="Application Icon" role="presentation">
<img src="../images/icon-512.png" alt="Application Icon" role="presentation">
<h1>Tooloop Kiosk Browser</h1>
</div>