From 1ec27399a748e01b74aef6b3781e4da52214faba Mon Sep 17 00:00:00 2001 From: Michael Gapczynski Date: Sat, 4 Aug 2012 17:00:16 -0400 Subject: [PATCH] Show delete tipsy for users --- settings/css/settings.css | 6 +++--- settings/js/users.js | 2 +- settings/templates/users.php | 9 ++++++--- 3 files changed, 10 insertions(+), 7 deletions(-) diff --git a/settings/css/settings.css b/settings/css/settings.css index e79029ddbfa..7bd7d5f7f06 100644 --- a/settings/css/settings.css +++ b/settings/css/settings.css @@ -22,14 +22,14 @@ form { display:inline; } table:not(.nostyle) th { height:2em; color:#999; } table:not(.nostyle) th, table:not(.nostyle) td { border-bottom:1px solid #ddd; padding:0 .5em; padding-left:.8em; text-align:left; font-weight:normal; } td.name, td.password { padding-left:.8em; } -td.password>img, td.remove>img, td.quota>img { visibility:hidden; } +td.password>img, td.remove>a, td.quota>img { visibility:hidden; } td.password, td.quota { width:12em; cursor:pointer; } td.password>span, td.quota>span { margin-right: 1.2em; color: #C7C7C7; } td.remove { width:1em; padding-right:1em; } tr:hover>td.password>span { margin:0; cursor:pointer; } -tr:hover>td.remove>img, tr:hover>td.password>img, tr:hover>td.quota>img { visibility:visible; cursor:pointer; } -tr:hover>td.remove>img { float:right; } +tr:hover>td.remove>a, tr:hover>td.password>img, tr:hover>td.quota>img { visibility:visible; cursor:pointer; } +tr:hover>td.remove>a { float:right; } li.selected { background-color:#ddd; } #content>table:not(.nostyle) { margin-top:3em; } table:not(.nostyle) { width:100%; } diff --git a/settings/js/users.js b/settings/js/users.js index 43b726fbfc8..a6b1b659978 100644 --- a/settings/js/users.js +++ b/settings/js/users.js @@ -170,7 +170,7 @@ $(document).ready(function(){ applyMultiplySelect($(element)); }); - $('td.remove>img').live('click',function(event){ + $('td.remove>a').live('click',function(event){ var uid = $(this).parent().parent().data('uid'); diff --git a/settings/templates/users.php b/settings/templates/users.php index 9b64696547f..d8200bf2022 100644 --- a/settings/templates/users.php +++ b/settings/templates/users.php @@ -141,9 +141,12 @@ var isadmin = ; - Delete + + + + + + -- 2.39.5