{% extends 'generic/_base.html' %} {% load helpers %} {% load i18n %} {% block title %}{% trans "Prefix Tree" %}{% endblock %} {% block tabs %} {% endblock tabs %} {% block content %} {# Tree tab #}
{# Applied filters summary #} {% if filter_form %} {% applied_filters model filter_form request.GET %} {% endif %} {# Quick search + saved filter controls #}
{% if filter_form %}
{{ filter_form.filter_id }}
{% endif %}
{# Two-pane layout #}
{# Left pane: prefix tree #}
{% trans "Prefix Tree" %}
{% if root_rows %} {% include 'netbox_folderview/inc/prefix/tree_node.html' with children=root_rows depth=0 filter_params=filter_params %} {% else %}

{% trans "No prefixes found." %}

{% endif %}
{# Right pane: IP addresses #}

{% trans "Select a prefix to view its IP addresses." %}

{# /Tree tab #} {# Filters tab #} {% if filter_form %}
{% include 'inc/filter_list.html' %}
{% endif %} {# /Filters tab #} {% endblock content %} {% block modals %}{% endblock modals %} {% block javascript %} {% endblock javascript %}