debian-mirror-gitlab/app/views/admin/groups/index.html.haml

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

19 lines
842 B
Text
Raw Normal View History

2018-11-18 11:00:15 +05:30
- page_title _("Groups")
2023-03-04 22:38:38 +05:30
- add_page_specific_style 'page_bundles/search'
2014-09-02 18:07:02 +05:30
2019-12-04 20:38:33 +05:30
.top-area
2020-07-28 23:09:34 +05:30
.gl-mt-3.gl-mb-3
2019-12-04 20:38:33 +05:30
= form_tag admin_groups_path, method: :get, class: 'js-search-form' do |f|
= hidden_field_tag :sort, @sort
.search-holder
.search-field-holder
2022-06-21 17:19:12 +05:30
= search_field_tag :name, params[:name].presence, class: "form-control search-text-input js-search-input", autofocus: true, spellcheck: false, placeholder: 'Search by name', data: { qa_selector: 'group_search_field' }
2021-01-03 14:25:43 +05:30
= sprite_icon('search', css_class: 'search-icon')
2019-12-04 20:38:33 +05:30
= render "shared/groups/dropdown", options_hash: admin_groups_sort_options_hash
2023-03-04 22:38:38 +05:30
= render Pajamas::ButtonComponent.new(variant: :confirm, href: new_admin_group_path) do
2019-12-04 20:38:33 +05:30
= _('New group')
%ul.content-list
= render @groups
2014-09-02 18:07:02 +05:30
2019-12-04 20:38:33 +05:30
= paginate @groups, theme: "gitlab"