From 4fa82037b8d6d2b6550eb2e72882a2f193de1f27 Mon Sep 17 00:00:00 2001 From: deathbybandaid Date: Tue, 1 Dec 2020 15:21:24 -0500 Subject: [PATCH] Allow CSS Theming --- data/internal_config/fhdhr.json | 7 +++++++ data/www/templates/base.html | 3 +++ 2 files changed, 10 insertions(+) diff --git a/data/internal_config/fhdhr.json b/data/internal_config/fhdhr.json index 27446e3..c621b07 100644 --- a/data/internal_config/fhdhr.json +++ b/data/internal_config/fhdhr.json @@ -68,6 +68,13 @@ "config_web": true } }, + "web_ui":{ + "theme":{ + "value": "none", + "config_file": true, + "config_web": true + } + }, "epg":{ "images":{ "value": "pass", diff --git a/data/www/templates/base.html b/data/www/templates/base.html index b49e7fd..5e2c087 100644 --- a/data/www/templates/base.html +++ b/data/www/templates/base.html @@ -6,6 +6,9 @@ table, th, td {border: 1px solid black;} + {% if fhdhr.config.dict["web_ui"]["theme"] %} + + {% endif %}