diff --git a/templates/route.html b/templates/route.html index 4e11ecc..fa9856e 100644 --- a/templates/route.html +++ b/templates/route.html @@ -3,7 +3,7 @@ {% for host in detail %}

{{host}}: {{command}} - View the BGP map + View the BGP map

{% if session.request_args != expression|replace("/32","")|replace("/128","") %} DNS: {{session.request_args}} => {{expression|replace("/32","")|replace("/128","")}}
diff --git a/templates/summary.html b/templates/summary.html index 0f1acf0..9731fc3 100644 --- a/templates/summary.html +++ b/templates/summary.html @@ -9,7 +9,7 @@ {% for row in summary[host] %} - {{row.name}} + {{row.name}} {{row.proto}} {{row.state}} {{row.since}} diff --git a/templates/traceroute.html b/templates/traceroute.html index f089426..1833bdc 100644 --- a/templates/traceroute.html +++ b/templates/traceroute.html @@ -1,7 +1,7 @@ {% extends "layout.html" %} {% block body %} {% for host in infos %} -

{{host}}/{{session.proto}}: traceroute {{session.request_args}}


+

{{host}}{% if not config.UNIFIED_DAEMON %}/{{session.proto}}{% endif %}: traceroute {{session.request_args}}


{% if infos[host]|trim %}
{{infos[host]|trim|safe}}
{% endif %}