aboutsummaryrefslogtreecommitdiffstats
path: root/templates/base.html
diff options
context:
space:
mode:
authorficus <ficus@robocracy.org>2012-09-15 19:46:49 +0200
committerficus <ficus@robocracy.org>2012-09-15 19:46:49 +0200
commit42725426ec02d359b67cd8d665afe17882d38958 (patch)
tree148c4082998f7d0b82ec4f22515d7626fca6a0e7 /templates/base.html
parenta304d7a56563b16ca98d9b45ebed521c52f6347c (diff)
downloadtui-42725426ec02d359b67cd8d665afe17882d38958.tar.gz
tui-42725426ec02d359b67cd8d665afe17882d38958.zip
more WIP
Diffstat (limited to 'templates/base.html')
-rw-r--r--templates/base.html12
1 files changed, 5 insertions, 7 deletions
diff --git a/templates/base.html b/templates/base.html
index a2c1407..4c15c73 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -37,13 +37,12 @@
<li {% if path == request.path %}class="active"{% endif %}><a href="{{path}}">{{name}}</a></li>
{%- endmacro %}
{{ pagelink("/", "Status") }}
- {{ pagelink("/admin/", "Administration") }}
{{ pagelink("/reboot/", "Reboot...") }}
<li class="nav-header">Configuration</li>
- {{ pagelink("/wan/", "Upstream") }}
- {{ pagelink("/lan/", "Local") }}
- {{ pagelink("/wireless/", "Wireless") }}
- {{ pagelink("/tor/", "Tor") }}
+ {{ pagelink("/wan/", "Upstream Ethernet") }}
+ {{ pagelink("/lan/", "Local Ethernet") }}
+ {{ pagelink("/wifi/", "WiFi") }}
+ {{ pagelink("/tor/", "Tor Network") }}
<li class="nav-header">Monitoring</li>
{{ pagelink("/logs/", "Logs") }}
{{ pagelink("/processes/", "Processes") }}
@@ -51,8 +50,8 @@
</div><!--/.well -->
</div><!--/span-->
<div class="span9">
- {% with messages = get_flashed_messages(with_categories=true) %}
{% if messages %}
+ {{ mesages }}
{% for category, message in messages %}
<div class="alert alert-{{ category }}">
<button type="button" class="close" data-dismiss="alert">×</button>
@@ -63,7 +62,6 @@
</div>
{% endfor %}
{% endif %}
- {% endwith %}
{% block body %}{% endblock %}
</div><!--/span-->
</div><!--/row-->