From 8011a1d9d47da6fe18e20ea5a04ca2966aca2ed7 Mon Sep 17 00:00:00 2001 From: Michal Fiedorowicz Date: Wed, 18 Sep 2024 10:48:38 +0100 Subject: [PATCH] add ingestion metrics Signed-off-by: Michal Fiedorowicz --- .../templates/diode/ingestion_logs.html | 140 ++++++++++++++++-- 1 file changed, 130 insertions(+), 10 deletions(-) diff --git a/netbox_diode_plugin/templates/diode/ingestion_logs.html b/netbox_diode_plugin/templates/diode/ingestion_logs.html index 95961fe..ba06ac2 100644 --- a/netbox_diode_plugin/templates/diode/ingestion_logs.html +++ b/netbox_diode_plugin/templates/diode/ingestion_logs.html @@ -6,32 +6,152 @@ {% block title %}{% trans "Ingestion Logs" %}{% endblock %} -{% block content %} +{% block tabs %} + +{% endblock tabs %} +{% block content %} {% if ingestion_logs_disabled %} {% endif %} - {% if error %} {% else %} -
-
-
-
- {% render_table ingestion_logs_table 'diode/ingestion_logs_table.html' %} - {% if ingestion_logs_table.data %} - {% include 'diode/ingestion_logs_paginator.html' with next_page_token=next_page_token total_count=total_count %} - {% endif %} +
+
+
+
+
+ {% render_table ingestion_logs_table 'diode/ingestion_logs_table.html' %} + {% if ingestion_logs_table.data %} + {% include 'diode/ingestion_logs_paginator.html' with next_page_token=next_page_token total_count=total_count %} + {% endif %} +
+
+
+
+
+
+
+ +
New
+
+
+ +
Reconciled
+
+
+ +
Failed
+
+
+ +
No Changes
+
+
+ +
Total
+
+
+
+
+
+
+ {% endif %} {% endblock content %}