menu.html 1.47 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
{% load i18n %}
{% load l10n %}

{% url "network.host_list" as u %}
{% trans "Hosts" as t %}
{% include "network/menu-item.html" with href=u text=t %}
{% url "network.vlan_list" as u %}
{% trans "Vlans" as t %}
{% include "network/menu-item.html" with href=u text=t %}
{% url "network.domain_list" as u %}
{% trans "Domains" as t %}
{% include "network/menu-item.html" with href=u text=t %}
{% url "network.record_list" as u %}
{% trans "Records" as t %}
{% include "network/menu-item.html" with href=u text=t %}
{% url "network.blacklist_list" as u %}
17
{% trans "Blacklist" as t %}
18 19 20 21
{% include "network/menu-item.html" with href=u text=t %}
{% url "network.rule_list" as u %}
{% trans "Rules" as t %}
{% include "network/menu-item.html" with href=u text=t %}
22 23 24
{% url "network.switch_port_list" as u %}
{% trans "Switch ports" as t %}
{% include "network/menu-item.html" with href=u text=t %}
Kálmán Viktor committed
25 26 27
{% url "network.firewall_list" as u %}
{% trans "Firewalls" as t %}
{% include "network/menu-item.html" with href=u text=t %}
28 29

<li class="dropdown{% if "groups" in request.path %} active{% endif %}">
Kálmán Viktor committed
30 31 32 33 34
  <a href="#" class="dropdown-toggle" data-toggle="dropdown">Groups <b class="caret"></b></a>
  <ul class="dropdown-menu">
    {% url "network.vlan_group_list" as u %}
    {% trans "Vlan groups" as t %}
    {% include "network/menu-item.html" with href=u text=t %}
35

Kálmán Viktor committed
36 37 38 39
    {% url "network.group_list" as u %}
    {% trans "Host groups" as t %}
    {% include "network/menu-item.html" with href=u text=t %}
  </ul>
40
</li>