From 5a85a854363cc4cf9079327f0118b798da998843 Mon Sep 17 00:00:00 2001 From: Arthur Date: Mon, 6 May 2024 11:17:04 -0700 Subject: [PATCH] update templates for NB4 --- .../healthcheck.html | 111 +++++++++++------- 1 file changed, 70 insertions(+), 41 deletions(-) diff --git a/netbox_healthcheck_plugin/templates/netbox_healthcheck_plugin/healthcheck.html b/netbox_healthcheck_plugin/templates/netbox_healthcheck_plugin/healthcheck.html index 332f2b4..5497cfa 100644 --- a/netbox_healthcheck_plugin/templates/netbox_healthcheck_plugin/healthcheck.html +++ b/netbox_healthcheck_plugin/templates/netbox_healthcheck_plugin/healthcheck.html @@ -1,22 +1,53 @@ - {% extends 'base/layout.html' %} {% block head %} {% endblock head %} -{% block title %}Health Checks{% endblock %} +{% block header %} + +{% endblock header %} -{% block content-wrapper %} +{% block content %}
{# Object list #} @@ -27,38 +58,36 @@
NetBox HealthCheck Plugin
-
- - - - - - - - {% for plugin in plugins %} - - - - - - - {% endfor %} - -
ServiceStatusTime Taken
- - {{ plugin.identifier }}{{ plugin.pretty_status | linebreaks }}{{ plugin.time_taken|floatformat:4 }} seconds
-
+ + + + + + + + {% for plugin in plugins %} + + + + + + + {% endfor %} + +
ServiceStatusTime Taken
+ + {{ plugin.identifier }}{{ plugin.pretty_status | linebreaks }}{{ plugin.time_taken|floatformat:4 }} seconds
+
- {% include 'inc/panels/custom_fields.html' %} -{% endblock content-wrapper %} +{% endblock content %}