Commit c17729d8 by Őry Máté

network: update menu bar

* Add vlan link
* Fix host link
* Fix index link
parent 91d35ea6
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
<div class="navbar navbar-inverse navbar-fixed-top"> <div class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-inner"> <div class="navbar-inner">
<div class="container"> <div class="container">
<a class="brand" href="#">CIRCLE Network</a> <a class="brand" href="{% url network.index %}">CIRCLE Network</a>
<div class="nav-collapse collapse"> <div class="nav-collapse collapse">
<ul class="nav"> <ul class="nav">
{% include "network/menu.html" %} {% include "network/menu.html" %}
......
{% load i18n %} {% load i18n %}
{% load l10n %} {% load l10n %}
{% url network.index as u %} {% url network.host_list as u %}
{% include "network/menu-item.html" with href=u text="Firewall rules" %} {% include "network/menu-item.html" with href=u text="Hosts" %}
{% url network.vlan_list as u %}
{% include "network/menu-item.html" with href=u text="Vlans" %}
{# <li><a href="/vlans/">{% trans "Vlans" %}</a></li> #} {# <li><a href="/vlans/">{% trans "Vlans" %}</a></li> #}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment