debian-mirror-gitlab/app/views/projects/blob/_template_selectors.html.haml

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

16 lines
2.2 KiB
Text
Raw Normal View History

2020-11-24 15:15:51 +05:30
.template-selectors-menu.gl-pl-3
2017-08-17 22:00:37 +05:30
.template-selector-dropdowns-wrap
.template-type-selector.js-template-type-selector-wrap.hidden
2020-04-08 14:13:33 +05:30
- toggle_text = should_suggest_gitlab_ci_yml? ? '.gitlab-ci.yml' : 'Select a template type'
= dropdown_tag(_(toggle_text), options: { toggle_class: 'js-template-type-selector qa-template-type-dropdown', dropdown_class: 'dropdown-menu-selectable' })
2017-08-17 22:00:37 +05:30
.license-selector.js-license-selector-wrap.js-template-selector-wrap.hidden
2019-12-21 20:55:43 +05:30
= dropdown_tag(_("Apply a template"), options: { toggle_class: 'js-license-selector qa-license-dropdown', dropdown_class: 'dropdown-menu-selectable', filter: true, placeholder: "Filter", data: { data: licenses_for_select(@project), project: @project.name, fullname: @project.namespace.human_name } } )
2017-08-17 22:00:37 +05:30
.gitignore-selector.js-gitignore-selector-wrap.js-template-selector-wrap.hidden
2019-12-21 20:55:43 +05:30
= dropdown_tag(_("Apply a template"), options: { toggle_class: 'js-gitignore-selector qa-gitignore-dropdown', dropdown_class: 'dropdown-menu-selectable', filter: true, placeholder: "Filter", data: { data: gitignore_names(@project) } } )
2020-10-24 23:57:45 +05:30
.metrics-dashboard-selector.js-metrics-dashboard-selector-wrap.js-template-selector-wrap.hidden
= dropdown_tag(_("Apply a template"), options: { toggle_class: 'js-metrics-dashboard-selector qa-metrics-dashboard-dropdown', dropdown_class: 'dropdown-menu-selectable', filter: true, placeholder: "Filter", data: { data: metrics_dashboard_ymls(@project) } } )
2020-04-08 14:13:33 +05:30
#gitlab-ci-yml-selector.gitlab-ci-yml-selector.js-gitlab-ci-yml-selector-wrap.js-template-selector-wrap.hidden
2021-04-29 21:17:54 +05:30
= dropdown_tag(_("Apply a template"), options: { toggle_class: 'js-gitlab-ci-yml-selector qa-gitlab-ci-yml-dropdown', dropdown_class: 'dropdown-menu-selectable', filter: true, placeholder: "Filter", data: { data: gitlab_ci_ymls(@project), selected: params[:template] } } )
2017-08-17 22:00:37 +05:30
.dockerfile-selector.js-dockerfile-selector-wrap.js-template-selector-wrap.hidden
2019-12-21 20:55:43 +05:30
= dropdown_tag(_("Apply a template"), options: { toggle_class: 'js-dockerfile-selector qa-dockerfile-dropdown', dropdown_class: 'dropdown-menu-selectable', filter: true, placeholder: "Filter", data: { data: dockerfile_names(@project) } } )