ui: slim 4-card strip, admin-only system log, HTMX apply, title cleanup

* 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>
This commit is contained in:
Moritz 2026-04-21 11:25:59 +02:00
parent 332d9eea19
commit 04b591fa9e
9 changed files with 204 additions and 136 deletions

View file

@ -1,10 +1,4 @@
{% extends "_layout.html" %}
{% block title %}Wohnungen — lazyflat{% endblock %}
{% block content %}
<div id="wohnungen-body"
hx-get="/partials/wohnungen"
hx-trigger="every 30s"
hx-swap="outerHTML">
{% include "_wohnungen_body.html" %}
</div>
{% include "_wohnungen_body.html" %}
{% endblock %}