diff options
-rw-r--r-- | apps/contacts/templates/settings.php | 3 | ||||
-rw-r--r-- | apps/files_sharing/css/sharing.css | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/apps/contacts/templates/settings.php b/apps/contacts/templates/settings.php index 85dbca36fac..c9713451c8a 100644 --- a/apps/contacts/templates/settings.php +++ b/apps/contacts/templates/settings.php @@ -23,6 +23,9 @@ <a class="svg action cloud" title="<?php echo $l->t('Show read-only VCF link'); ?>"></a> </td> <td class="action"> + <a class="svg action share" data-item-type="addressbook" data-item="<?php echo $addressbook['id'] ?>" title="<?php echo $l->t("Share"); ?>"></a> + </td> + <td class="action"> <a class="svg action download" title="<?php echo $l->t('Download'); ?>" href="<?php echo OCP\Util::linkToRemote('carddav').'addressbooks/'.OCP\USER::getUser().'/' .rawurlencode($addressbook['uri']) ?>?export"></a> diff --git a/apps/files_sharing/css/sharing.css b/apps/files_sharing/css/sharing.css index f1d6faa6b0d..a683a24a116 100644 --- a/apps/files_sharing/css/sharing.css +++ b/apps/files_sharing/css/sharing.css @@ -2,7 +2,7 @@ This file is licensed under the Affero General Public License version 3 or later. See the COPYING-README file. */ -#dropdown { display:block; position:absolute; z-index:100; width:16em; right:0; margin-right:7em; background:#eee; padding:1em; +#dropdown { display:block; position:absolute; z-index:500; width:16em; right:0; margin-right:7em; background:#eee; padding:1em; -moz-box-shadow:0 1px 1px #777; -webkit-box-shadow:0 1px 1px #777; box-shadow:0 1px 1px #777; -moz-border-radius-bottomleft:1em; -webkit-border-bottom-left-radius:1em; border-bottom-left-radius:1em; -moz-border-radius-bottomright:1em; -webkit-border-bottom-right-radius:1em; border-bottom-right-radius:1em; } |