]> source.dussan.org Git - nextcloud-server.git/commitdiff
Move contact delete button to top right corner
authorBart Visscher <bartv@thisnet.nl>
Fri, 7 Oct 2011 22:13:39 +0000 (00:13 +0200)
committerBart Visscher <bartv@thisnet.nl>
Sat, 8 Oct 2011 22:04:37 +0000 (00:04 +0200)
apps/contacts/css/styles.css
apps/contacts/templates/part.details.php

index 1f95fdb2ad476f496e8b9c9885ac23117c1806ff..c1abd0efb62248da1dccae8e0f00437c359226d5 100644 (file)
@@ -1,2 +1,3 @@
 .contacts_details_left {text-align:right;vertical-align:top;padding:2px;}
 .contacts_details_right {text-align:left;vertical-align:top;padding:2px;}
+#contacts_deletecard {position:absolute;top:15px;right:0;}
index 26a33739acb071167d34e67322593d6c633f9a72..438f84d45d4ca6d992eb739831d4806d521e94f0 100644 (file)
@@ -28,7 +28,7 @@
                <?php endforeach; ?>
        </table>
        <form>
-               <input type="button" id="contacts_deletecard" value="<?php echo $l->t('Delete');?>">
+               <img class="svg action" id="contacts_deletecard" src="<?php echo image_path('', 'actions/delete.svg'); ?>" title="<?php echo $l->t('Delete contact');?>" />
                <input type="button" id="contacts_addproperty" value="<?php echo $l->t('Add Property');?>">
        </form>
 <?php endif; ?>