README: Anleitung für STATS_PASSWORD und Dashboard ergänzt

This commit is contained in:
2025-07-23 11:12:53 +02:00
parent 3041b86f3e
commit cdbe6f0574
3 changed files with 116 additions and 1 deletions

View File

@@ -0,0 +1,25 @@
<!doctype html>
<html lang="de">
<head>
<meta charset="utf-8">
<title>Dashboard Login</title>
<link rel="stylesheet" href="/static/style.css">
<style>
.login-box { max-width: 340px; margin: 5em auto; background: #fff; border-radius: 12px; box-shadow: 0 2px 8px #cbd5e1; padding: 2em 2em 1.5em 2em; border: 1px solid #e5e7eb; }
.login-box h2 { text-align: center; margin-bottom: 1.2em; }
.login-box input[type=password] { width: 100%; padding: 0.6em; border-radius: 6px; border: 1px solid #e5e7eb; margin-bottom: 1em; }
.login-box button { width: 100%; }
.error { color: #dc2626; text-align: center; margin-bottom: 1em; }
</style>
</head>
<body>
<div class="login-box">
<h2>Dashboard Login</h2>
{% if error %}<div class="error">{{ error }}</div>{% endif %}
<form method="post">
<input type="password" name="password" placeholder="Passwort" required autofocus>
<button type="submit">Login</button>
</form>
</div>
</body>
</html>