diff options
author | Bharat Mediratta <bharat@menalto.com> | 2009-02-26 03:05:29 +0000 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2009-02-26 03:05:29 +0000 |
commit | 07310c849936ccae557acec63069238e717e8ed2 (patch) | |
tree | e67923271fa9d74431dd0fefd86775201c586f82 | |
parent | 4f77e7bdced8352c458da2b987917e6d3f32d1b8 (diff) |
Add slightly more visual feedback when you're hovering over a
draggable user. Also, drag the icon and name not just the icon.
-rw-r--r-- | modules/user/views/admin_users.html.php | 5 | ||||
-rw-r--r-- | themes/admin_default/css/screen.css | 6 |
2 files changed, 6 insertions, 5 deletions
diff --git a/modules/user/views/admin_users.html.php b/modules/user/views/admin_users.html.php index 3eabf47d..2d30b218 100644 --- a/modules/user/views/admin_users.html.php +++ b/modules/user/views/admin_users.html.php @@ -55,7 +55,6 @@ <div class="gBlockContent"> <table id="gUserAdminList"> <tr> - <th></th> <th><?= t("Username") ?></th> <th><?= t("Full name") ?></th> <th><?= t("Email") ?></th> @@ -65,14 +64,12 @@ <? foreach ($users as $i => $user): ?> <tr id="gUser-<?= $user->id ?>" class="<?= text::alternate("gOddRow", "gEvenRow") ?> user"> - <td id="user-<?= $user->id ?>" class="core-info"> + <td id="user-<?= $user->id ?>" class="core-info gDraggable"> <img src="<?= $user->avatar_url(20, $theme->url("images/avatar.jpg", true)) ?>" title="<?= t("Drag user onto group below to add as a new member") ?>" alt="<?= $user->name ?>" width="20" height="20" /> - </td> - <td> <?= $user->name ?> </td> <td> diff --git a/themes/admin_default/css/screen.css b/themes/admin_default/css/screen.css index 4d4a7e3b..492d8c54 100644 --- a/themes/admin_default/css/screen.css +++ b/themes/admin_default/css/screen.css @@ -185,6 +185,10 @@ margin-bottom: 1em; } +#gUserAdminList .gDraggable:hover { + border: 1px dashed black; +} + .gActions a, .gActions span { margin-right: 3em; @@ -246,4 +250,4 @@ li.gGroup { #gAdminDashboard .ui-dialog-titlebar, #gAdminDashboardSidebar .ui-dialog-titlebar { padding: .2em .4em; -}
\ No newline at end of file +} |