Files
dyndns-server/app/templates/login.html
T
Stefan Hacker 2542cf5455 first release
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-06 12:21:16 +02:00

43 lines
1.6 KiB
HTML

<!DOCTYPE html>
<html lang="de">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Login — DynDNS Manager</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css">
<style>
body { background: #1e2a38; min-height: 100vh; display: flex; align-items: center; }
.login-card { width: 100%; max-width: 380px; }
</style>
</head>
<body class="justify-content-center">
<div class="login-card">
<div class="text-center mb-4">
<span class="text-info fs-2"><i class="bi bi-globe2"></i></span>
<h4 class="text-white mt-2 mb-0">DynDNS Manager</h4>
</div>
<div class="card shadow">
<div class="card-body p-4">
{% with msgs = get_flashed_messages(with_categories=true) %}
{% for cat, msg in msgs %}
<div class="alert alert-{{ cat }} py-2">{{ msg }}</div>
{% endfor %}
{% endwith %}
<form method="post">
<div class="mb-3">
<label class="form-label fw-semibold">Benutzername</label>
<input name="username" type="text" class="form-control" autofocus required>
</div>
<div class="mb-4">
<label class="form-label fw-semibold">Passwort</label>
<input name="password" type="password" class="form-control" required>
</div>
<button type="submit" class="btn btn-primary w-100">Anmelden</button>
</form>
</div>
</div>
</div>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css">
</body>
</html>