diff --git a/templates/layout.html b/templates/layout.html index b7f0a54..b2fcbdc 100644 --- a/templates/layout.html +++ b/templates/layout.html @@ -76,7 +76,7 @@
{% for hosts, proto, request_type, request_args in session.history %} + href="/{{ [request_type, hosts]|join("/") }}{% if not config.UNIFIED_DAEMON %}/{{proto}}{% endif %}{% if request_args %}?q={{request_args|urlencode}}{% endif %}"> {{hosts}}{% if not config.UNIFIED_DAEMON %}/{{proto}}{% endif %}: {{ commands_dict[request_type]|replace("...", request_args) }} diff --git a/templates/route.html b/templates/route.html index fa9856e..868c8de 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","")}}