[feature request] Set custom theme via main config
As discussed in https://forum.howtoforge.com/threads/themes-for-ispconfig.91148/#post-449554, it would be good to set a system wide theme that applies to the login page as well. This option would use the database to reference the theme, so allowing for upgrades to occur without needing to modify local php files for each upgrade or trying to remember to modify the right one.
Possible staged deployment
Stage 1
- Configure ISPConfig's base DB to store the site theme
- Set default to be the standard ISPConfig theme
- Allow configuration change from SYSTEM --> INTERFACE --> MAIN CONFIG
- If the setting is missing (e.g. upgrade) create the required objects in the DB and default to the ISPconfig theme
- Fix the current CSS and JS scripts to be either independant of Bootstrap / jQuery / etc. OR upgrade them to a more current version
- This item is related to me writing a new theme and using the latest versions of Bootstrap & jQuery.
Stage 2
- Allow for per-user / per-reseller theme settings (e.g. Light mode VS Dark mode)
Stage 3
- Write some documentation on how to build a theme from scratch