add linkable anchors to host names #2

Merged
sophie merged 1 commit from kunsi-heading-links into main 2021-01-02 13:41:29 +00:00
2 changed files with 9 additions and 9 deletions

View file

@ -112,8 +112,8 @@ def render_services_per_host(host, data):
services_template = """ services_template = """
<li class="list-group-item d-flex justify-content-between align-items-center"> <li class="list-group-item d-flex justify-content-between align-items-center">
{} <a href="#{0}">{0}</a>
<span class="badge badge-{}">{}</span> <span class="badge badge-{1}">{2}</span>
</li> </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>""" 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>"""