{% extends load_base %} {% load i18n %} {% load gui_utils %} {% block javascript %} {% endblock %} {% block base_content %} {% if can_edit %}
{% endif %} {% if is_staff %} {% endif %}
{% 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" %} | {% if all %}{% trans "Datacenters" %} | {% else %}{% trans "Description" %} | {% endif %}
{% if is_staff or can_edit and net.dc_bound %} {% if all and net.pk in can_add %} {{ net.alias }} ({{ net.name }}) {% trans "Edit" %} {% else %} {{ net.alias }} ({{ net.name }}) {% trans "Edit" %} {% endif %} {% else %} {{ net.alias }} ({{ net.name }}) {% endif %} | {{ 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 }} | {% if all %}{{ net.dc.all|dcify }} | {% else %}{{ net.desc|wordwrap:44 }} | {% endif %}|
{% trans "Total" %}: {{ networks|length }}
{% if can_edit %}
{% if is_staff %}
{% trans "Attach Network" %}
{% endif %}
{% trans "Add Network" %}
{% endif %}
|