summaryrefslogtreecommitdiffstats
path: root/apps/contacts/templates/part.contact.php
diff options
context:
space:
mode:
authorThomas Tanghus <thomas@tanghus.net>2012-04-22 20:44:11 +0200
committerThomas Tanghus <thomas@tanghus.net>2012-04-22 20:47:24 +0200
commite8f062dc935b6bd9b8047594affda491c659b79a (patch)
treed209e80d63e42459c51db7417d9c4cfb29b91aac /apps/contacts/templates/part.contact.php
parent8a6cb23170b95336770bc4dcd6d58583de82815e (diff)
downloadnextcloud-server-e8f062dc935b6bd9b8047594affda491c659b79a.tar.gz
nextcloud-server-e8f062dc935b6bd9b8047594affda491c659b79a.zip
Contacts:
- Added overlay toolbar to contact photo with 'Delete current', 'Edit current', 'Load from OC_Filesystem' and 'Upload' options. - Made action icons translucent instead of hiding them.
Diffstat (limited to 'apps/contacts/templates/part.contact.php')
-rw-r--r--apps/contacts/templates/part.contact.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/apps/contacts/templates/part.contact.php b/apps/contacts/templates/part.contact.php
index c09c20fd4e4..b90fa92c2c5 100644
--- a/apps/contacts/templates/part.contact.php
+++ b/apps/contacts/templates/part.contact.php
@@ -23,10 +23,9 @@ $id = isset($_['id']) ? $_['id'] : '';
<div id="contact_photo" class="contactsection">
- <form class="float" id="file_upload_form" action="ajax/uploadphoto.php" method="post" enctype="multipart/form-data" target="file_upload_target" class="propertycontainer" data-element="PHOTO">
+ <form class="float" id="file_upload_form" action="ajax/uploadphoto.php" method="post" enctype="multipart/form-data" target="file_upload_target">
<fieldset id="photo">
- <a class="action delete" onclick="$(this).tipsy('hide');Contacts.UI.Card.deleteProperty(this, 'single');" title="<?php echo $l->t('Delete'); ?>"></a>
- <div class="tip" id="contacts_details_photo_wrapper" title="<?php echo $l->t('Click or drop to upload picture'); ?> (max <?php echo $_['uploadMaxHumanFilesize']; ?>)">
+ <div class="tip propertycontainer" id="contacts_details_photo_wrapper" title="<?php echo $l->t('Click or drop to upload picture'); ?> (max <?php echo $_['uploadMaxHumanFilesize']; ?>)" data-element="PHOTO">
<!-- img style="padding: 1em;" id="contacts_details_photo" alt="Profile picture" src="photo.php?id=<?php echo $_['id']; ?>" / -->
<progress id="contacts_details_photo_progress" style="display:none;" value="0" max="100">0 %</progress>
</div>