Feature: HTMX + Jinja2 Frontend ersetzt Next.js komplett
- Kein Node.js, kein npm, kein Build-Schritt mehr - HTMX 2.0.4 + PicoCSS 2 vendored in backend/static/ - Jinja2 Templates für alle 9 Seiten (Dashboard, ZFS, Snapshots, Shares, Identities, Logs, Services, Navigator, Login) - HTMX Fragments für Live-Updates (30s Polling Dashboard) - JWT als httpOnly Cookie statt localStorage - Disk Usage zeigt TB/PB korrekt (Jinja2 serverseitig formatiert) - Update-safe: nur Python-Deps, keine npm-Abhängigkeiten Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
{% extends "base.html" %}
|
||||
{% block title %}Navigator – ZMB Webui{% endblock %}
|
||||
{% block content %}
|
||||
<h2>Datei Navigator</h2>
|
||||
|
||||
<div style="display:flex;gap:0.5rem;margin-bottom:1rem">
|
||||
<input id="nav-path" type="text" value="/tank/share" style="font-family:monospace;margin:0">
|
||||
<button hx-get="/fragments/navigator"
|
||||
hx-include="#nav-path"
|
||||
hx-target="#nav-content"
|
||||
hx-swap="innerHTML">🔍 Öffnen</button>
|
||||
</div>
|
||||
|
||||
<div id="nav-content"
|
||||
hx-get="/fragments/navigator?path=/tank/share"
|
||||
hx-trigger="load">
|
||||
<p aria-busy="true">Lade...</p>
|
||||
</div>
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user