mirror of
https://github.com/drakkan/sftpgo.git
synced 2025-12-07 23:00:55 +03:00
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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user