summaryrefslogtreecommitdiff
path: root/app/views/admin
diff options
context:
space:
mode:
authorAlexis Reigel <alexis.reigel.ext@siemens.com>2018-06-13 11:18:47 +0200
committerAlexis Reigel <alexis.reigel.ext@siemens.com>2019-02-27 20:19:49 +0100
commit0fad7aa79c7925391b3586187a6da464bffbd49d (patch)
tree2e12e6c995cc0e3882f1fd4a1469bddf223707ef /app/views/admin
parentd3accd36a0fda4014979c916ef1c0a3875a30199 (diff)
downloadgitlab-ce-0fad7aa79c7925391b3586187a6da464bffbd49d.tar.gz
add tag filter to admin runners page
Diffstat (limited to 'app/views/admin')
-rw-r--r--app/views/admin/runners/index.html.haml18
1 files changed, 18 insertions, 0 deletions
diff --git a/app/views/admin/runners/index.html.haml b/app/views/admin/runners/index.html.haml
index 81380587fd2..f0a0a1897c7 100644
--- a/app/views/admin/runners/index.html.haml
+++ b/app/views/admin/runners/index.html.haml
@@ -92,6 +92,24 @@
= button_tag class: %w[btn btn-link] do
= runner_type.titleize
+ #js-dropdown-admin-runner-type.filtered-search-input-dropdown-menu.dropdown-menu
+ %ul{ data: { dropdown: true } }
+ - Ci::Runner::AVAILABLE_TYPES.each do |runner_type|
+ %li.filter-dropdown-item{ data: { value: runner_type } }
+ = button_tag class: %w[btn btn-link] do
+ = runner_type.titleize
+
+ #js-dropdown-runner-tag.filtered-search-input-dropdown-menu.dropdown-menu
+ %ul{ data: { dropdown: true } }
+ %li.filter-dropdown-item{ data: { value: 'none' } }
+ %button.btn.btn-link
+ = _('No Tag')
+ %li.divider.droplab-item-ignore
+ %ul.filter-dropdown{ data: { dynamic: true, dropdown: true } }
+ %li.filter-dropdown-item
+ %button.btn.btn-link.js-data-value
+ {{title}}
+
= button_tag class: %w[clear-search hidden] do
= icon('times')
.filter-dropdown-container