{% extends "sidebar.html" %} {% block title %}AstraOS — Hybrid Dashboard{% endblock %} {% block head %} {% endblock %} {% block content %}

Dashboard

🚀 Willkommen bei AstraOS!

AstraOS ist da! Wir haben alles von Grund auf neu gebaut, damit du deine Systeme noch intuitiver und effizienter verwalten kannst. Wir hoffen, dir gefallen das neue Design und die vielen praktischen Funktionen.

Aktive Benutzer

{{ stats.active_users.value }}

{% set pct = stats.active_users.percent %} {% if pct is not none %} {{ '+' if pct>=0 else '' }}{{ pct }}% seit letzter Woche {% else %} - {% endif %}

Server-Auslastung

{{ stats.server_load.percent }}%

{{ stats.server_load.status }}

Offene Tickets

{{ stats.open_tickets.count }}

Keine offenen Anfragen

Systemstatus

{% set status = stats.system_status.status %}

{{ status }}

{% if 'wartung' in status.lower() or 'systeme im wartungsmodus' in status.lower() %} Systeme im Wartungsmodus {% elif 'online' in status.lower() %} Alle Systeme funktionsfähig {% else %} Teilweise oder komplett offline {% endif %}

Geplante Wartung

{% set maint = stats.scheduled_maintenance %} {% if maint and maint.enabled %}

Aktiv

{{ maint.status if maint.status else 'Wartungsarbeiten laufen' }}

{% elif maint and maint.time_str %}

{{ maint.time_str }}

{{ maint.status if maint and maint.status else 'Geplant' }} {% if maint and maint.duration_minutes %}— Dauer: {{ maint.duration_minutes }} Min.{% endif %}

{% else %}

Keine geplant

Alle Systeme sind betriebsbereit.

{% endif %}

Letzte Benutzererstellung

{% set last = stats.last_user_created %}

{{ last.time_str if last and last.time_str else 'Keine Daten' }}

Durch: {{ last.by if last and last.by else 'N/A' }}

{% endblock %}