Commit 78f779b9 authored by Takuya Noguchi's avatar Takuya Noguchi Committed by Jose Ivan Vargas

Mobile-friendly table on Admin Runners

parent 0b8b631a
...@@ -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;
}
}
...@@ -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
---
title: Mobile-friendly table on Admin Runners
merge_request:
author: Takuya Noguchi
type: fixed
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