diff options
| author | Arjun Roychowdhury <pliablepixels@gmail.com> | 2015-10-07 16:40:11 -0400 |
|---|---|---|
| committer | Arjun Roychowdhury <pliablepixels@gmail.com> | 2015-10-07 16:40:11 -0400 |
| commit | d50456f09f124913fe119498e75d0c70e5bb7d4a (patch) | |
| tree | 3d2def04ef3198851b60c1190de7a14babd9db41 /www | |
| parent | 41bef0dc67b4ec1437bedfee9efafd0aaeaedcdb (diff) | |
bell notification
Diffstat (limited to 'www')
| -rw-r--r-- | www/templates/devoptions.html | 3 | ||||
| -rw-r--r-- | www/templates/events-graphs.html | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/www/templates/devoptions.html b/www/templates/devoptions.html index f1a1c2c1..3ab3ca1b 100644 --- a/www/templates/devoptions.html +++ b/www/templates/devoptions.html @@ -1,6 +1,9 @@ <ion-view view-title="Developer Settings"> <ion-nav-buttons side="left"> <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> + </ion-nav-buttons> diff --git a/www/templates/events-graphs.html b/www/templates/events-graphs.html index 8b4806e8..8451db3d 100644 --- a/www/templates/events-graphs.html +++ b/www/templates/events-graphs.html @@ -2,6 +2,9 @@ <ion-nav-buttons side="left"> <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> + </ion-nav-buttons> <!-- I'm calling the same controller function but with different parameters when |
