login page favicon now matches the green/yellow/red icon from the other webgui pages

This commit is contained in:
Eric Schultz
2020-01-17 04:47:20 -06:00
parent 1254b79856
commit 7a76a7c736
2 changed files with 4 additions and 2 deletions

View File

@@ -37,7 +37,9 @@ $arrWhitelist = [
'/webGui/styles/font-cases.ttf',
'/webGui/styles/font-cases.svg',
'/webGui/images/case-model.png',
'/webGui/images/green-on.png'
'/webGui/images/green-on.png',
'/webGui/images/red-on.png',
'/webGui/images/yellow-on.png'
];
if (in_array(preg_replace(['/\?v=\d+$/','/\?\d+$/'],'',$_SERVER['REQUEST_URI']),$arrWhitelist)) {
// authorized

View File

@@ -307,7 +307,7 @@ $theme_dark = in_array($display['theme'],['black','gray']);
}
</style>
<link type="text/css" rel="stylesheet" href="<?autov("/webGui/styles/default-cases.css")?>">
<link type="image/png" rel="shortcut icon" href="/webGui/images/green-on.png">
<link type="image/png" rel="shortcut icon" href="/webGui/images/<?=$var['mdColor']?>.png">
</head>
<body>