WebAdmin: use the new theme for the login and setup page

Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
This commit is contained in:
Nicola Murino
2023-12-30 19:12:22 +01:00
parent 7318d1f32a
commit 3e47a4f664
25 changed files with 514 additions and 919 deletions

View File

@@ -441,13 +441,9 @@ func (b *UIBranding) check(isWebClient bool) {
b.DefaultCSS[idx] = util.CleanPath(b.DefaultCSS[idx])
}
} else {
if isWebClient {
b.DefaultCSS = []string{
"/assets/plugins/global/plugins.bundle.css",
"/assets/css/style.bundle.css",
}
} else {
b.DefaultCSS = []string{"/css/sb-admin-2.min.css"}
b.DefaultCSS = []string{
"/assets/plugins/global/plugins.bundle.css",
"/assets/css/style.bundle.css",
}
}
for idx := range b.ExtraCSS {