mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
UI: Fix second menu bar in Apps screens (#13800)
* Fix bug introduced in 2016 Introduced when changing over from tables to divs. Caused by commit: https://github.com/librenms/librenms/commit/bda31d7152e78b8e484c7b16accdbf7edeaaf96f * Apps: bring second menu bar in line with main menu Scope limited to applications * Style fixes
This commit is contained in:
co-authored by
GitHub
parent
513fbf06e2
commit
1df78d9503
@@ -52,5 +52,3 @@ foreach ($apps as $app) {
|
||||
echo '</div>';
|
||||
echo '</div>';
|
||||
}//end foreach
|
||||
|
||||
echo '</table>';
|
||||
|
||||
@@ -17,7 +17,7 @@ foreach ($domain_list as $label) {
|
||||
$cert_name = $label;
|
||||
|
||||
if ($vars['cert_name'] == $cert_name) {
|
||||
$label = sprintf('⚫ %s', $label);
|
||||
$label = '<span class="pagemenu-selected">' . $label . '</span>';
|
||||
}
|
||||
|
||||
array_push($cert_name_list, generate_link($label, $link_array, ['cert_name' => $cert_name]));
|
||||
|
||||
@@ -19,7 +19,7 @@ while (isset($sources[$sources_ctr])) {
|
||||
$label = $source;
|
||||
|
||||
if ($vars['source'] == $source) {
|
||||
$label = '>>' . $source . '<<';
|
||||
$label = '<span class="pagemenu-selected">' . $source . '</span>';
|
||||
}
|
||||
|
||||
$sources_ctr++;
|
||||
|
||||
@@ -17,7 +17,7 @@ foreach ($domain_list as $label) {
|
||||
$container = $label;
|
||||
|
||||
if ($vars['container'] == $container) {
|
||||
$label = sprintf('⚫ %s', $label);
|
||||
$label = '<span class="pagemenu-selected">' . $label . '</span>';
|
||||
}
|
||||
|
||||
array_push($containers_list, generate_link($label, $link_array, ['container' => $container]));
|
||||
|
||||
@@ -17,7 +17,7 @@ foreach ($mdadm_arrays as $label) {
|
||||
$array = $label;
|
||||
|
||||
if ($vars['array'] == $array) {
|
||||
$label = sprintf('⚫ %s', $label);
|
||||
$label = '<span class="pagemenu-selected">' . $label . '</span>';
|
||||
}
|
||||
|
||||
array_push($array_list, generate_link($label, $link_array, ['array' => $array]));
|
||||
|
||||
@@ -20,7 +20,7 @@ while (isset($ports[$ports_int])) {
|
||||
$label = $ports[$ports_int];
|
||||
|
||||
if ($vars['port'] == $port) {
|
||||
$label = '>>' . $port . '<<';
|
||||
$label = '<span class="pagemenu-selected">' . $port . '</span>';
|
||||
}
|
||||
|
||||
$ports_int++;
|
||||
|
||||
@@ -19,7 +19,7 @@ while (isset($databases[$db_int])) {
|
||||
$label = $db;
|
||||
|
||||
if ($vars['database'] == $db) {
|
||||
$label = '>>' . $db . '<<';
|
||||
$label = '<span class="pagemenu-selected">' . $db . '</span>';
|
||||
}
|
||||
|
||||
$db_int++;
|
||||
|
||||
@@ -17,7 +17,7 @@ foreach ($disks as $label) {
|
||||
$disk = $label;
|
||||
|
||||
if ($vars['disk'] == $disk) {
|
||||
$label = sprintf('⚫ %s', $label);
|
||||
$label = '<span class="pagemenu-selected">' . $label . '</span>';
|
||||
}
|
||||
|
||||
array_push($drives, generate_link($label, $link_array, ['disk'=>$disk]));
|
||||
|
||||
@@ -19,7 +19,7 @@ while (isset($pools[$pool_int])) {
|
||||
$label = $pool;
|
||||
|
||||
if ($vars['pool'] == $pool) {
|
||||
$label = '>>' . $pool . '<<';
|
||||
$label = '<span class="pagemenu-selected">' . $pool . '</span>';
|
||||
}
|
||||
|
||||
$pool_int++;
|
||||
|
||||
Reference in New Issue
Block a user