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/show_entries.html | 44 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 snag/templates/show_entries.html (limited to 'snag/templates/show_entries.html') diff --git a/snag/templates/show_entries.html b/snag/templates/show_entries.html new file mode 100644 index 0000000..86451df --- /dev/null +++ b/snag/templates/show_entries.html @@ -0,0 +1,44 @@ +{% extends "layout.html" %} +{% block body %} + +
+ +
+
+ +
+ {% if devId == 2 %} +
+ +
+ {% endif %} + +
+

Readings from the past 24 hours

+

+ + + + + + + + {% for entry in log %} + + + + + + + {% endfor %} +
TimestampTemperature (C)Humidity (%)Pressure (hPa)
{{ entry.date }}{{ entry.temperature }}{{ entry.humidity }}{{ entry.pressure }}
+

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