* Wohnungen header: single slim row with Alert status · Filter summary · Auto-Bewerben toggle · Trockenmodus toggle. Big filter panel removed — filters live only in /einstellungen/filter. * Alert status: 'nicht eingerichtet' until the user has actual filters (+ valid notification creds if telegram/email). 'aktiv' otherwise. * Logs tab: admin-only (gated both in layout and server-side). Shows merged audit + errors across all users, sorted newest-first, capped at 300. * Apply, auto-apply, trockenmodus and circuit reset buttons post via HTMX and swap the Wohnungen body. While any application is still running for the user the poll interval drops from 30s to 3s so status flips to 'beworben' or 'fehlgeschlagen' almost immediately. * Browser tab title is now always 'lazyflat'. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
30 lines
1.2 KiB
HTML
30 lines
1.2 KiB
HTML
{% extends "base.html" %}
|
|
{% 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 %}
|