1
1
mirror of https://github.com/go-gitea/gitea synced 2025-11-02 12:28:25 +00:00

feat(runner): add repo runners ui pages

This commit is contained in:
fuxiaohei
2022-10-26 22:23:54 +08:00
committed by Jason Song
parent 888b4c8313
commit 6a0614f4a5
4 changed files with 71 additions and 13 deletions

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