{% extends "base.html" %} {% set page_title = t('nav_dashboard') %} {% block page_subtitle %}
{%- if stats.online_servers > 0 -%} {{ stats.online_servers }} {{ t('online') | lower }} {%- else -%} {{ t('proxmox_servers') }}: {{ stats.total_servers }} {%- endif %}
{% endblock %} {% block header_status %}
{%- if stats.total_alerts == 0 -%} All systems operational {%- elif stats.critical_alerts > 0 -%} {{ stats.critical_alerts }} critical alert{{ 's' if stats.critical_alerts != 1 else '' }} {%- else -%} {{ stats.total_alerts }} warning{{ 's' if stats.total_alerts != 1 else '' }} {%- endif -%}
{% endblock %} {% block content %}
Nodes
{{ stats.total_servers }}
{%- if stats.online_servers == stats.total_servers and stats.total_servers > 0 -%} All online {%- elif stats.online_servers > 0 -%} {{ stats.online_servers }} online {%- else -%} — {%- endif -%}
VMs
—
loading…
Containers
—
loading…
Clusters
{{ stats.total_clusters }}
{%- if stats.total_alerts == 0 -%}All healthy{%- else -%}—{%- endif -%}
Alerts
{{ stats.total_alerts }}
{%- if stats.critical_alerts > 0 -%} {{ stats.critical_alerts }} critical {%- elif stats.total_alerts > 0 -%} last 24h {%- else -%} No alerts {%- endif -%}
CPU Usage —
RAM Usage —
Storage —
Virtual Machines
View all →
Name Node CPU RAM Status
Loading…
Nodes
Loading…
Recent Audit Events View all →
{% if recent_audit %} {% for entry in recent_audit %}
{{ entry.created_at.strftime('%H:%M:%S') if entry.created_at else '—' }} {{ entry.username or '—' }} {{ entry.action or '—' }} {{ entry.resource_name or '—' }}
{% endfor %} {% else %}
No audit events found
{% endif %}
{% endblock %}