summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorTom Needham <tom@owncloud.com>2016-03-10 14:55:01 +0000
committerAlexander Weidinger <alexwegoo@gmail.com>2016-03-17 17:02:34 +0100
commit00d6b70d04cb69c3976fff55179723ef4cb8120b (patch)
treeb9f0b29ec42359e02713164c6680a0d0a42428e5 /templates
parent2669b4470c0d34180419362bbdf53856ca40d28d (diff)
Fix spinner alignment
Diffstat (limited to 'templates')
-rw-r--r--templates/contactDetails.html1
-rw-r--r--templates/contactList.html26
2 files changed, 14 insertions, 13 deletions
diff --git a/templates/contactDetails.html b/templates/contactDetails.html
index efd491bb..acd5b518 100644
--- a/templates/contactDetails.html
+++ b/templates/contactDetails.html
@@ -33,4 +33,3 @@
</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 0a435f88..019bf1a1 100644
--- a/templates/contactList.html
+++ b/templates/contactList.html
@@ -1,13 +1,15 @@
-<button class="app-content-list-button" type="button" name="button" ng-click="ctrl.createContact()">{{ctrl.t.addContact}}</button>
-<div class="app-content-list-item"
- ng-repeat="contact in ctrl.contactList = (ctrl.contacts | contactGroupFilter:ctrl.routeParams.gid | orderBy:'fullName()' | filter:query) track by contact.uid()"
- contact data="contact"
- ng-click="setSelected(contact.uid())" ng-class="{active: contact.uid() === ctrl.selectedContactId}">
+<div style="height: 90%" ng-class="{loading: ctrl.loading}">
+ <button ng-show="!ctrl.loading" class="app-content-list-button" type="button" name="button" ng-click="ctrl.createContact()">{{ctrl.t.addContact}}</button>
+ <div class="app-content-list-item"
+ ng-repeat="contact in ctrl.contactList = (ctrl.contacts | contactGroupFilter:ctrl.routeParams.gid | orderBy:'fullName()' | filter:query) track by contact.uid()"
+ contact data="contact"
+ ng-click="setSelected(contact.uid())"
+ ng-class="{active: contact.uid() === ctrl.selectedContactId}">
+ </div>
+ <div ng-show="!ctrl.contactList.length && !ctrl.loading">
+ <div id="emptysearch" class="">
+ <div class="icon-search"></div>
+ <h2>{{ctrl.t.emptySearch}}</h2>
+ </div>
+ </div>
</div>
-<div ng-show="!ctrl.contactList.length">
- <div id="emptysearch" class="">
- <div class="icon-search"></div>
- <h2>{{ctrl.t.emptySearch}}</h2>
- </div>
-</div>
-<i ng-show="ctrl.loading" style="display: block" class="icon-loading"></i>