From 28c4d5fb5420189b77878e6c0b690b2834f1b099 Mon Sep 17 00:00:00 2001 From: yves Date: Wed, 22 May 2013 17:54:42 +0200 Subject: host: add a service tab --- templates/host.html | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/templates/host.html b/templates/host.html index f862e27..438bc18 100644 --- a/templates/host.html +++ b/templates/host.html @@ -9,6 +9,7 @@
  • Info
  • Ports
  • Interfaces
  • +
  • Services
  • back to index
  • @@ -85,6 +86,36 @@ + + {% if services is defined %} +
    + + + + + + + + + + {% for service_category in services %} + {% if services[service_category] %} + {% for service in services[service_category] %} + + + + + + {% endfor %} + {% endif %} + {% else %} + + {% endfor %} + +
    NamePortVisibility
    {{service}}default{{service_category}}
    no services provoided
    +
    + {% endif %} +