From 8cf24308185d45000b1ce6f29a2edc6cdf00185c Mon Sep 17 00:00:00 2001 From: Matt Kohls Date: Mon, 4 Dec 2023 22:44:20 -0500 Subject: Adding JS graphs to dashboard Using new api + D3 and Plot to draw fancy graphs --- snag/templates/dashboard/dashboard.html | 133 ++++++++++++++++++++++++++------ 1 file changed, 110 insertions(+), 23 deletions(-) (limited to 'snag/templates/dashboard/dashboard.html') diff --git a/snag/templates/dashboard/dashboard.html b/snag/templates/dashboard/dashboard.html index c061b66..668c1bc 100644 --- a/snag/templates/dashboard/dashboard.html +++ b/snag/templates/dashboard/dashboard.html @@ -3,37 +3,124 @@ {% block headline %}{% block title %}Dashboard{% endblock %}{% endblock %} {% block content %} + + + +
{% if deviceList|length == 0 %} Hmmm nothing seems to be logged yet {% endif %} + +
+ + {% for entry in deviceList %}

{{ entry.name }} | {{ entry.location }}

- - - {% if entry.location != "status" %} - - - - {% else %} - - {% endif %} - +

{{ entry.environment }} | {{ entry.environmentDesc }}

+
+
+
+
+ {% endfor %} -- cgit v1.2.3
-
- -
-
-
- -
-
-
- -
-