summaryrefslogtreecommitdiffstats
path: root/usr/local/www/status_gateway_groups.php
diff options
context:
space:
mode:
Diffstat (limited to 'usr/local/www/status_gateway_groups.php')
-rwxr-xr-xusr/local/www/status_gateway_groups.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/usr/local/www/status_gateway_groups.php b/usr/local/www/status_gateway_groups.php
index 6365ef3..a270f61 100755
--- a/usr/local/www/status_gateway_groups.php
+++ b/usr/local/www/status_gateway_groups.php
@@ -122,21 +122,21 @@ include("head.inc");
$status = $gateways_status[$monitor]['status'];
if (stristr($status, "down")) {
$online = gettext("Offline");
- $bgcolor = "lightcoral";
+ $bgcolor = "#F08080"; // lightcoral
} elseif (stristr($status, "loss")) {
$online = gettext("Warning, Packetloss");
- $bgcolor = "khaki";
+ $bgcolor = "#F0E68C"; // khaki
} elseif (stristr($status, "delay")) {
$online = gettext("Warning, Latency");
- $bgcolor = "khaki";
+ $bgcolor = "#F0E68C"; // khaki
} elseif ($status == "none") {
$online = gettext("Online");
- $bgcolor = "lightgreen";
+ $bgcolor = "#90EE90"; // lightgreen
} else {
$online = gettext("Gathering data");
- $bgcolor = "lightblue";
+ $bgcolor = "#ADD8E6"; // lightblue
}
- echo "<td bgcolor='$bgcolor'>". htmlspecialchars($member) .", $online</td>";
+ echo "<td bgcolor='$bgcolor'>&nbsp;". htmlspecialchars($member) .", $online&nbsp;</td>";
} else {
echo "<td>&nbsp;</td>";
}
OpenPOWER on IntegriCloud