2015-11-03 05:44:07 -05:00
|
|
|
- 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
|
2016-05-05 06:20:33 -04:00
|
|
|
%td Active
|
|
|
|
%td= @runner.active? ? 'Yes' : 'No'
|
|
|
|
%tr
|
|
|
|
%td Can run untagged jobs
|
|
|
|
%td= @runner.run_untagged? ? 'Yes' : 'No'
|
2016-06-02 07:06:01 -04:00
|
|
|
%tr
|
2016-06-21 04:31:37 -04:00
|
|
|
%td Locked to this project
|
2016-06-02 07:06:01 -04:00
|
|
|
%td= @runner.locked? ? 'Yes' : 'No'
|
2016-05-05 06:20:33 -04:00
|
|
|
%tr
|
|
|
|
%td Tags
|
2015-10-19 05:19:45 -04:00
|
|
|
%td
|
2017-02-14 17:28:35 -05:00
|
|
|
- @runner.tag_list.sort.each do |tag|
|
2015-10-19 05:19:45 -04:00
|
|
|
%span.label.label-primary
|
|
|
|
= tag
|
|
|
|
%tr
|
2016-05-05 06:20:33 -04:00
|
|
|
%td Name
|
|
|
|
%td= @runner.name
|
2015-10-19 05:19:45 -04:00
|
|
|
%tr
|
2016-05-05 06:20:33 -04:00
|
|
|
%td Version
|
|
|
|
%td= @runner.version
|
2015-10-19 05:19:45 -04:00
|
|
|
%tr
|
2016-05-05 06:20:33 -04:00
|
|
|
%td Revision
|
|
|
|
%td= @runner.revision
|
2015-10-19 05:19:45 -04:00
|
|
|
%tr
|
2016-05-05 06:20:33 -04:00
|
|
|
%td Platform
|
|
|
|
%td= @runner.platform
|
2015-10-19 05:19:45 -04:00
|
|
|
%tr
|
2016-05-05 06:20:33 -04:00
|
|
|
%td Architecture
|
|
|
|
%td= @runner.architecture
|
2015-10-19 05:19:45 -04:00
|
|
|
%tr
|
2016-05-05 06:20:33 -04:00
|
|
|
%td Description
|
|
|
|
%td= @runner.description
|
2015-10-19 05:19:45 -04:00
|
|
|
%tr
|
2016-05-05 06:20:33 -04:00
|
|
|
%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
|