{% extends base_template %} {% import "components/cards.html" as cards %} {% block title %}Dashboard - {{ admin_title }}{% endblock %} {% block content %}
{# Futuristic Hero Header - Green Matrix Aesthetic #}
{# Animated gradient background #}
{# Green glow spill effect #}
System Active

Dashboard

{{ admin_title }} Control Center for teams who want admin work to feel fast, cinematic, and unusually sharp.

/ Search from any list N Create from list screens
{# Live metrics badge #}
Current loadout
{{ registered_models|length }} registered modules
Matrix online
{# Sleek KPI Cards - Terminal Aesthetic #}
{% for kpi in kpis %}
{# Green glow on hover #}
{# Corner accent #}

{{ kpi.label }}

{{ kpi.value }}

{% if kpi.icon == "users" %} {% elif kpi.icon == "database" %} {% elif kpi.icon == "activity" %} {% else %} {% endif %}
{% if kpi.change %}
{{ '+' if kpi.change > 0 else '' }}{{ kpi.change }}%
30d
{% endif %}
{% endfor %}
{#

SYSTEM INTEGRITY

{{ system_stats.platform }}
CPU LOAD {{ system_stats.cpu_usage }}%
MEMORY ({{ system_stats.ram_total }}) {{ system_stats.ram_usage }}%
STORAGE INTEGRITY {{ system_stats.disk_usage }}%

SYSTEM BOOT TIME

{{ system_stats.boot_time }}
OPERATIONAL
{# Activity Chart #}

ACTIVITY STREAM

Live
{# Model Distribution Chart #}

DATA DISTRIBUTION

{{ chart_data.model_values | sum if chart_data.model_values else 0 }} RECORDS
{# Quick Actions - Command Line Style #}

QUICK DEPLOY

{% for model_name in registered_models[:6] %} {% endfor %}
{# Registered Models Grid - Data Matrix Style #}

REGISTERED MODULES

{{ registered_models|length }}
{% for model_name in registered_models %}
{{ model_name }}
{% endfor %}
{# Recent Activity Feed - If Available #} {% if recent_activity %}

SYSTEM LOG

{% for activity in recent_activity %}
{% if activity.action == 'create' %} {% elif activity.action == 'update' %} {% else %} {% endif %}

{{ activity.username or "SYSTEM" }} > {{ activity.action|upper }} > {{ activity.model_name }}

{{ activity.created_at }}

{% endfor %}
{% endif %}
{# Chart.js from CDN #} {% endblock %}