Skip to content

Commit

Permalink
Fix buttons color
Browse files Browse the repository at this point in the history
  • Loading branch information
iliajie committed Nov 1, 2024
1 parent c43485d commit a9af367
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion authentic-init.pl
Original file line number Diff line number Diff line change
Expand Up @@ -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 ";
Expand Down

0 comments on commit a9af367

Please sign in to comment.