diff options
| author | PliablePixels <pliablepixels@gmail.com> | 2015-07-04 16:22:11 -0400 |
|---|---|---|
| committer | PliablePixels <pliablepixels@gmail.com> | 2015-07-04 16:22:11 -0400 |
| commit | 223fb28e4001689b6bbd049d75f807a250a2c392 (patch) | |
| tree | 5efa4af1c64d99d6f3f686c6a9ed692fff771882 /www | |
| parent | e9bc962c6406b19ccbc61c9ccc241aecc8e14179 (diff) | |
display default messages if no monitors/events found
Diffstat (limited to 'www')
| -rw-r--r-- | www/templates/events.html | 7 | ||||
| -rw-r--r-- | www/templates/monitors.html | 5 | ||||
| -rw-r--r-- | www/templates/montage.html | 3 |
3 files changed, 15 insertions, 0 deletions
diff --git a/www/templates/events.html b/www/templates/events.html index c70f0527..e22d9efb 100644 --- a/www/templates/events.html +++ b/www/templates/events.html @@ -26,6 +26,7 @@ <ion-content on-tap="tapped();"> <ion-refresher pulling-text="Tap the <i class='ion-refresh'></i> icon above to reload ..." spinner="bubbles" on-refresh="dummyDoRefresh();"></ion-refresher> + <ion-item collection-repeat="event in events| filter:search.text"> <div class="row"> @@ -81,6 +82,12 @@ </div> </ion-item> + + <ion-item ng-show="!events.length"> + No events found. + </ion-item> + + <ion-infinite-scroll ng-if="moreDataCanBeLoaded()" icon="ion-loading-c" on-infinite="loadMore()" distance="2%"> </ion-infinite-scroll> diff --git a/www/templates/monitors.html b/www/templates/monitors.html index 13dcdb83..1cd03eec 100644 --- a/www/templates/monitors.html +++ b/www/templates/monitors.html @@ -50,6 +50,11 @@ </div> </div> + + <ion-item ng-show="!monitors.length"> + No Monitors found. + </ion-item> + <!-- </a> --> </div> </ion-content> diff --git a/www/templates/montage.html b/www/templates/montage.html index be37e0ef..278c0141 100644 --- a/www/templates/montage.html +++ b/www/templates/montage.html @@ -58,6 +58,9 @@ </div> <!--ngcontroller --> + <ion-item ng-show="!monitors.length"> + No monitors found. + </ion-item> </ion-content> <div ng-show="minimal"> |
