5ecd143535
- 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>
24 lines
737 B
HTML
24 lines
737 B
HTML
{% if not shares %}
|
|
<p>Keine Samba Shares konfiguriert.</p>
|
|
{% else %}
|
|
<table>
|
|
<thead><tr><th>Name</th><th>Pfad</th><th>Kommentar</th><th>Aktionen</th></tr></thead>
|
|
<tbody>
|
|
{% for share in shares %}
|
|
<tr id="samba-{{ share.name }}">
|
|
<td><strong>{{ share.name }}</strong></td>
|
|
<td style="font-family:monospace;font-size:0.85rem">{{ share.path }}</td>
|
|
<td>{{ share.comment }}</td>
|
|
<td>
|
|
<button class="outline secondary"
|
|
hx-delete="/api/shares/samba/{{ share.name }}"
|
|
hx-confirm="Share '{{ share.name }}' löschen?"
|
|
hx-target="#samba-{{ share.name }}"
|
|
hx-swap="outerHTML">Löschen</button>
|
|
</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
</table>
|
|
{% endif %}
|