Skip to content

Commit

Permalink
Add better support for the new license page
Browse files Browse the repository at this point in the history
  • Loading branch information
iliajie committed Oct 30, 2024
1 parent aac981c commit b36d8c3
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
10 changes: 8 additions & 2 deletions authentic-init.pl
Original file line number Diff line number Diff line change
Expand Up @@ -1257,6 +1257,13 @@ sub get_button_style
$icon = "times-circle-o";
} elsif (string_contains($keys, "wizard_end")) {
$icon = "virtualmin fa-1_05x";
} elsif (string_contains($keys, "licence_manager") ||
string_contains($keys, "licence_recheck")) {
$icon = "virtualmin fa-1_15x margined-left--2 margined-top-1";
if (string_contains($keys, "licence_recheck")) {
$icon = "refresh fa-1_05x margined-left--2";
}
$class = "warning ";
} elsif (string_contains($keys, "ticket_submit")) {
$icon = "question-circle";
} elsif (string_contains($keys, "trace_change")) {
Expand Down Expand Up @@ -1309,8 +1316,7 @@ sub get_button_style
$class = "warning ";
$icon = " fa2 fa2-transfer";
} elsif (string_contains($keys, "restart") ||
string_contains($keys, "edit_kill") ||
string_contains($keys, "licence_recheck"))
string_contains($keys, "edit_kill"))
{
$class = "warning ";
$icon = "refresh";
Expand Down
2 changes: 1 addition & 1 deletion unauthenticated/css/bundle.min.css

Large diffs are not rendered by default.

Binary file modified unauthenticated/css/bundle.min.css.gz
Binary file not shown.

0 comments on commit b36d8c3

Please sign in to comment.