diff --git a/routers/repo/cloudbrain.go b/routers/repo/cloudbrain.go index e70944150..4b3162c28 100755 --- a/routers/repo/cloudbrain.go +++ b/routers/repo/cloudbrain.go @@ -25,7 +25,7 @@ const ( tplCloudBrainIndex base.TplName = "repo/cloudbrain/index" tplCloudBrainNew base.TplName = "repo/cloudbrain/new" tplCloudBrainShow base.TplName = "repo/cloudbrain/show" - tplCloudBrainShowModels base.TplName = "repo/cloudbrain/show_models" + tplCloudBrainShowModels base.TplName = "repo/cloudbrain/models/index" ) var ( @@ -365,6 +365,7 @@ func CloudBrainShowModels(ctx *context.Context) { ctx.Data["Dirs"] = fileInfos ctx.Data["task"] = task + ctx.Data["JobID"] = jobID ctx.HTML(200, tplCloudBrainShowModels) } diff --git a/templates/repo/cloudbrain/index.tmpl b/templates/repo/cloudbrain/index.tmpl index 9a58a05a6..f48f063e8 100755 --- a/templates/repo/cloudbrain/index.tmpl +++ b/templates/repo/cloudbrain/index.tmpl @@ -248,7 +248,7 @@ -
| + + + + {{if .IsDir}} {{svg "octicon-file-directory" 16}}{{else}}{{svg "octicon-file" 16}}{{end}} {{.FileName}} + + + | + ++ {{.ModTime}} + | +