File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ import (
1515 template2 "github.com/GoAdminGroup/go-admin/template"
1616 "github.com/GoAdminGroup/go-admin/template/login"
1717 "github.com/dchest/captcha"
18+ "github.com/GoAdminGroup/go-admin/template/types"
1819)
1920
2021var themes = map [string ]Theme {
@@ -130,6 +131,9 @@ func (l *Login) GetAssetList() []string { return themes[l.Theme].G
130131func (l * Login ) GetAsset (name string ) ([]byte , error ) { return themes [l .Theme ].GetAsset (name [1 :]) }
131132func (l * Login ) GetName () string { return "login" }
132133func (l * Login ) IsAPage () bool { return true }
134+ func (l * Login ) GetJS () template.JS { return "" }
135+ func (l * Login ) GetCSS () template.CSS { return "" }
136+ func (l * Login ) GetCallbacks () types.Callbacks { return make (types.Callbacks , 0 ) }
133137
134138func (l * Login ) GetContent () template.HTML {
135139 buffer := new (bytes.Buffer )
You can’t perform that action at this time.
0 commit comments