Commit bb7597ef authored by Dylan Griffith's avatar Dylan Griffith

Add ip address and timeout to group runner views

parent 18500fdf
...@@ -23,11 +23,22 @@ ...@@ -23,11 +23,22 @@
Token Token
.col-sm-10 .col-sm-10
= f.text_field :token, class: 'form-control', readonly: true = f.text_field :token, class: 'form-control', readonly: true
.form-group
= label_tag :ip_address, class: 'control-label' do
IP Address
.col-sm-10
= f.text_field :ip_address, class: 'form-control', readonly: true
.form-group .form-group
= label_tag :description, class: 'control-label' do = label_tag :description, class: 'control-label' do
Description Description
.col-sm-10 .col-sm-10
= f.text_field :description, class: 'form-control' = f.text_field :description, class: 'form-control'
.form-group
= label_tag :maximum_timeout_human_readable, class: 'control-label' do
Maximum job timeout
.col-sm-10
= f.text_field :maximum_timeout_human_readable, class: 'form-control'
.help-block This timeout will take precedence when lower than Project-defined timeout
.form-group .form-group
= label_tag :tag_list, class: 'control-label' do = label_tag :tag_list, class: 'control-label' do
Tags Tags
......
...@@ -30,6 +30,9 @@ ...@@ -30,6 +30,9 @@
%tr %tr
%td Version %td Version
%td= @runner.version %td= @runner.version
%tr
%td IP Address
%td= @runner.ip_address
%tr %tr
%td Revision %td Revision
%td= @runner.revision %td= @runner.revision
...@@ -42,10 +45,13 @@ ...@@ -42,10 +45,13 @@
%tr %tr
%td Description %td Description
%td= @runner.description %td= @runner.description
%tr
%td Maximum job timeout
%td= @runner.maximum_timeout_human_readable
%tr %tr
%td Last contact %td Last contact
%td %td
- if @runner.contacted_at - if @runner.contacted_at
#{time_ago_in_words(@runner.contacted_at)} ago = time_ago_with_tooltip @runner.contacted_at
- else - else
Never Never
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment