feat(runner): add repo runners ui pages

This commit is contained in:
fuxiaohei
2022-11-25 17:48:46 +08:00
committed by Jason Song
parent 888b4c8313
commit 6a0614f4a5
4 changed files with 71 additions and 13 deletions
+3
View File
@@ -967,6 +967,9 @@ func RegisterRoutes(m *web.Route) {
m.Group("/runners", func() {
m.Get("", repo.Runners)
m.Combo("/{runnerid}").Get(repo.RunnersEdit).
Post(bindIgnErr(forms.EditRunnerForm{}), repo.RunnersEditPost)
m.Get("/reset_registration_token", repo.ResetRunnerRegistrationToken)
})
}, func(ctx *context.Context) {