{% extends "base.html" %} {% load static %} {% load humanize %} {# For intcomma if needed, though not used in current stat fields #} {% block title %} {{ block.super }} - {{ page_title }}{% endblock %} {% block content %}
{# Page Title - Plain like unprofitable_channels.html #}

{{ page_title }}

Displaying data for the current month. Timeframe selection is fixed to optimize performance.

{# Filter Form - Placed directly under the title #}
{# Added padding-small for a bit of spacing #}
{# Added an ID to the form for easier reset handling #} Reset {{ edit_start }} {{ edit_end }}
{% if peer_stats %}
{# Table styling to match unprofitable_channels.html more closely #} {# Retaining w3-centered for data, headers will follow if not overridden by th specific styles #} {% for peer in peer_stats %} {% endfor %}
Alias Current Status AVG Offline Hours SUM Offline Hours Offline Count
{# Added data-alias for easier JS access #} {{ peer.channel_alias }} {# Added data-status #} {% if peer.currently_offline %} {% else %} {% endif %} {{ peer.avg_offline_hours | floatformat:2 }} {{ peer.total_offline_hours | floatformat:2 }} {{ peer.offline_count }}
{% else %}

No peer offline data found for the selected criteria.

{% endif %}
{# Footer styling like unprofitable_channels's explanation box #} Data based on peer connection events for the current month (Month to Date). Default sort by SUM Offline Hours (descending). Click headers to re-sort.
{% endblock %}