diff options
author | Tom Needham <tom@owncloud.com> | 2016-03-04 12:32:51 +0000 |
---|---|---|
committer | Alexander Weidinger <alexwegoo@gmail.com> | 2016-03-17 16:49:27 +0100 |
commit | 2669b4470c0d34180419362bbdf53856ca40d28d (patch) | |
tree | 43152eb92c624ae7bd9d650830b19b3dcf733caa /templates | |
parent | 61c3fbb6749409aa87101d5b3921c454821efd4d (diff) |
Show loading spinners whilst retriving data
Diffstat (limited to 'templates')
-rw-r--r-- | templates/addressBookList.html | 1 | ||||
-rw-r--r-- | templates/contactDetails.html | 3 | ||||
-rw-r--r-- | templates/contactList.html | 1 |
3 files changed, 4 insertions, 1 deletions
diff --git a/templates/addressBookList.html b/templates/addressBookList.html index 88f17b32..1cdb551f 100644 --- a/templates/addressBookList.html +++ b/templates/addressBookList.html @@ -1,3 +1,4 @@ +<i ng-show="ctrl.loading" style="display: block" class="icon-loading"></i> <ul class="addressBookList"> <li ng-repeat="addressBook in ctrl.addressBooks" addressbook data="addressBook"></li> <li> diff --git a/templates/contactDetails.html b/templates/contactDetails.html index fbae3344..efd491bb 100644 --- a/templates/contactDetails.html +++ b/templates/contactDetails.html @@ -1,4 +1,4 @@ -<div ng-if="ctrl.contact===undefined"> +<div ng-if="ctrl.contact===undefined && !ctrl.loading"> <div id="emptycontent" class=""> <div class="icon-contacts-dark"></div> <h2>{{ctrl.t.noContacts}}</h2> @@ -33,3 +33,4 @@ </select> </section> </div> +<div ng-show="ctrl.loading"><i style="display: block" class="icon-loading"></i></div> diff --git a/templates/contactList.html b/templates/contactList.html index 3b153eea..0a435f88 100644 --- a/templates/contactList.html +++ b/templates/contactList.html @@ -10,3 +10,4 @@ <h2>{{ctrl.t.emptySearch}}</h2> </div> </div> +<i ng-show="ctrl.loading" style="display: block" class="icon-loading"></i> |