mirror of https://github.com/mikaku/Monitorix.git
fix to use 'white.css' when no color is provided in the CGI
This commit is contained in:
parent
08b3acdbd6
commit
393df08ea7
|
@ -480,7 +480,7 @@ EOF
|
|||
print(" <head>\n");
|
||||
print(" <title>$config{title}</title>\n");
|
||||
print(" <link rel='shortcut icon' href='" . $config{url} . "/" . $config{favicon} . "'>\n");
|
||||
print(" <link href='" . $config{url} . "/css/" . $config{theme_color} . ".css' rel='stylesheet'>\n");
|
||||
print(" <link href='" . $config{url} . "/css/" . $color . ".css' rel='stylesheet'>\n");
|
||||
if($config{refresh_rate}) {
|
||||
print(" <meta http-equiv='Refresh' content='" . $config{refresh_rate} . "'>\n");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue