From 5fd5d7f0ff8802ebf540fa0169a7a4e921bddc01 Mon Sep 17 00:00:00 2001 From: deathbybandaid Date: Tue, 1 Dec 2020 15:06:25 -0500 Subject: [PATCH 1/3] Missing t --- data/www/style.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/www/style.css b/data/www/style.css index ae8e1e1..bba3e9f 100644 --- a/data/www/style.css +++ b/data/www/style.css @@ -1,6 +1,6 @@ .pull-right { float: right; } -.pull-lef { float: left; } +.pull-left { float: left; } .center { margin-left: auto; From 3e6bc72c471f95878b196de86f0dde1e71389331 Mon Sep 17 00:00:00 2001 From: deathbybandaid Date: Tue, 1 Dec 2020 15:07:10 -0500 Subject: [PATCH 2/3] Adjust Page Layout --- data/www/templates/base.html | 1 + 1 file changed, 1 insertion(+) diff --git a/data/www/templates/base.html b/data/www/templates/base.html index 5d812fc..b49e7fd 100644 --- a/data/www/templates/base.html +++ b/data/www/templates/base.html @@ -14,6 +14,7 @@ fHDHR Logo

+

From 4fa82037b8d6d2b6550eb2e72882a2f193de1f27 Mon Sep 17 00:00:00 2001 From: deathbybandaid Date: Tue, 1 Dec 2020 15:21:24 -0500 Subject: [PATCH 3/3] 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 %}