From 868cb27db4ca5f4bc9ab5ac4e6226327d7d70a1e Mon Sep 17 00:00:00 2001 From: jim-p Date: Fri, 11 Mar 2016 11:53:24 -0500 Subject: Fix icon usage on the interfaces widget, the down icon was arrow-up. Add color to the status for clarity. Ticket #5965 --- src/usr/local/www/widgets/widgets/interfaces.widget.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/usr/local/www/widgets/widgets/interfaces.widget.php') diff --git a/src/usr/local/www/widgets/widgets/interfaces.widget.php b/src/usr/local/www/widgets/widgets/interfaces.widget.php index e200507..5f54465 100644 --- a/src/usr/local/www/widgets/widgets/interfaces.widget.php +++ b/src/usr/local/www/widgets/widgets/interfaces.widget.php @@ -86,11 +86,11 @@ foreach ($ifdescrs as $ifdescr => $ifname): // Choose an icon by interface status if ($ifinfo['status'] == "up" || $ifinfo['status'] == "associated") { - $icon = 'arrow-up'; + $icon = 'arrow-up text-success'; } elseif ($ifinfo['status'] == "no carrier") { - $icon = 'times-circle'; + $icon = 'times-circle text-danger'; } elseif ($ifinfo['status'] == "down") { - $icon = 'arrow-up'; + $icon = 'arrow-down text-danger'; } else { $known_status = false; } -- cgit v1.1