1
0
Fork 0
mirror of https://github.com/sileht/bird-lg.git synced 2024-11-22 06:54:43 +01:00
bird-lg/templates/route.html
Mehdi Abaakouk 53e48a4076 Improve UI
2012-01-20 16:50:58 +01:00

15 lines
502 B
HTML

{% extends "layout.html" %}
{% block body %}
{% for host in detail %}
<div class="detail">
<h2>{{host}}/{{session.proto}}: {{command}}</h2>
{% if session.request_args != expression %}
DNS: <a href="/whois/{{session.request_args}}" class="whois">{{session.request_args}}</a> => <a href="/whois/{{ expression|replace("/32","")|replace("/128","") }}" class="whois">{{expression|replace("/32","")|replace("/128","")}}</a>
{% endif %}
<pre>
{{ detail[host]|safe }}
</pre>
</div>
{% endfor %}
{% endblock %}