Sensor labels support

This commit is contained in:
Senad Uka
2019-07-28 11:48:50 +02:00
parent a5ae635e7d
commit 82ea273c0d
7 changed files with 60 additions and 7 deletions

View File

@@ -18,7 +18,17 @@
{{/if}}
{{/with}}
{{#with last_reading}}
<div class="huge_text"> {{ all_temperatures }}</div>
<div class="bigger_text centeredtable">
<table>
{{#each temperature in all_temperatures }}
<tr>
<td>{{temperature.name}}:</td>
<td> {{temperature.value}}</td>
</tr>
{{/each}}
</table>
</div>
<div>{{pretty_time created_at}}</div>
{{/with}}
<button id="run_alarm_settings" class="btn btn-default"> <i class="fa fa-wrench"></i> Podešavanje </button>