1
0
mirror of https://github.com/fHDHR/fHDHR_NextPVR.git synced 2025-12-06 08:56:57 -05:00

Allow CSS Theming

This commit is contained in:
deathbybandaid 2020-12-01 15:21:24 -05:00
parent 3e6bc72c47
commit 4fa82037b8
2 changed files with 10 additions and 0 deletions

View File

@ -68,6 +68,13 @@
"config_web": true "config_web": true
} }
}, },
"web_ui":{
"theme":{
"value": "none",
"config_file": true,
"config_web": true
}
},
"epg":{ "epg":{
"images":{ "images":{
"value": "pass", "value": "pass",

View File

@ -6,6 +6,9 @@
table, th, td {border: 1px solid black;} table, th, td {border: 1px solid black;}
</style> </style>
<link href="style.css" rel="stylesheet"> <link href="style.css" rel="stylesheet">
{% if fhdhr.config.dict["web_ui"]["theme"] %}
<link href={{ fhdhr.config.dict["web_ui"]["theme"] }} rel="stylesheet">
{% endif %}
</head> </head>
<body> <body>
<h1 style="text-align: center;"> <h1 style="text-align: center;">