|
- package admin
-
- import (
- "code.gitea.io/gitea/modules/base"
- "code.gitea.io/gitea/modules/context"
- )
-
- const (
- tplResourceQueue base.TplName = "admin/resources/queue"
- tplResourceSpecification base.TplName = "admin/resources/specification"
- tplResourceScene base.TplName = "admin/resources/scene"
- )
-
- func GetQueuePage(ctx *context.Context) {
- ctx.Data["PageIsAdmin"] = true
- ctx.Data["PageIsAdminResources"] = true
- ctx.Data["PageIsAdminResourcesQueue"] = true
- ctx.HTML(200, tplResourceQueue)
- }
-
- func GetSpecificationPage(ctx *context.Context) {
- ctx.Data["PageIsAdmin"] = true
- ctx.Data["PageIsAdminResources"] = true
- ctx.Data["PageIsAdminResourcesSpecification"] = true
- ctx.HTML(200, tplResourceSpecification)
- }
-
- func GetScenePage(ctx *context.Context) {
- ctx.Data["PageIsAdmin"] = true
- ctx.Data["PageIsAdminResources"] = true
- ctx.Data["PageIsAdminResourcesScene"] = true
- ctx.HTML(200, tplResourceScene)
- }
|