silenced alarm notification
This commit is contained in:
@@ -7,6 +7,14 @@
|
|||||||
<strong class="bg-danger">{{ pretty_reasons alarmReasons }}</strong>
|
<strong class="bg-danger">{{ pretty_reasons alarmReasons }}</strong>
|
||||||
<img src="/images/alarm.gif" class="img-responsive center-block" id="alarm_image" />
|
<img src="/images/alarm.gif" class="img-responsive center-block" id="alarm_image" />
|
||||||
<button id="stop_alarm" class="btn btn-danger"> <i class="fa fa-ban"></i> Prekini </button>
|
<button id="stop_alarm" class="btn btn-danger"> <i class="fa fa-ban"></i> Prekini </button>
|
||||||
|
|
||||||
|
{{/if}}
|
||||||
|
{{#if alarmStopped}}
|
||||||
|
<strong class="bg-danger">{{ pretty_reasons alarmReasons }}</strong>
|
||||||
|
<br /><br />
|
||||||
|
<div class="bg-warning"> <strong>Alarm prekinut!</strong> Nadzor će se nastaviti kada se temperatura vrati u zadani raspon.
|
||||||
|
</div>
|
||||||
|
<br /><br />
|
||||||
{{/if}}
|
{{/if}}
|
||||||
{{/with}}
|
{{/with}}
|
||||||
{{#with last_reading}}
|
{{#with last_reading}}
|
||||||
|
|||||||
Reference in New Issue
Block a user