From 6404148cf3d8a81fcd6333a923fe41dd91ae78d2 Mon Sep 17 00:00:00 2001 From: Phil Davis Date: Fri, 5 Dec 2014 17:36:49 +0545 Subject: [PATCH] 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. --- usr/local/www/widgets/widgets/gateways.widget.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/usr/local/www/widgets/widgets/gateways.widget.php b/usr/local/www/widgets/widgets/gateways.widget.php index bde169fff3..cf42283c28 100644 --- a/usr/local/www/widgets/widgets/gateways.widget.php +++ b/usr/local/www/widgets/widgets/gateways.widget.php @@ -123,7 +123,12 @@ $counter = 1; $online = gettext("Unknown"); $bgcolor = "#ADD8E6"; // lightblue } - echo "$online\n"; + echo "$online\n"; + ?> + +