{% extends 'base.html' %} {% load static %} {% block title %}Dashboard - Stream Processor{% endblock %} {% block extra_css %} {% endblock %} {% block page_title %}
Dashboard
{% endblock %} {% block content %}

System Dashboard

Monitor your streaming infrastructure and performance

Active Streams

{{ stats.active_streams }}

View sessions →

Total Channels

{{ stats.total_channels }}

Manage channels →

Detections Today

{{ stats.detections_today }}

View detections →

Ad Breaks Today

{{ stats.ad_breaks_today }}

View ad breaks →

Recent Detections

Auto-refresh
{% if recent_detections %}
{% for detection in recent_detections %}

{{ detection.jingle.name }}

{{ detection.channel.name }} • {{ detection.detected_at|timesince }} ago

{{ detection.confidence|floatformat:1 }}%
{% endfor %}
{% else %}

No recent detections

{% endif %}

Active Streams

Auto-refresh
{% if active_sessions %}
{% for session in active_sessions %}

{{ session.channel.name }}

{% if session.started_at %} Started {{ session.started_at|timesince }} ago {% else %} Starting... {% endif %}

{% if session.status == 'active' %} Active {% elif session.status == 'processing' %} Processing {% else %} {{ session.status|title }} {% endif %}
{% endfor %}
{% else %}

No active streams

{% endif %}

Quick Actions

Common tasks and shortcuts

{% endblock %} {% block extra_js %} {% if user.is_authenticated %} {% else %} {% endif %} {% if messages %} {% for message in messages %} {% if message.tags == 'error' %} {% elif message.tags == 'success' %} {% elif message.tags == 'info' %} {% elif message.tags == 'warning' %} {% endif %} {% endfor %} {% endif %} {% endblock %}