web UI: allow to load custom css

Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
This commit is contained in:
Nicola Murino
2022-03-19 21:44:27 +01:00
parent 4c710d731f
commit 93b9c1617e
24 changed files with 825 additions and 677 deletions

View File

@@ -32,6 +32,7 @@ type loginPage struct {
AltLoginURL string
ForgotPwdURL string
OpenIDLoginURL string
ExtraCSS []CustomCSS
}
type twoFactorPage struct {
@@ -41,6 +42,7 @@ type twoFactorPage struct {
CSRFToken string
StaticURL string
RecoveryURL string
ExtraCSS []CustomCSS
}
type forgotPwdPage struct {
@@ -49,6 +51,7 @@ type forgotPwdPage struct {
CSRFToken string
StaticURL string
Title string
ExtraCSS []CustomCSS
}
type resetPwdPage struct {
@@ -57,6 +60,7 @@ type resetPwdPage struct {
CSRFToken string
StaticURL string
Title string
ExtraCSS []CustomCSS
}
func getSliceFromDelimitedValues(values, delimiter string) []string {