Move contact delete button to top right corner

This commit is contained in:
Bart Visscher 2011-10-08 00:13:39 +02:00
parent 88aa40e6ac
commit 203f7a3a87
2 changed files with 2 additions and 1 deletions

View File

@ -1,2 +1,3 @@
.contacts_details_left {text-align:right;vertical-align:top;padding:2px;} .contacts_details_left {text-align:right;vertical-align:top;padding:2px;}
.contacts_details_right {text-align:left;vertical-align:top;padding:2px;} .contacts_details_right {text-align:left;vertical-align:top;padding:2px;}
#contacts_deletecard {position:absolute;top:15px;right:0;}

View File

@ -28,7 +28,7 @@
<?php endforeach; ?> <?php endforeach; ?>
</table> </table>
<form> <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');?>"> <input type="button" id="contacts_addproperty" value="<?php echo $l->t('Add Property');?>">
</form> </form>
<?php endif; ?> <?php endif; ?>