aboutsummaryrefslogtreecommitdiffstats
path: root/torouterui/templates/base.html
diff options
context:
space:
mode:
authorficus <ficus@robocracy.org>2012-11-23 23:13:04 +0100
committerficus <ficus@robocracy.org>2012-11-23 23:13:04 +0100
commitef89083295c28b1d8b15ff3dcd9a11d8c1595dea (patch)
treee4e5a822fc2c515cce83609203f214b04c4a5f96 /torouterui/templates/base.html
parent7bca5bd6c727fb006f0b066f9c0760c91eae921c (diff)
downloadtui-ef89083295c28b1d8b15ff3dcd9a11d8c1595dea.tar.gz
tui-ef89083295c28b1d8b15ff3dcd9a11d8c1595dea.zip
add about page, include version number
Diffstat (limited to 'torouterui/templates/base.html')
-rw-r--r--torouterui/templates/base.html5
1 files changed, 3 insertions, 2 deletions
diff --git a/torouterui/templates/base.html b/torouterui/templates/base.html
index 4c15c73..bf926c3 100644
--- a/torouterui/templates/base.html
+++ b/torouterui/templates/base.html
@@ -21,7 +21,7 @@
<a class="brand" href="#">torouter</a>
<div class="nav-collapse collapse">
<p class="navbar-text pull-right">
- version 0.0
+ version {{ config.TOROUTERVERSION or "?.?.?" }}
</p>
</div><!--/.nav-collapse -->
</div>
@@ -36,7 +36,8 @@
{% macro pagelink(path, name) -%}
<li {% if path == request.path %}class="active"{% endif %}><a href="{{path}}">{{name}}</a></li>
{%- endmacro %}
- {{ pagelink("/", "Status") }}
+ {{ pagelink("/", "System Status") }}
+ {{ pagelink("/about/", "About Project") }}
{{ pagelink("/reboot/", "Reboot...") }}
<li class="nav-header">Configuration</li>
{{ pagelink("/wan/", "Upstream Ethernet") }}