{# Partial: main dashboard counter cards. Used by: - dashboard/index.html (full page) - /dashboard/stats endpoint (HTMX live polling) Context: - stats: dict with total_users, active_sessions, total_roles, total_assignments - live: bool — when True, the wrapping div polls /dashboard/stats #}
Total Users
{{ stats.total_users }}
Active Sessions
{{ stats.active_sessions }}
Total Roles
{{ stats.total_roles }}
Role Assignments
{{ stats.total_assignments }}