This commit is contained in:
2024-05-05 21:27:17 +02:00
parent c3b6952017
commit 8acb6bfaf1
5 changed files with 79 additions and 48 deletions
+3 -3
View File
@@ -60,7 +60,7 @@ tr:hover {
<a href="/adm" class="btn">Admin</a>
</div>
<h1>Database Contents</h1>
<h2>Sensor 1</h2>
<h2>{{ sensor[0] }}</h2>
<table border="1">
<tr>
<th>Id</th>
@@ -81,7 +81,7 @@ tr:hover {
</tr>
{% endfor %}
</table>
<h2>Sensor 2</h2>
<h2>{{ sensor[1] }}</h2>
<table border="1">
<tr>
<th>Id</th>
@@ -102,7 +102,7 @@ tr:hover {
</tr>
{% endfor %}
</table>
<h2>Sensor 3</h2>
<h2>{{ sensor[2] }}</h2>
<table border="1">
<tr>
<th>Id</th>
+1 -1
View File
@@ -98,7 +98,7 @@
Plotly.newPlot('graph_hr', HR_graphData.data, HR_graphData.layout);
</script>
<script>
// Refresh the page every 10 seconds
// Refresh the page every 20 seconds
setTimeout(function(){
location.reload();
}, 20000);