You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

cloudbrain.go 473 B

1234567891011121314151617181920212223
  1. package repo
  2. import (
  3. "code.gitea.io/gitea/modules/base"
  4. "code.gitea.io/gitea/modules/context"
  5. )
  6. const (
  7. tplCloudBrainIndex base.TplName = "repo/cloudbrain/index"
  8. tplCloudBrainNew base.TplName = "repo/cloudbrain/new"
  9. )
  10. func CloudBrainIndex(ctx *context.Context) {
  11. ctx.Data["PageIsViewCloudBrain"] = true
  12. ctx.HTML(200, tplCloudBrainIndex)
  13. }
  14. func CloudBrainNew(ctx *context.Context) {
  15. ctx.Data["PageIsViewCloudBrain"] = true
  16. ctx.HTML(200, tplCloudBrainNew)
  17. }