summaryrefslogtreecommitdiff
path: root/app/views/admin/runners
diff options
context:
space:
mode:
authorKamil Trzciński <ayufan@ayufan.eu>2018-09-26 16:27:27 +0000
committerKamil Trzciński <ayufan@ayufan.eu>2018-09-26 16:27:27 +0000
commit4586d77c85647063675108b0dcdcfebed0c890ca (patch)
tree382e3d9b36243bd0da2a1c59303b2851adebe68a /app/views/admin/runners
parent779169d337394be7cf2b76d01b42550d7a60b488 (diff)
parent2466a51407205cc16f19c2d055ca21032675e1da (diff)
downloadgitlab-ce-4586d77c85647063675108b0dcdcfebed0c890ca.tar.gz
Merge branch 'feature/runner-type-filter-for-admin-view' into 'master'
Feature: Runner type filter for admin view See merge request gitlab-org/gitlab-ce!19649
Diffstat (limited to 'app/views/admin/runners')
-rw-r--r--app/views/admin/runners/index.html.haml9
1 files changed, 9 insertions, 0 deletions
diff --git a/app/views/admin/runners/index.html.haml b/app/views/admin/runners/index.html.haml
index ee2e1703fdb..a5326f4b909 100644
--- a/app/views/admin/runners/index.html.haml
+++ b/app/views/admin/runners/index.html.haml
@@ -83,12 +83,21 @@
{{hint}}
%span.js-filter-tag.dropdown-light-content
{{tag}}
+
#js-dropdown-admin-runner-status.filtered-search-input-dropdown-menu.dropdown-menu
%ul{ data: { dropdown: true } }
- Ci::Runner::AVAILABLE_STATUSES.each do |status|
%li.filter-dropdown-item{ data: { value: status } }
= button_tag class: %w[btn btn-link] do
= status.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
+
= button_tag class: %w[clear-search hidden] do
= icon('times')
.filter-dropdown-container