|
|
|
@ -51,7 +51,7 @@ func RunnersList(ctx *context.Context, opts actions_model.FindRunnerOptions) {
|
|
|
|
ctx.Data["Runners"] = runners
|
|
|
|
ctx.Data["Runners"] = runners
|
|
|
|
ctx.Data["Total"] = count
|
|
|
|
ctx.Data["Total"] = count
|
|
|
|
ctx.Data["RegistrationToken"] = token.Token
|
|
|
|
ctx.Data["RegistrationToken"] = token.Token
|
|
|
|
ctx.Data["RunnerOnwerID"] = opts.OwnerID
|
|
|
|
ctx.Data["RunnerOwnerID"] = opts.OwnerID
|
|
|
|
ctx.Data["RunnerRepoID"] = opts.RepoID
|
|
|
|
ctx.Data["RunnerRepoID"] = opts.RepoID
|
|
|
|
|
|
|
|
|
|
|
|
pager := context.NewPagination(int(count), opts.PageSize, opts.Page, 5)
|
|
|
|
pager := context.NewPagination(int(count), opts.PageSize, opts.Page, 5)
|
|
|
|
|