Visually highlight active initial in privs table
Signed-off-by: J.M <me@mynetx.net>
This commit is contained in:
parent
4ac53a14a7
commit
aa05823d92
@ -3174,8 +3174,11 @@ function PMA_getHtmlForDisplayTheInitials($array_initials)
|
||||
if (! empty($tmp_initial)) {
|
||||
if ($initial_was_found) {
|
||||
$html_output .= '<td>'
|
||||
. '<a class="ajax"'
|
||||
. ' href="server_privileges.php'
|
||||
. '<a class="ajax'
|
||||
. ((isset($_REQUEST['initial'])
|
||||
&& $_REQUEST['initial'] === $tmp_initial
|
||||
) ? ' active' : '')
|
||||
. '" href="server_privileges.php'
|
||||
. PMA_URL_getCommon(array('initial' => $tmp_initial))
|
||||
. '">' . $tmp_initial
|
||||
. '</a>'
|
||||
|
||||
@ -134,6 +134,10 @@ a:hover {
|
||||
<?php echo $_SESSION['PMA_Theme']->getCssGradient('ffffff', 'cccccc'); ?>
|
||||
}
|
||||
|
||||
#initials_table a.active {
|
||||
<?php echo $_SESSION['PMA_Theme']->getCssGradient('cccccc', 'ffffff'); ?>
|
||||
}
|
||||
|
||||
dfn {
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user