feat(runner): add repo runners ui pages

This commit is contained in:
fuxiaohei authored and Jason Song committed 2022-11-25 17:48:46 +08:00
1 parent 888b4c8313
commit 6a0614f4a5
4 files changed
+71 -13

No files matched your search

+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) {