{% extends "admin/base_site.html" %} {% load static %} {% block title %}Micboard Admin Dashboard{% endblock %} {% block extrahead %} {% endblock %} {% block content %}
{% if efis_alert.outdated %}
⚠️ Regulatory Data Outdated
The frequency compliance database hasn't been updated in over 30 days. {% if efis_alert.last_update %} (Last update: {{ efis_alert.last_update|date:"Y-m-d" }}) {% else %} (Never updated) {% endif %}
Resources: APWPT | Regulatory Handout (Sept 2025)
Update Now
{% endif %}

System Health

{{ system_health.status|upper }}
Online Devices
{{ system_health.online_devices }} / {{ system_health.total_devices }}
Online %
{{ system_health.online_percentage }}%
{{ system_health.online_percentage }}%

Receivers

Total
{{ receiver_stats.total }}
Online
{{ receiver_stats.online }}
Offline
{{ receiver_stats.offline }}

Transmitters

Total
{{ transmitter_stats.total }}
Online
{{ transmitter_stats.online }}
Offline
{{ transmitter_stats.offline }}

Channels

Total
{{ channel_stats.total }}
Active
{{ channel_stats.active }}

Manufacturer Status

{% for mfg in manufacturer_stats %}

{{ mfg.name }}

Status {{ mfg.service_status|upper }}
Receivers {{ mfg.online_receivers }} / {{ mfg.receiver_count }}
Transmitters {{ mfg.online_transmitters }} / {{ mfg.transmitter_count }}
Last Poll {% if mfg.last_poll %} {{ mfg.last_poll|slice:":16" }} {% else %} Never {% endif %}
{% if mfg.error_count > 0 %}
Errors {{ mfg.error_count }}
{% endif %}
{% endfor %}

Recent Activity

Latest Activities

{% for activity in recent_activities %}
{{ activity.summary }}
{{ activity.user }} • {{ activity.created_at|slice:":19" }} {{ activity.status|upper }}
{% empty %}
No recent activities
{% endfor %}

Latest Syncs

{% for sync in recent_syncs %}
{{ sync.service }} - {{ sync.sync_type }}
{{ sync.status|upper }} {{ sync.device_count }} devices • {{ sync.duration }}s • {{ sync.started_at|slice:":19" }}
{% empty %}
No recent syncs
{% endfor %}
Last updated: {{ timestamp|slice:":19" }}
{% endblock %}