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
Léo-Paul Géneau
gitlab-ce
Commits
78f779b9
Commit
78f779b9
authored
Jun 19, 2017
by
Takuya Noguchi
Committed by
Jose Ivan Vargas
Nov 01, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Mobile-friendly table on Admin Runners
parent
0b8b631a
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
29 additions
and
16 deletions
+29
-16
app/assets/stylesheets/pages/runners.scss
app/assets/stylesheets/pages/runners.scss
+7
-0
app/views/admin/runners/index.html.haml
app/views/admin/runners/index.html.haml
+17
-16
changelogs/unreleased/jivl-mobile-friendly-table-runners.yml
changelogs/unreleased/jivl-mobile-friendly-table-runners.yml
+5
-0
No files found.
app/assets/stylesheets/pages/runners.scss
View file @
78f779b9
...
@@ -50,3 +50,10 @@
...
@@ -50,3 +50,10 @@
font-size
:
11px
;
font-size
:
11px
;
}
}
}
}
@media
(
max-width
:
$screen-md-max
)
{
.runners-content
{
width
:
100%
;
overflow
:
auto
;
}
}
app/views/admin/runners/index.html.haml
View file @
78f779b9
...
@@ -52,22 +52,23 @@
...
@@ -52,22 +52,23 @@
%br
%br
-
if
@runners
.
any?
-
if
@runners
.
any?
.table-holder
.runners-content
%table
.table
.table-holder
%thead
%table
.table
%tr
%thead
%th
Type
%tr
%th
Runner token
%th
Type
%th
Description
%th
Runner token
%th
Version
%th
Description
%th
Projects
%th
Version
%th
Jobs
%th
Projects
%th
Tags
%th
Jobs
%th
=
link_to
'Last contact'
,
admin_runners_path
(
params
.
slice
(
:search
).
merge
(
sort:
'contacted_asc'
))
%th
Tags
%th
%th
Last contact
%th
-
@runners
.
each
do
|
runner
|
-
@runners
.
each
do
|
runner
|
=
render
"admin/runners/runner"
,
runner:
runner
=
render
"admin/runners/runner"
,
runner:
runner
=
paginate
@runners
,
theme:
"gitlab"
=
paginate
@runners
,
theme:
"gitlab"
-
else
-
else
.nothing-here-block
No runners found
.nothing-here-block
No runners found
changelogs/unreleased/jivl-mobile-friendly-table-runners.yml
0 → 100644
View file @
78f779b9
---
title
:
Mobile-friendly table on Admin Runners
merge_request
:
author
:
Takuya Noguchi
type
:
fixed
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