diff options
author | Colin Fleming <cj_fleming@sky.com> | 2013-01-16 19:34:02 +0000 |
---|---|---|
committer | Colin Fleming <cj_fleming@sky.com> | 2013-01-16 19:34:02 +0000 |
commit | a0c0e8aefbac3e3979bac5fbfdecfedfe49cc2d3 (patch) | |
tree | cf4d91b9b6e1cbd5aa65f0a886db0072e30a34bf /usr/local/www/status_lb_vs.php | |
parent | 2151894c4f08a67ff2e0ffd49fe363425e5c56f9 (diff) | |
download | pfsense-a0c0e8aefbac3e3979bac5fbfdecfedfe49cc2d3.zip pfsense-a0c0e8aefbac3e3979bac5fbfdecfedfe49cc2d3.tar.gz |
Tidy up HTML Colour Names
With XHTML 1.0, the extended colour names are invalid, to make pfSense
as W3C compliant as possible, need to go back to using the HEX code.
Diffstat (limited to 'usr/local/www/status_lb_vs.php')
-rwxr-xr-x | usr/local/www/status_lb_vs.php | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/usr/local/www/status_lb_vs.php b/usr/local/www/status_lb_vs.php index 0e3b9d8..cb1ce0d 100755 --- a/usr/local/www/status_lb_vs.php +++ b/usr/local/www/status_lb_vs.php @@ -105,16 +105,16 @@ include("head.inc"); <?php switch (trim($rdr_a[$vsent['name']]['status'])) { case 'active': - $bgcolor = "lightgreen"; - $rdr_a[$vsent['name']]['status'] = "Active"; + $bgcolor = "#90EE90"; // lightgreen + $rdr_a[$vsent['name']]['status'] = "Active"; break; case 'down': - $bgcolor = "lightcoral"; - $rdr_a[$vsent['name']]['status'] = "Down"; - break; - default: - $bgcolor = "lightgray"; - $rdr_a[$vsent['name']]['status'] = 'Unknown - relayd not running?'; + $bgcolor = "#F08080"; // lightcoral + $rdr_a[$vsent['name']]['status'] = "Down"; + break; + default: + $bgcolor = "#D3D3D3"; // lightgray + $rdr_a[$vsent['name']]['status'] = 'Unknown - relayd not running?'; } ?> <td class="listr" nowrap> |