25 lines
1.0 KiB
HTML
25 lines
1.0 KiB
HTML
<!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> |