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

39 lines
1.4 KiB
Text
Raw Normal View History

2016-06-02 11:05:42 +05:30
= form_for runner, url: runner_form_url, html: { class: 'form-horizontal' } do |f|
= form_errors(runner)
.form-group
= label :active, "Active", class: 'control-label'
.col-sm-10
.checkbox
= f.check_box :active
2017-08-17 22:00:37 +05:30
%span.light Paused Runners don't accept new jobs
2016-06-02 11:05:42 +05:30
.form-group
= label :run_untagged, 'Run untagged jobs', class: 'control-label'
.col-sm-10
.checkbox
= f.check_box :run_untagged
%span.light Indicates whether this runner can pick jobs without tags
2016-06-22 15:30:34 +05:30
.form-group
= label :locked, 'Lock to current projects', class: 'control-label'
.col-sm-10
.checkbox
= f.check_box :locked
%span.light When a runner is locked, it cannot be assigned to other projects
2016-06-02 11:05:42 +05:30
.form-group
= label_tag :token, class: 'control-label' do
Token
.col-sm-10
= f.text_field :token, class: 'form-control', readonly: true
.form-group
= label_tag :description, class: 'control-label' do
Description
.col-sm-10
= f.text_field :description, class: 'form-control'
.form-group
= label_tag :tag_list, class: 'control-label' do
Tags
.col-sm-10
2017-08-17 22:00:37 +05:30
= f.text_field :tag_list, value: runner.tag_list.sort.join(', '), class: 'form-control'
2016-11-03 12:29:30 +05:30
.help-block You can setup jobs to only use Runners with specific tags
2016-06-02 11:05:42 +05:30
.form-actions
= f.submit 'Save changes', class: 'btn btn-save'