管理系统增加两种背景风格

This commit is contained in:
GoEdgeLab
2023-03-15 15:35:11 +08:00
parent f8a5cfb683
commit 7bf5bb33ae
4 changed files with 44 additions and 3 deletions

View File

@@ -15,7 +15,7 @@ type ThemeAction struct {
func (this *ThemeAction) RunPost(params struct{}) {
theme := configloaders.FindAdminTheme(this.AdminId())
var themes = []string{"theme1", "theme2", "theme3", "theme4", "theme5"}
var themes = []string{"theme1", "theme2", "theme3", "theme4", "theme5", "theme6", "theme7"}
var nextTheme = "theme1"
if len(theme) == 0 {
nextTheme = "theme2"