diff options
author | Stephen Beaver <sbeaver@netgate.com> | 2015-12-17 09:41:36 -0500 |
---|---|---|
committer | Stephen Beaver <sbeaver@netgate.com> | 2015-12-17 09:41:36 -0500 |
commit | 4ccf2ff6c06cfbfd347b43c9891f0d272ca6fadf (patch) | |
tree | 4833727af9eb0b7f047793c3b9e5a82b49baccef /src/usr/local/www/widgets | |
parent | bdfea2e793426ff9681ca031f105ae2352f46505 (diff) | |
download | pfsense-4ccf2ff6c06cfbfd347b43c9891f0d272ca6fadf.zip pfsense-4ccf2ff6c06cfbfd347b43c9891f0d272ca6fadf.tar.gz |
Fixed #5650
Diffstat (limited to 'src/usr/local/www/widgets')
-rw-r--r-- | src/usr/local/www/widgets/widgets/smart_status.widget.php | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/src/usr/local/www/widgets/widgets/smart_status.widget.php b/src/usr/local/www/widgets/widgets/smart_status.widget.php index 5140487..56e3d2d 100644 --- a/src/usr/local/www/widgets/widgets/smart_status.widget.php +++ b/src/usr/local/www/widgets/widgets/smart_status.widget.php @@ -86,19 +86,22 @@ if (count($devs) > 0) { switch ($dev_state) { case "PASSED": case "OK": - $color = "#90EE90"; + $color = "text-success"; + $icon = "fa-check"; break; case "": $dev_state = "Unknown"; - $color = "#C0B788"; + $color = "text-info"; + $icon = "fa-times-circle"; break; default: - $color = "#F08080"; + $color = "text-alert"; + $icon = "fa-question-circle"; break; } ?> <tr> - <td><i class="fa fa-<?=$icon?>-circle"></i></td> + <td><i class="fa <?=$icon?> <?=$color?>"></i></td> <td><?=$dev?></td> <td><?=$dev_ident?></td> <td><?=ucfirst($dev_state)?></td> |