From 596bf8f6827fdee34846af6a072f28d709069137 Mon Sep 17 00:00:00 2001 From: Sophie Schiller Date: Sat, 2 Jan 2021 14:55:04 +0100 Subject: [PATCH] set ids for intra-page-links --- service.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/service.py b/service.py index 3850821..b4513f0 100755 --- a/service.py +++ b/service.py @@ -55,7 +55,11 @@ def render_services_per_host(host, data): {} """ - services_hostname_template = """

{0}

{2}
""" + services_hostname_template = """ +
+

{0}

+ {2} +
""" for service in sorted(data['services']['results'], key=lambda x: x['attrs']['display_name']): if service['attrs']['host_name'] == host: