improved database group display
This commit is contained in:
@@ -371,7 +371,7 @@ require_once './libraries/List.class.php';
|
|||||||
$return = '<ul id="databaseList" xml:lang="en" dir="ltr">' . "\n";
|
$return = '<ul id="databaseList" xml:lang="en" dir="ltr">' . "\n";
|
||||||
foreach ($this->getGroupedDetails($offset, $count) as $group => $dbs) {
|
foreach ($this->getGroupedDetails($offset, $count) as $group => $dbs) {
|
||||||
if (count($dbs) > 1) {
|
if (count($dbs) > 1) {
|
||||||
$return .= '<li>' . htmlspecialchars($group) . '<ul>' . "\n";
|
$return .= '<li><span>' . htmlspecialchars($group) . '</span><ul>' . "\n";
|
||||||
// whether display db_name cut by the group part
|
// whether display db_name cut by the group part
|
||||||
$cut = true;
|
$cut = true;
|
||||||
} else {
|
} else {
|
||||||
|
@@ -101,6 +101,10 @@ ul#databaseList {
|
|||||||
font-style: italic;
|
font-style: italic;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
ul#databaseList span {
|
||||||
|
padding: 5px;
|
||||||
|
}
|
||||||
|
|
||||||
ul#databaseList a {
|
ul#databaseList a {
|
||||||
display: block;
|
display: block;
|
||||||
padding:5px;
|
padding:5px;
|
||||||
|
Reference in New Issue
Block a user