gitlab-org--gitlab-foss/app/views/projects/runners/show.html.haml

68 lines
1.4 KiB
Text
Raw Normal View History

- page_title "#{@runner.description} ##{@runner.id}", "Runners"
%h3.page-title
Runner ##{@runner.id}
.pull-right
- if @runner.shared?
%span.runner-state.runner-state-shared
Shared
- else
%span.runner-state.runner-state-specific
Specific
2015-08-25 21:42:46 -04:00
2015-10-19 05:19:45 -04:00
.table-holder
%table.table
%thead
%tr
%th Property Name
%th Value
2015-08-25 21:42:46 -04:00
%tr
%td Active
%td= @runner.active? ? 'Yes' : 'No'
2017-07-31 08:59:04 -04:00
%tr
%td Protected
%td= @runner.ref_protected? ? 'Yes' : 'No'
%tr
%td Can run untagged jobs
%td= @runner.run_untagged? ? 'Yes' : 'No'
%tr
%td Locked to this project
%td= @runner.locked? ? 'Yes' : 'No'
%tr
%td Tags
2015-10-19 05:19:45 -04:00
%td
- @runner.tag_list.sort.each do |tag|
2015-10-19 05:19:45 -04:00
%span.label.label-primary
= tag
%tr
%td Name
%td= @runner.name
2015-10-19 05:19:45 -04:00
%tr
%td Version
%td= @runner.version
%tr
%td IP Address
%td= @runner.ip_address
2015-10-19 05:19:45 -04:00
%tr
%td Revision
%td= @runner.revision
2015-10-19 05:19:45 -04:00
%tr
%td Platform
%td= @runner.platform
2015-10-19 05:19:45 -04:00
%tr
%td Architecture
%td= @runner.architecture
2015-10-19 05:19:45 -04:00
%tr
%td Description
%td= @runner.description
%tr
%td Maximum job timeout
%td= @runner.maximum_timeout_human_readable
2015-10-19 05:19:45 -04:00
%tr
%td Last contact
2015-10-19 05:19:45 -04:00
%td
- if @runner.contacted_at
#{time_ago_in_words(@runner.contacted_at)} ago
- else
Never