mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
fix: Fiedx issues with new config init (#8242)
* Fix non-config defaults * update processConfig and remove file
This commit is contained in:
committed by
Neil Lathwood
parent
16424ef3a4
commit
561846a44b
@@ -4,9 +4,9 @@ if ($int_colour) {
|
||||
$row_colour = $int_colour;
|
||||
} else {
|
||||
if (!is_integer($i / 2)) {
|
||||
$row_colour = $list_colour_a;
|
||||
$row_colour = $config['list_colour']['even'];
|
||||
} else {
|
||||
$row_colour = $list_colour_b;
|
||||
$row_colour = $config['list_colour']['odd'];
|
||||
}
|
||||
}
|
||||
|
||||
@@ -14,7 +14,7 @@ if ($int_colour) {
|
||||
$text = $ap['name'].' '.$ap['type'];
|
||||
$ap['text'] = $text;
|
||||
|
||||
echo "<tr style=\"background-color: $row_colour;\" valign=top onmouseover=\"this.style.backgroundColor='$list_highlight';\" onmouseout=\"this.style.backgroundColor='$row_colour';\" onclick=\"location.href='".generate_ap_url($ap)."/'\" style='cursor: pointer;'>
|
||||
echo "<tr style=\"background-color: $row_colour;\" valign=top onmouseover=\"this.style.backgroundColor='{$config['list_colour']['highlight']}';\" onmouseout=\"this.style.backgroundColor='$row_colour';\" onclick=\"location.href='".generate_ap_url($ap)."/'\" style='cursor: pointer;'>
|
||||
<td valign=top width=350>";
|
||||
echo ' <span class=list-large> '.generate_ap_link($ap, " $text </span><br />");
|
||||
echo '<span class=interface-desc>';
|
||||
|
Reference in New Issue
Block a user