From 597e765677e60a289137fbd55c60eea24cea1c0b Mon Sep 17 00:00:00 2001 From: Michael Kaufmann Date: Sun, 15 Oct 2023 10:29:43 +0200 Subject: [PATCH] replace deprecated text-muted css class with bootstrap-5.3's text-body-secondary Signed-off-by: Michael Kaufmann --- lib/Froxlor/UI/Callbacks/Style.php | 3 +-- templates/Froxlor/install/index.html.twig | 4 ++-- templates/Froxlor/install/update.html.twig | 2 +- templates/Froxlor/login/fpwd.html.twig | 2 +- templates/Froxlor/login/login.html.twig | 2 +- templates/Froxlor/login/rpwd.html.twig | 2 +- templates/Froxlor/misc/version_top.html.twig | 2 +- templates/Froxlor/settings/configuration.html.twig | 2 +- templates/Froxlor/settings/index.html.twig | 4 ++-- templates/Froxlor/src/js/components/search.js | 8 ++++---- templates/Froxlor/src/scss/components/_card.scss | 4 ++-- templates/Froxlor/src/scss/components/_dropdown.scss | 2 +- templates/Froxlor/src/scss/components/_footer.scss | 2 +- templates/Froxlor/user/form.html.twig | 2 +- templates/Froxlor/user/table.html.twig | 2 +- templates/Froxlor/user/traffic.html.twig | 2 +- templates/Froxlor/userarea.html.twig | 4 ++-- 17 files changed, 24 insertions(+), 25 deletions(-) diff --git a/lib/Froxlor/UI/Callbacks/Style.php b/lib/Froxlor/UI/Callbacks/Style.php index 315fbb474e..8d23b5d9ba 100644 --- a/lib/Froxlor/UI/Callbacks/Style.php +++ b/lib/Froxlor/UI/Callbacks/Style.php @@ -77,8 +77,7 @@ public static function resultCustomerLockedOrDeactivated(array $attributes): str $row_css = ''; if ((int)$attributes['fields']['deactivated'] == 1) { $row_css = 'bg-info text-light'; - } elseif ( - $attributes['fields']['loginfail_count'] >= Settings::Get('login.maxloginattempts') + } elseif ($attributes['fields']['loginfail_count'] >= Settings::Get('login.maxloginattempts') && $attributes['fields']['lastlogin_fail'] > (time() - Settings::Get('login.deactivatetime')) ) { $row_css = 'bg-warning'; diff --git a/templates/Froxlor/install/index.html.twig b/templates/Froxlor/install/index.html.twig index 7b5ab01858..3ffbd3d980 100644 --- a/templates/Froxlor/install/index.html.twig +++ b/templates/Froxlor/install/index.html.twig @@ -74,7 +74,7 @@

{% if preflight.criticals %} -

{{ lng('install.critical_error') }}

+

{{ lng('install.critical_error') }}