diff options
author | jim-p <jimp@pfsense.org> | 2016-03-11 11:53:24 -0500 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2016-03-11 11:53:24 -0500 |
commit | 868cb27db4ca5f4bc9ab5ac4e6226327d7d70a1e (patch) | |
tree | b473eee18371767f84be4c5e869860ed42a16382 | |
parent | 4fb86e067c92c08f9603a110fed01a5bb537b9f2 (diff) | |
download | pfsense-868cb27db4ca5f4bc9ab5ac4e6226327d7d70a1e.zip pfsense-868cb27db4ca5f4bc9ab5ac4e6226327d7d70a1e.tar.gz |
Fix icon usage on the interfaces widget, the down icon was arrow-up. Add color to the status for clarity. Ticket #5965
-rw-r--r-- | src/usr/local/www/widgets/widgets/interfaces.widget.php | 6 |
1 files changed, 3 insertions, 3 deletions
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; } |