{% extends "base.html" %} {% block title %}Zones - Vacuum Wall{% endblock %} {% block content %}
{% for zone in (zones or []) %}

{{ zone.get('name', 'unnamed') }}

{% if zone.get('target') %}Target: {{ zone.target }}{% endif %}
Interfaces
{% if zone.get('interfaces') %} {% for iface in zone.interfaces %} {{ iface }} {% endfor %} {% else %} None {% endif %}
Services
{% if zone.get('services') %} {% for svc in zone.services %} {{ svc }} {% endfor %} {% else %} None {% endif %}
{% endfor %} {% if not (zones or []) %}
No zones configured. Create a zone to get started.
{% endif %}
{% endblock %}