前端页面
This commit is contained in:
23
EdgeAdmin/internal/web/actions/default/httpdns/apps/index.go
Normal file
23
EdgeAdmin/internal/web/actions/default/httpdns/apps/index.go
Normal file
@@ -0,0 +1,23 @@
|
||||
package apps
|
||||
|
||||
import (
|
||||
"github.com/TeaOSLab/EdgeAdmin/internal/web/actions/actionutils"
|
||||
"github.com/TeaOSLab/EdgeAdmin/internal/web/actions/default/httpdns/httpdnsutils"
|
||||
)
|
||||
|
||||
type IndexAction struct {
|
||||
actionutils.ParentAction
|
||||
}
|
||||
|
||||
func (this *IndexAction) Init() {
|
||||
this.Nav("httpdns", "app", "")
|
||||
}
|
||||
|
||||
func (this *IndexAction) RunGet(params struct {
|
||||
Keyword string
|
||||
}) {
|
||||
httpdnsutils.AddLeftMenu(this.Parent())
|
||||
this.Data["keyword"] = params.Keyword
|
||||
this.Data["apps"] = filterApps(params.Keyword, "", "", "")
|
||||
this.Show()
|
||||
}
|
||||
Reference in New Issue
Block a user