{% extends "admin_base.html" %} {% import "macros/admin_management_header.html" as mh %} {% block page_title %}Admin Dashboard - QR Magic{% endblock %} {% block extra_head %} {% endblock %} {% block admin_content %}
{{ mh::management_header_simple(title="QR Magic: Global Analytics", subtitle="Monitoring QR generation and tracking activity across the platform.", include_actions_column=false) }}
QR Platform Metrics
{{ metrics.total_users | default(value=0) }}
Total Users
{{ metrics.total_qrs | default(value=0) }}
Total QR Codes
{{ metrics.total_scans | default(value=0) }}
Total Scans Tracking
Recently Created QR Codes
{% for qr in metrics.recent_qrs %}
{{ qr.name | default(value="Untitled") }} • {{ qr.qr_type | upper | default(value="URL") }}
{{ qr.created_at | date_in_tz(timezone=timezone | default(value=settings.timezone)) }}
View
{% else %}

No recently created QR codes found.

{% endfor %}
{% endblock %} {% block scripts %} {% endblock %}