Add share action to addressbooks!
This commit is contained in:
parent
f456cee9d8
commit
0b9b1757fe
|
@ -48,11 +48,12 @@ label:hover, dt:hover { color: #333; }
|
||||||
.float { float: left; }
|
.float { float: left; }
|
||||||
.svg { border: inherit; background: inherit; }
|
.svg { border: inherit; background: inherit; }
|
||||||
.listactions { height: 1em; width:60px; float: left; clear: right; }
|
.listactions { height: 1em; width:60px; float: left; clear: right; }
|
||||||
.add,.edit,.delete,.mail, .globe, .upload, .download, .cloud { cursor: pointer; width: 20px; height: 20px; margin: 0; float: left; position:relative; opacity: 0.1; }
|
.add,.edit,.delete,.mail, .globe, .upload, .download, .cloud, .share { cursor: pointer; width: 20px; height: 20px; margin: 0; float: left; position:relative; opacity: 0.1; }
|
||||||
.add:hover,.edit:hover,.delete:hover,.mail:hover, .globe:hover, .upload:hover, .download:hover .cloud:hover { opacity: 1.0 }
|
.add:hover,.edit:hover,.delete:hover,.mail:hover, .globe:hover, .upload:hover, .download:hover .cloud:hover { opacity: 1.0 }
|
||||||
.add { background:url('%webroot%/core/img/actions/add.svg') no-repeat center; clear: both; }
|
.add { background:url('%webroot%/core/img/actions/add.svg') no-repeat center; clear: both; }
|
||||||
.delete { background:url('%webroot%/core/img/actions/delete.svg') no-repeat center; }
|
.delete { background:url('%webroot%/core/img/actions/delete.svg') no-repeat center; }
|
||||||
.edit { background:url('%webroot%/core/img/actions/rename.svg') no-repeat center; }
|
.edit { background:url('%webroot%/core/img/actions/rename.svg') no-repeat center; }
|
||||||
|
.share { background:url('%webroot%/core/img/actions/share.svg') no-repeat center; }
|
||||||
.mail { background:url('%webroot%/core/img/actions/mail.svg') no-repeat center; }
|
.mail { background:url('%webroot%/core/img/actions/mail.svg') no-repeat center; }
|
||||||
.upload { background:url('%webroot%/core/img/actions/upload.svg') no-repeat center; }
|
.upload { background:url('%webroot%/core/img/actions/upload.svg') no-repeat center; }
|
||||||
.download { background:url('%webroot%/core/img/actions/download.svg') no-repeat center; }
|
.download { background:url('%webroot%/core/img/actions/download.svg') no-repeat center; }
|
||||||
|
|
|
@ -13,6 +13,9 @@
|
||||||
<td width="20px">
|
<td width="20px">
|
||||||
<a title="<?php echo $l->t("Edit"); ?>" class="svg action edit" onclick="Contacts.UI.Addressbooks.editAddressbook(this, <?php echo $_['addressbook']["id"]; ?>);"></a>
|
<a title="<?php echo $l->t("Edit"); ?>" class="svg action edit" onclick="Contacts.UI.Addressbooks.editAddressbook(this, <?php echo $_['addressbook']["id"]; ?>);"></a>
|
||||||
</td>
|
</td>
|
||||||
|
<td width="20px">
|
||||||
|
<a title="<?php echo $l->t("Share"); ?>" class="svg action share" data-item-type="addressbook" data-item="<?php echo $_['addressbook']['id']; ?>" />
|
||||||
|
</td>
|
||||||
<td width="20px">
|
<td width="20px">
|
||||||
<a onclick="Contacts.UI.Addressbooks.deleteAddressbook(this, <?php echo $_['addressbook']["id"]; ?>);" title="<?php echo $l->t("Delete"); ?>" class="svg action delete"></a>
|
<a onclick="Contacts.UI.Addressbooks.deleteAddressbook(this, <?php echo $_['addressbook']["id"]; ?>);" title="<?php echo $l->t("Delete"); ?>" class="svg action delete"></a>
|
||||||
</td>
|
</td>
|
||||||
|
|
Loading…
Reference in New Issue