{% extends 'base/layout.html' %} {% load static %} {% load i18n %} {% block title %}Network Map{% endblock %} {% block content %}

Network Map

{# ── Toolbar ─────────────────────────────────────────────────────────────── #}
{# Object counts — updated by JS after client-side filtering #} {{ total_sites }}{% if sites_truncated %}+{% endif %}/{{ total_sites }} sites  ·  {{ total_segments }}{% if segments_truncated %}+{% endif %}/{{ total_segments }} segments  ·  {{ total_circuits }}{% if circuits_truncated %}+{% endif %}/{{ total_circuits }} circuits {# Segment colour scheme #} {# Circuit colour scheme #} {# Site colour scheme #} {# Legend #}
{# Visibility toggles #}
{# Fit all #} {# Tile layer picker (reused include) #} {% include './inc/map_layer_dropdown.html' %} {# Filter panel toggle — badge shows active filter count #}
{# ── Active filter chips ───────────────────────────────────────────────────── #} {# ── Map ──────────────────────────────────────────────────────────────────── #} {% if sites_truncated or segments_truncated or circuits_truncated %} {% endif %}
{% include './inc/leaflet_includes.html' %} {% include './inc/map_layers_styles.html' %} {# Data blob — read by object_map.js #} {% include './inc/map_layers_config.html' %} {# ── Filter offcanvas ─────────────────────────────────────────────────────── #}
Filters
{# No form submit — all filtering is done client-side in JS on change #}
{# ── Spatial (shared) ──────────────────────────── #}
Location
{{ filter_form.region_id }}
{{ filter_form.site_group_id }}
{{ filter_form.at_any_site }}
{# ── Sites ─────────────────────────────────────── #}

Sites
Status
{% for value, label, color in site_status_choices %} {% endfor %}
{{ filter_form.site_tenant_id }}
{# ── Segments ──────────────────────────────────── #}

Segments
Status
{% for value, label, color in segment_status_choices %} {% endfor %}
Type
{% for value, label, color in segment_type_choices %} {% endfor %}
{{ filter_form.segment_provider_id }}
{# ── Circuits ──────────────────────────────────── #}

Circuits
Status
{% for value, label, color in circuit_status_choices %} {% endfor %}
{{ filter_form.circuit_type_id }}
{{ filter_form.circuit_provider_id }}
{% endblock content %}