Add favicons to Framed Theme

This commit is contained in:
iliajie
2022-12-11 18:56:18 +02:00
parent 095288d661
commit 6829c94257
15 changed files with 27 additions and 8 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 876 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 544 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 867 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

View File

@@ -95,7 +95,23 @@ if ($current_lang_info->{'rtl'} || $current_lang eq "ar") {
# Page header
print "<html>\n";
print "<head> <title>$title</title> </head>\n";
print "<head>\n";
print "<title>$title</title>\n";
my $imgdir = "@{[&get_webprefix()]}/images";
my $prod = 'webmin';
if (foreign_available("server-manager")) {
$prod = 'cloudmin';
}
elsif (foreign_available("virtual-server")) {
$prod = 'virtualmin';
}
elsif (get_product_name() eq 'usermin') {
$prod = 'usermin';
}
print "<link rel='icon' type='image/png' sizes='16x16' href='$imgdir/favicons/$prod/favicon-16x16.png'>\n";
print "<link rel='icon' type='image/png' sizes='32x32' href='$imgdir/favicons/$prod/favicon-32x32.png'>\n";
print "<link rel='icon' type='image/png' sizes='192x192' href='$imgdir/favicons/$prod/favicon-192x192.png'>\n";
print "</head>\n";
# Upper custom frame
if ($upperframe) {

File diff suppressed because one or more lines are too long

View File

@@ -394,7 +394,7 @@ details.ui_hidden_table_start > summary span {
color: #10a929;
}
.leftmenu .ff-cloudmin {
color: #cb6d2f;
color: #df620a;
}
.leftmenu .ff-virtualmin-tick {
font-size: 115%;
@@ -413,7 +413,7 @@ details.ui_hidden_table_start > summary span {
color: #b5710b;
}
.leftmenu .ff-sign-out {
color: #b91b39;
color: #b51b0b;
margin-left: -2px;
margin-right: 0;
}
@@ -428,7 +428,10 @@ details.ui_hidden_table_start > summary span {
.main-logo {
text-align: center;
margin-top: 10px;
margin-bottom: 15px;
margin-bottom: 20px;
}
.main-logo.webmin {
filter: brightness(1.35) contrast(0.75) saturate(1.35);
}
body > .mode {