diff options
| author | Arjun Roychowdhury <pliablepixels@gmail.com> | 2015-09-19 18:10:39 -0400 |
|---|---|---|
| committer | Arjun Roychowdhury <pliablepixels@gmail.com> | 2015-09-19 18:10:39 -0400 |
| commit | fbc612ce9fb5b23a5358d103adce79ac1575143c (patch) | |
| tree | a0a6f8d3cd21e065ca18d484c8931857dab96bfe /www/templates | |
| parent | 066811d51fa2d7bd2d900b77494f8d5437971697 (diff) | |
event pullup and filter related fixes
Diffstat (limited to 'www/templates')
| -rw-r--r-- | www/templates/events.html | 60 |
1 files changed, 39 insertions, 21 deletions
diff --git a/www/templates/events.html b/www/templates/events.html index f45ed3d0..42b7e2ab 100644 --- a/www/templates/events.html +++ b/www/templates/events.html @@ -187,7 +187,7 @@ </ion-content> <div class="events-float-filter" ng-if="isEventFilterOn">Filter On</div> - <ion-pull-up-footer class="bar-energized" on-expand="footerExpand()" on-collapse="footerCollapse()" initial-state="minimized" default-behavior="expand"> + <ion-pull-up-footer class="bar-energized" on-expand="footerExpand()" on-collapse="footerCollapse()" initial-state="minimized" default-behavior="expand" > <ion-pull-up-handle width="100" height="25" toggle="ion-chevron-up ion-chevron-down" style="border-radius: 25px 25px 0 0"> <i class="icon ion-chevron-up"></i> @@ -197,54 +197,72 @@ </ion-pull-up-bar> <ion-pull-up-content scroll="true"> - <div class="list card"> + <div class="list list-inset"> <div class="item item-divider">1 hour summary</div> - <div class="item item-body" ng-repeat="hour in hours" + <div ng-repeat="hour in hours" id="hour-{{$index}}"> - - <div> + + <span style="color:black"> + <a class="item item-icon-right" href="#" + ng-click="showEvents('1', 'hour',hour.mid);"> <b>{{hour.monitor}}</b> {{hour.events}} events - </div> + <i class="icon ion-android-arrow-dropright"></i> + </a> + </span> </div> </div> - <div class="list card"> + <div class="list list-inset"> <div class="item item-divider">1 day summary</div> - <div class="item item-body" ng-repeat="day in days" + <div ng-repeat="day in days" id="day-{{$index}}"> - - <div> + + <span style="color:black"> + <a class="item item-icon-right" href="#" + ng-click="showEvents('1', 'day',day.mid);"> <b>{{day.monitor}}</b> {{day.events}} events - </div> + <i class="icon ion-android-arrow-dropright"></i> + </a> + </span> </div> </div> - <div class="list card"> + <div class="list list-inset"> <div class="item item-divider">1 week summary</div> - <div class="item item-body" ng-repeat="week in weeks" + <div ng-repeat="week in weeks" id="week-{{$index}}"> - - <div> + + <span style="color:black"> + <a class="item item-icon-right" href="#" + ng-click="showEvents('1', 'week',week.mid);"> <b>{{week.monitor}}</b> {{week.events}} events - </div> + <i class="icon ion-android-arrow-dropright"></i> + </a> + </span> </div> </div> - <div class="list card"> + <div class="list list-inset"> <div class="item item-divider">1 month summary</div> - <div class="item item-body" ng-repeat="month in months" + <div ng-repeat="month in months" id="month-{{$index}}"> - - <div> + + <span style="color:black"> + <a class="item item-icon-right" href="#" + ng-click="showEvents('1', 'months',month.mid);"> <b>{{month.monitor}}</b> {{month.events}} events - </div> + <i class="icon ion-android-arrow-dropright"></i> + </a> + </span> </div> </div> + + </ion-pull-up-content> |
