eca887eadb
- F-12: HTML-Antworten erhalten 'Cache-Control: no-store' (Formulare/Session nicht cachebar); statische Assets bleiben cachebar. - F-14: Favicon (bi-globe2 als SVG, Logo-Farbe) inkl. /favicon.ico-Route und <link rel="icon"> in allen Templates -> kein 404-Rauschen mehr. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
43 lines
1.8 KiB
HTML
43 lines
1.8 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="icon" href="{{ url_for('static', filename='favicon.svg') }}" type="image/svg+xml">
|
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css">
|
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css">
|
|
<link rel="stylesheet" href="{{ url_for('static', filename='css/login.css') }}">
|
|
</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">
|
|
<input type="hidden" name="csrf_token" value="{{ csrf_token() }}">
|
|
<input type="hidden" name="next" value="{{ request.args.get('next', '') }}">
|
|
<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>
|
|
</body>
|
|
</html>
|