Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
gitlab-ce
Commits
bb7597ef
Commit
bb7597ef
authored
May 04, 2018
by
Dylan Griffith
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add ip address and timeout to group runner views
parent
18500fdf
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
1 deletion
+18
-1
app/views/groups/runners/_form.html.haml
app/views/groups/runners/_form.html.haml
+11
-0
app/views/groups/runners/show.html.haml
app/views/groups/runners/show.html.haml
+7
-1
No files found.
app/views/groups/runners/_form.html.haml
View file @
bb7597ef
...
...
@@ -23,11 +23,22 @@
Token
.col-sm-10
=
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
=
label_tag
:description
,
class:
'control-label'
do
Description
.col-sm-10
=
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
=
label_tag
:tag_list
,
class:
'control-label'
do
Tags
...
...
app/views/groups/runners/show.html.haml
View file @
bb7597ef
...
...
@@ -30,6 +30,9 @@
%tr
%td
Version
%td
=
@runner
.
version
%tr
%td
IP Address
%td
=
@runner
.
ip_address
%tr
%td
Revision
%td
=
@runner
.
revision
...
...
@@ -42,10 +45,13 @@
%tr
%td
Description
%td
=
@runner
.
description
%tr
%td
Maximum job timeout
%td
=
@runner
.
maximum_timeout_human_readable
%tr
%td
Last contact
%td
-
if
@runner
.
contacted_at
#{
time_ago_in_words
(
@runner
.
contacted_at
)
}
ago
=
time_ago_with_tooltip
@runner
.
contacted_at
-
else
Never
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment