Replace the dark theme with a light/airy look: sky-blue gradient bg, white cards with soft blue borders, sunny gradient brand mark, pastel status chips, and readable slate tones. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
31 lines
1.3 KiB
HTML
31 lines
1.3 KiB
HTML
{% extends "base.html" %}
|
|
{% block title %}Login — lazyflat{% endblock %}
|
|
{% block body %}
|
|
<main class="flex min-h-screen items-center justify-center p-4">
|
|
<div class="card w-full max-w-sm p-8">
|
|
<div class="flex items-center gap-3 mb-6">
|
|
<div class="brand-dot"></div>
|
|
<div>
|
|
<h1 class="text-2xl font-semibold leading-tight">lazyflat</h1>
|
|
<p class="text-sm text-slate-500">Anmeldung erforderlich</p>
|
|
</div>
|
|
</div>
|
|
|
|
{% if error %}
|
|
<div class="chip chip-bad mb-4">{{ error }}</div>
|
|
{% endif %}
|
|
|
|
<form method="post" action="/login" class="space-y-4">
|
|
<div>
|
|
<label class="block text-xs uppercase tracking-wide text-slate-500 mb-1">Benutzer</label>
|
|
<input class="input" type="text" name="username" autocomplete="username" required>
|
|
</div>
|
|
<div>
|
|
<label class="block text-xs uppercase tracking-wide text-slate-500 mb-1">Passwort</label>
|
|
<input class="input" type="password" name="password" autocomplete="current-password" required>
|
|
</div>
|
|
<button type="submit" class="btn btn-primary w-full">Anmelden</button>
|
|
</form>
|
|
</div>
|
|
</main>
|
|
{% endblock %}
|