add linkable anchors to host names

This commit is contained in:
Franzi 2021-01-02 14:36:46 +01:00
parent 62e0451d5b
commit f2b2aaa862
Signed by untrusted user: kunsi
GPG key ID: 12E3D2136B818350
2 changed files with 9 additions and 9 deletions

View file

@ -112,8 +112,8 @@ def render_services_per_host(host, data):
services_template = """
<li class="list-group-item d-flex justify-content-between align-items-center">
{}
<span class="badge badge-{}">{}</span>
<a href="#{0}">{0}</a>
<span class="badge badge-{1}">{2}</span>
</li>
"""
services_hostname_template = """<div class="card-header d-flex justify-content-between align-items-center"><h4>{}</h4> <span class="badge badge-success">OK</span></div>"""