Merge branch 'jivl-mobile-friendly-table-runners' into 'master'
Mobile-friendly table on Admin Runners Closes #33848 See merge request gitlab-org/gitlab-ce!15134
This commit is contained in:
commit
e54dd249aa
|
@ -50,3 +50,10 @@
|
|||
font-size: 11px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: $screen-md-max) {
|
||||
.runners-content {
|
||||
width: 100%;
|
||||
overflow: auto;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -52,22 +52,23 @@
|
|||
%br
|
||||
|
||||
- if @runners.any?
|
||||
.table-holder
|
||||
%table.table
|
||||
%thead
|
||||
%tr
|
||||
%th Type
|
||||
%th Runner token
|
||||
%th Description
|
||||
%th Version
|
||||
%th Projects
|
||||
%th Jobs
|
||||
%th Tags
|
||||
%th= link_to 'Last contact', admin_runners_path(params.slice(:search).merge(sort: 'contacted_asc'))
|
||||
%th
|
||||
.runners-content
|
||||
.table-holder
|
||||
%table.table
|
||||
%thead
|
||||
%tr
|
||||
%th Type
|
||||
%th Runner token
|
||||
%th Description
|
||||
%th Version
|
||||
%th Projects
|
||||
%th Jobs
|
||||
%th Tags
|
||||
%th Last contact
|
||||
%th
|
||||
|
||||
- @runners.each do |runner|
|
||||
= render "admin/runners/runner", runner: runner
|
||||
= paginate @runners, theme: "gitlab"
|
||||
- @runners.each do |runner|
|
||||
= render "admin/runners/runner", runner: runner
|
||||
= paginate @runners, theme: "gitlab"
|
||||
- else
|
||||
.nothing-here-block No runners found
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
title: Mobile-friendly table on Admin Runners
|
||||
merge_request:
|
||||
author: Takuya Noguchi
|
||||
type: fixed
|
Loading…
Reference in New Issue