{% extends load_base %} {% load i18n %} {% load gui_utils %} {% block javascript %} {% endblock %} {% block base_content %} {% if can_edit %} {% endif %} {% if is_staff %} {% endif %}
{{ request.dc.alias }} {% trans "Networks" %}
{% if can_edit %} {% endif %} {% if networks %} {% if all %} {% else %} {% endif %} {% endif %} {% for net in networks %} {% if all %} {% else %} {% endif %} {% endfor %}
{% include "gui/dc/dc_deleted_toggle.html" %} {% if is_staff %}{% include "gui/dc/dc_all_toggle.html" %}{% endif %}
{% trans "Alias (name)" %} {% trans "Access" %} {% trans "Owner" %} {% trans "DC bound?" %} {% trans "Subnet" %} {% trans "Gateway" %} {% trans "VLAN" %} {% trans "Free IPs" %}{% trans "Datacenters" %}{% trans "Description" %}
{% if is_staff or can_edit and net.dc_bound %}{% if all and net.pk in can_add %} {{ net.alias }} {% else %} {{ net.alias }} {% endif %} {% else %}{{ net.alias }}{% endif %} ({{ net.name }}) {{ net.get_access_display }} {{ net.owner|truncatechars:16 }} {{ net.network|cidr:net.netmask }}{% if net.dhcp_passthrough %} {% endif %} {{ net.gateway }} {{ net.vlan_id }} {{ net.ips_free }}{{ net.dc.all|dcify }}{{ net.desc|wordwrap:44 }}
{% trans "Total" %}: {{ networks|length }}  {% if can_edit %} {% endif %}
{% endblock %}