From a9af367c2e14e6af51c875a6ef36fadfa4930de4 Mon Sep 17 00:00:00 2001 From: Ilia Ross Date: Fri, 1 Nov 2024 22:17:50 +0200 Subject: [PATCH] Fix buttons color --- authentic-init.pl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/authentic-init.pl b/authentic-init.pl index af64a818d..8c68cde68 100644 --- a/authentic-init.pl +++ b/authentic-init.pl @@ -1034,12 +1034,13 @@ sub get_button_style string_contains($keys, "licence_manager_deregister") || string_contains($keys, "licence_recheck")) { $icon = "virtualmin fa-1_15x margined-left--2 margined-top-1"; + $class = "info "; if (string_contains($keys, "licence_recheck")) { $icon = "refresh fa-1_05x margined-left--2"; } elsif (string_contains($keys, "licence_manager_goto")) { + $class = "warning "; $icon = " fa2 fa2-key fa-1_15x margined-left--1"; } - $class = "warning "; if (string_contains($keys, "licence_manager_change") || string_contains($keys, "licence_manager_setup")) { $class = "success ";