93 lines
2.4 KiB
HTML
93 lines
2.4 KiB
HTML
|
|
<!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>
|