summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorJessica Greene <jessica0greene@gmail.com>2018-04-11 19:30:18 +0200
committerJessica Greene <jessica0greene@gmail.com>2018-04-11 19:30:18 +0200
commit4d4d98c1308d3d62e5b01e5d3b2a3a3c0f846d92 (patch)
treeb95686df4bc3b593dd67eac43953237973e41f00 /templates
parent78f43ae541a3e0c198a23fa6250382e43212f22c (diff)
added tooltips to contact picture options
Diffstat (limited to 'templates')
-rw-r--r--templates/avatar.html11
1 files changed, 7 insertions, 4 deletions
diff --git a/templates/avatar.html b/templates/avatar.html
index c09024ca..fb49f64e 100644
--- a/templates/avatar.html
+++ b/templates/avatar.html
@@ -2,8 +2,11 @@
<img ng-show="contact.photo()!==undefined" class="contactdetails__logo avatar" id="contact-avatar" data-ng-src="{{contact.photo()}}" ng-click="ctrl.openPhoto()" />
<div class="avatar-options">
<input type="file" id="avatar-upload" class="hidden" accept="image/*" />
- <label for="avatar-upload" class="icon-upload-white"></label>
- <div class="icon-delete-white" ng-show="contact.photo()!==undefined" ng-click="ctrl.removePhoto()"></div>
- <div class="icon-fullscreen-white" ng-show="contact.photo()!==undefined" ng-click="ctrl.openPhoto()"></div>
- <div class="icon-download-white" ng-show="contact.photo()!==undefined" ng-click="ctrl.downloadPhoto()"></div>
+ <label for="avatar-upload" class="icon-upload-white" tooltip-placement="top" uib-tooltip="Upload new" tooltip-append-to-body="true"></label>
+ <div class="icon-delete-white" ng-show="contact.photo()!==undefined" ng-click="ctrl.removePhoto()"
+ tooltip-placement="top" uib-tooltip="Delete" tooltip-append-to-body="true"></div>
+ <div class="icon-fullscreen-white" ng-show="contact.photo()!==undefined" ng-click="ctrl.openPhoto()"
+ tooltip-placement="top" uib-tooltip="Close" tooltip-append-to-body="true"></div>
+ <div class="icon-download-white" ng-show="contact.photo()!==undefined" ng-click="ctrl.downloadPhoto()"
+ tooltip-placement="top" uib-tooltip="Download" tooltip-append-to-body="true"></div>
</div>