summaryrefslogtreecommitdiffstats
path: root/templates/host.html
diff options
context:
space:
mode:
authorroot <root@vm-staticweb.spline.inf.fu-berlin.de>2013-09-26 11:01:14 +0200
committerroot <root@vm-staticweb.spline.inf.fu-berlin.de>2013-09-26 11:01:14 +0200
commit33fa0c460e35619f2b196e9cb01de28fca6c9c2e (patch)
treed62206d7355cee5a2a2221efe63c6c4f2c55d96b /templates/host.html
parent51166271ff79acb2f15f6060505f65de688adf9d (diff)
parente41fa2d271bd13275a5d49a1dd68028d298b964b (diff)
downloadwww-master.tar.gz
www-master.tar.bz2
www-master.zip
Merge branch 'master' of ssh://git.spline.de/hostinfo-wwwHEADmaster
Diffstat (limited to 'templates/host.html')
-rw-r--r--templates/host.html6
1 files changed, 6 insertions, 0 deletions
diff --git a/templates/host.html b/templates/host.html
index 9fa1b82..4eabea9 100644
--- a/templates/host.html
+++ b/templates/host.html
@@ -7,9 +7,15 @@
<ul class="nav nav-tabs">
<li class="active"><a href="#info" data-toggle="tab">Info</a></li>
+ {% if ports is iterable %}
<li><a href="#ports" data-toggle="tab">Ports</a></li>
+ {% endif %}
+ {% if interfaces is iterable %}
<li><a href="#interfaces" data-toggle="tab">Interfaces</a></li>
+ {% endif %}
+ {% if services is defined %}
<li><a href="#services" data-toggle="tab">Services</a></li>
+ {% endif %}
<li class="pull-right"><a id="index" href="index.html">back to index</a></li>
</ul>