diff --git a/sysutils/smart/Makefile b/sysutils/smart/Makefile index ce845881b..b1a0dec69 100644 --- a/sysutils/smart/Makefile +++ b/sysutils/smart/Makefile @@ -1,5 +1,5 @@ PLUGIN_NAME= smart -PLUGIN_VERSION= 1.4 +PLUGIN_VERSION= 1.5 PLUGIN_COMMENT= SMART tools PLUGIN_DEPENDS= smartmontools PLUGIN_MAINTAINER= franco@opnsense.org diff --git a/sysutils/smart/src/www/widgets/widgets/smart_status.widget.php b/sysutils/smart/src/www/widgets/widgets/smart_status.widget.php index 9c3345ae8..b51bba5c8 100644 --- a/sysutils/smart/src/www/widgets/widgets/smart_status.widget.php +++ b/sysutils/smart/src/www/widgets/widgets/smart_status.widget.php @@ -1,31 +1,31 @@ - - - - - + + + + + 0) { case "PASSED": case "OK": $dev_state_translated = gettext('OK'); - $color = "#90EE90"; + $color = "success"; break; case "": $dev_state = "Unknown"; $dev_state_translated = gettext('Unknown'); - $color = "#C0B788"; + $color = "warning"; break; default: - $color = "#F08080"; + $color = "danger"; break; } ?> - - - - - + + + + +