From c8ef8843aaaf28bc38b544ae8ac72accf233aead Mon Sep 17 00:00:00 2001 From: Matt Kohls Date: Mon, 4 Sep 2023 15:36:33 -0400 Subject: Revamped project init New repo for larger structural changes from Sensor-Server. Currently doing most all the same stuff but hopefully better. Still have to clean out some of the older templates for the new interface --- snag/templates/dashboard/dashboard.html | 43 +++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 snag/templates/dashboard/dashboard.html (limited to 'snag/templates/dashboard/dashboard.html') diff --git a/snag/templates/dashboard/dashboard.html b/snag/templates/dashboard/dashboard.html new file mode 100644 index 0000000..c061b66 --- /dev/null +++ b/snag/templates/dashboard/dashboard.html @@ -0,0 +1,43 @@ +{% extends 'layout.html' %} + +{% 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 %} + + +
+
+ +
+
+
+ +
+
+
+ +
+
+ + {% endfor %} + +
+{% endblock %} + +{% block footer %} Best by: {{ generatedAt }} {% endblock %} -- cgit v1.2.3