summaryrefslogtreecommitdiffstats
path: root/server/dashboard.html
diff options
context:
space:
mode:
authorSam Anthony <sam@samanthony.xyz>2024-11-29 15:17:06 -0500
committerSam Anthony <sam@samanthony.xyz>2024-11-29 15:17:06 -0500
commitcee1d301809ec0b517962816b1b232c22a41eb3b (patch)
tree767c424653b71555919ae81261d0300aefc1faf0 /server/dashboard.html
parent6c8ae5c3a0d40c34a8db1aa4eac27734c321ca7b (diff)
downloadsoen422-cee1d301809ec0b517962816b1b232c22a41eb3b.zip
server: record duty cycle over time
Diffstat (limited to 'server/dashboard.html')
-rw-r--r--server/dashboard.html15
1 files changed, 13 insertions, 2 deletions
diff --git a/server/dashboard.html b/server/dashboard.html
index f208758..cac92d1 100644
--- a/server/dashboard.html
+++ b/server/dashboard.html
@@ -2,6 +2,15 @@
<html>
<head>
<title>HVAC Dashboard</title>
+ <style>
+.center {
+ text-align: center;
+ display: block;
+ margin-left: auto;
+ margin-right: auto;
+ width: 90%;
+}
+ </style>
</head>
<body>
<p>Target humidity: {{ printf "%.1f%%" .Target }}</p>
@@ -39,7 +48,9 @@
{{ end }}
</table>
<hr/>
- <h4 style="text-align: center;">Humidity per Room vs. Time</h4>
- <img src="/chart.png" alt="chart of humidity vs time"/>
+ <h4 class="center">Humidity per Room vs. Time</h4>
+ <img src="/humidity_chart.png" alt="chart of humidity vs time" class="center"/>
+ <h4 class="center">Duty Cycle vs. Time</h4>
+ <img src="/duty_cycle_chart.png" alt="chart of duty cycle vs time" class="center"/>
</body>
</html>