fix build view ui

This commit is contained in:
wxiaoguang
2022-10-21 22:30:06 +08:00
committed by Jason Song
parent 34a1bb2c20
commit ea5e769428
8 changed files with 40 additions and 71 deletions

View File

@@ -25,6 +25,7 @@ func View(ctx *context.Context) {
run := job.Run
ctx.Data["Build"] = run
// ctx.Data["Build"] = &bots_model.Run{Title: "test", Index: 123, Status: bots_model.StatusRunning}
ctx.HTML(http.StatusOK, tplViewBuild)
}