diff options
author | Alexis Reigel <alexis.reigel.ext@siemens.com> | 2018-06-13 12:18:47 +0300 |
---|---|---|
committer | Alexis Reigel <alexis.reigel.ext@siemens.com> | 2019-02-27 22:19:49 +0300 |
commit | 0fad7aa79c7925391b3586187a6da464bffbd49d (patch) | |
tree | 2e12e6c995cc0e3882f1fd4a1469bddf223707ef /app/views | |
parent | d3accd36a0fda4014979c916ef1c0a3875a30199 (diff) |
add tag filter to admin runners page
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/admin/runners/index.html.haml | 18 |
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 |