updates
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user