{% extends "base.html" %} {% block title %}Dashboard — Dockhand Backup{% endblock %} {% macro status_badge(status) %} {% set cls = { 'running': 'bg-emerald-500/20 text-emerald-300', 'stopped': 'bg-slate-500/20 text-slate-300', 'partial': 'bg-amber-500/20 text-amber-300', 'created': 'bg-sky-500/20 text-sky-300', }.get(status, 'bg-slate-700/40 text-slate-400') %} {{ status }} {% endmacro %} {% block content %}

Stacks ({{ stacks|length }})

Dockhand: {{ dockhand_mode }} · Nächster Lauf: {{ next_run.strftime('%Y-%m-%d %H:%M %Z') if next_run else 'deaktiviert' }}

{% if new_stacks %}
Neue Stacks erkannt: {{ new_stacks|join(', ') }} — werden beim nächsten Lauf automatisch übernommen.
{% endif %}
{% for s in stacks %}
{{ s.name }}
{{ status_badge(s.status) }} {% if not s.enabled %}ausgeschlossen{% endif %}
{% if s.bind_total %}{{ s.bind_active }}/{{ s.bind_total }} Binds aktiv{% endif %} {% if s.extra_paths %}{% if s.bind_total %} · {% endif %}{{ s.extra_paths|length }} Extra{% endif %}
Letztes Backup: {% if s.last %} {{ s.last.ts|short_ts }} {{ s.last.status }} ({{ s.last.size|human_size }}) {% else %}nie{% endif %}
{% else %}

Noch keine Stacks. „Neue übernehmen" klicken oder auf den nächsten Lauf warten.

{% endfor %}
{% endblock %}