diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/host.html | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/templates/host.html b/templates/host.html index bf30fd2..f16e4d6 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> |