mirror of
https://github.com/billz/raspap-webgui.git
synced 2023-10-10 13:37:24 +02:00
Added themes to settings
This commit is contained in:
parent
bb0a82acbc
commit
7b07869d68
@ -190,11 +190,15 @@ function DisplaySystem(&$extraFooterScripts)
|
|||||||
// theme options
|
// theme options
|
||||||
$themes = [
|
$themes = [
|
||||||
"default" => "RaspAP (default)",
|
"default" => "RaspAP (default)",
|
||||||
"hackernews" => "HackerNews"
|
"hackernews" => "HackerNews",
|
||||||
|
"material-light" => "Material (light)",
|
||||||
|
"material-dark" => "Material (dark)"
|
||||||
];
|
];
|
||||||
$themeFiles = [
|
$themeFiles = [
|
||||||
"default" => "custom.php",
|
"default" => "custom.php",
|
||||||
"hackernews" => "hackernews.css"
|
"hackernews" => "hackernews.css",
|
||||||
|
"material-light" => "material-light.php",
|
||||||
|
"material-dark" => "material-dark.php"
|
||||||
];
|
];
|
||||||
$selectedTheme = array_search($_COOKIE['theme'], $themeFiles);
|
$selectedTheme = array_search($_COOKIE['theme'], $themeFiles);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user