Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

change Bootstrap theme via config #80

Open
Bergruebe opened this issue Aug 1, 2023 · 2 comments
Open

change Bootstrap theme via config #80

Bergruebe opened this issue Aug 1, 2023 · 2 comments

Comments

@Bergruebe
Copy link

Hey, it would be great if the Bootstrap theme would be configurable in the config file. I am a dark mode fan, so I change the theme after every update to a dark theme manually, because my changes in index.html are overwritten.

So it would be really great if thees lines would be accessible over the config file:

<!-- Bootstrap -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/sandstone/bootstrap.min.css"
integrity="sha256-qgpZ1V8XkWmm9APL5rLtRW+Tyhp+0TPKJm4JMprrSOw=" crossorigin="anonymous">

as an optional argument. In this way it would be also possible to self host the theme so you don't depend on jsdelivr for the login page. (I needed some time to find out, that I blocked jsdelivr in PiHole by mistake.)

Thank you very much for your work and this great pice of software, which protect my personal web apps. Danke!

@Luzifer
Copy link
Owner

Luzifer commented Aug 1, 2023

Please have a look at the v0.27.1 - That one should no longer overwrite your theme… 🤔 (There was a bug in the startup-script fixed in the v0.27.1…)

In general: Yipp, I'm planning for a rewrite of some parts and there will be no more dependencies to externally hosted components… Keeping this as a reminder for myself to make the theme more configurable.

@Bergruebe
Copy link
Author

Thank you for your answer. I usually don't visit the login page, so I don't really know, when the file was changed. But it is good to hear, that the problem was fixed.

I'm looking forward to the coming development!

@Luzifer Luzifer added this to the Version 1.x - Rewrite milestone Feb 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants