debian-mirror-gitlab/app/views/projects/runners/_specific_runners.html.haml

31 lines
1.3 KiB
Text
Raw Normal View History

2021-03-08 18:12:59 +05:30
%h4
= _('Specific runners')
2015-09-25 12:07:36 +05:30
2018-12-05 23:21:45 +05:30
.bs-callout.help-callout
2021-03-08 18:12:59 +05:30
= _('These runners are specific to this project.')
%hr
2019-12-21 20:55:43 +05:30
= render partial: 'ci/runner/how_to_setup_runner_automatically',
locals: { type: 'specific',
clusters_path: project_clusters_path(@project) }
2018-12-05 23:21:45 +05:30
%hr
= render partial: 'ci/runner/how_to_setup_runner',
2021-03-11 19:13:27 +05:30
locals: { registration_token: @project.runners_token,
type: 'specific',
reset_token_url: reset_registration_token_namespace_project_settings_ci_cd_path,
project_path: @project.path_with_namespace,
group_path: '' }
2015-09-25 12:07:36 +05:30
2021-03-08 18:12:59 +05:30
%hr
2016-06-22 15:30:34 +05:30
- if @project_runners.any?
2021-03-08 18:12:59 +05:30
%h4.underlined-title= _('Available specific runners')
2015-09-25 12:07:36 +05:30
%ul.bordered-list.activated-specific-runners
2017-08-17 22:00:37 +05:30
= render partial: 'projects/runners/runner', collection: @project_runners, as: :runner
2021-01-29 00:20:46 +05:30
= paginate @project_runners, theme: "gitlab", param_name: "project_page", params: { expand_runners: true, anchor: 'js-runners-settings' }
2015-09-25 12:07:36 +05:30
2016-06-22 15:30:34 +05:30
- if @assignable_runners.any?
2021-03-08 18:12:59 +05:30
%h4.underlined-title= _('Other available runners')
2015-09-25 12:07:36 +05:30
%ul.bordered-list.available-specific-runners
2017-08-17 22:00:37 +05:30
= render partial: 'projects/runners/runner', collection: @assignable_runners, as: :runner
2021-01-29 00:20:46 +05:30
= paginate @assignable_runners, theme: "gitlab", param_name: "specific_page", :params => { :anchor => 'js-runners-settings'}