From 4924b275261c8a1d270dde4d4c49c1dab05e028a Mon Sep 17 00:00:00 2001 From: Franco Fichtner Date: Wed, 11 Sep 2024 06:42:40 +0200 Subject: [PATCH] sysutils/smart: get read for next release --- sysutils/smart/Makefile | 3 +- .../src/www/widgets/include/smart_status.inc | 4 - .../widgets/widgets/smart_status.widget.php | 74 ------------------- 3 files changed, 1 insertion(+), 80 deletions(-) delete mode 100644 sysutils/smart/src/www/widgets/include/smart_status.inc delete mode 100644 sysutils/smart/src/www/widgets/widgets/smart_status.widget.php diff --git a/sysutils/smart/Makefile b/sysutils/smart/Makefile index e0ab26fb5..2afa17e45 100644 --- a/sysutils/smart/Makefile +++ b/sysutils/smart/Makefile @@ -1,6 +1,5 @@ PLUGIN_NAME= smart -PLUGIN_VERSION= 2.2 -PLUGIN_REVISION= 5 +PLUGIN_VERSION= 2.3 PLUGIN_COMMENT= SMART tools PLUGIN_DEPENDS= smartmontools PLUGIN_MAINTAINER= franco@opnsense.org diff --git a/sysutils/smart/src/www/widgets/include/smart_status.inc b/sysutils/smart/src/www/widgets/include/smart_status.inc deleted file mode 100644 index 508030990..000000000 --- a/sysutils/smart/src/www/widgets/include/smart_status.inc +++ /dev/null @@ -1,4 +0,0 @@ - - - - - - - - - -state->smart_status->passed)) { - if ($dev->state->smart_status->passed) { - $dev_state_translated = gettext('OK'); - $color = 'success'; - } else { - $dev_state_translated = gettext('FAILED'); - $color = 'danger'; - } - } - -?> - - - - - - - - - - -
- - -
device) ?>ident) ?>