summaryrefslogtreecommitdiff
path: root/www/templates/monitors.html
diff options
context:
space:
mode:
authorArjun Roychowdhury <pliablepixels@gmail.com>2015-10-08 14:13:40 -0400
committerArjun Roychowdhury <pliablepixels@gmail.com>2015-10-08 14:13:40 -0400
commitac992d9d8be5dd71e60c5650efe84c3f40a36e6e (patch)
treeb2acdabc5c773a61dffb8425e3c789e79b06d1bd /www/templates/monitors.html
parenta5e032c1d38152644ffabead6536dd14b0433119 (diff)
badge notification count for events
Diffstat (limited to 'www/templates/monitors.html')
-rw-r--r--www/templates/monitors.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/www/templates/monitors.html b/www/templates/monitors.html
index aec02784..43e9582d 100644
--- a/www/templates/monitors.html
+++ b/www/templates/monitors.html
@@ -3,7 +3,8 @@
<button class="button button-icon button-clear ion-navicon" ng-click="openMenu()">
</button>
- <button class="animated infinite tada button button-icon button-clear ion-ios-bell" ng-click="$root.isAlarm=!$root.isAlarm;" ng-if="$root.isAlarm"></button>
+ <button data-badge="{{$root.alarmCount}}" class="animated infinite tada button button-icon button-clear ion-ios-bell notification-badge" ng-click="handleAlarms();" ng-if="$root.isAlarm"></button>
+
</ion-nav-buttons>
<ion-content>