From 1baead78040ccfe09e0fd647fd420e478ee6199b Mon Sep 17 00:00:00 2001 From: Daniel Date: Sun, 15 Jan 2023 16:36:09 +0100 Subject: [PATCH] config: show loaded values on page --- README.md | 4 ++-- config/defaults.json | 2 +- index.html | 10 ++++------ js/dom.js | 15 +++++++++++++++ js/main.js | 7 +++---- 5 files changed, 25 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index 246b538..82756a2 100644 --- a/README.md +++ b/README.md @@ -6,8 +6,8 @@ This will be a dashboard hosted on my homeserver with self-hosted stuff. But, fo #### Still to do before prod: -- [ ] External config loaded with XHR (app list) -- [ ] Apply config for the rest stuff (data shown in More page, default user settings) +- [x] External config loaded with XHR (app list) +- [x] Apply config for the rest stuff (data shown in More page, default user settings) - [ ] Make 'Security' module functional - [ ] Security screen on/off - [ ] CSS global color variables for easier theming diff --git a/config/defaults.json b/config/defaults.json index a3d6e4b..824d135 100644 --- a/config/defaults.json +++ b/config/defaults.json @@ -4,7 +4,7 @@ "desc": "Nice and sweet place for all your self-hosted services.", "icon": "img/icon.png", "wallpaper": "img/background.jpg", - "wallpaper_dark": "img/background_dark.jpg", + "wallpaper_dark": "img/background-dark.jpg", "dark_mode": false, "open_new_tab": false, "hosted_by": "somebody", diff --git a/index.html b/index.html index 614d8fe..3f1a675 100644 --- a/index.html +++ b/index.html @@ -19,9 +19,9 @@