mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Use proper listr class for Gateways Widget Status
The Gateways Widget Status was not using the listr class, and so it was missing the borders for the right and bottom of its box. Use the listr class. Then use javascript to explicitly set the background-color to match the status, overriding the white that is specified in listr.
This commit is contained in:
parent
d57c55ca3b
commit
6404148cf3
@ -123,7 +123,12 @@ $counter = 1;
|
||||
$online = gettext("Unknown");
|
||||
$bgcolor = "#ADD8E6"; // lightblue
|
||||
}
|
||||
echo "<td class=\"ellipsis\" bgcolor=\"$bgcolor\" align=\"center\" id=\"gateway$counter\">$online</td>\n";
|
||||
echo "<td class=\"listr ellipsis\" align=\"center\" id=\"gateway$counter\">$online</td>\n";
|
||||
?>
|
||||
<script type="text/javascript">
|
||||
jQuery('#gateway<?php echo $counter;?>').css('background-color',"<?php echo $bgcolor;?>");
|
||||
</script>
|
||||
<?php
|
||||
$counter++;
|
||||
?>
|
||||
</tr>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user