2017-04-03 13:54:40 -04:00
|
|
|
.template-selectors-menu
|
|
|
|
.templates-selectors-label
|
|
|
|
Template
|
|
|
|
.template-selector-dropdowns-wrap
|
|
|
|
.template-type-selector.js-template-type-selector-wrap.hidden
|
2017-10-24 10:39:58 -04:00
|
|
|
= dropdown_tag("Choose type", options: { toggle_class: 'js-template-type-selector', title: "Choose a template type" } )
|
2017-04-03 13:54:40 -04:00
|
|
|
.license-selector.js-license-selector-wrap.js-template-selector-wrap.hidden
|
2017-10-24 10:39:58 -04:00
|
|
|
= dropdown_tag("Apply a license template", options: { toggle_class: 'js-license-selector', title: "Apply a license", filter: true, placeholder: "Filter", data: { data: licenses_for_select, project: @project.name, fullname: @project.namespace.human_name } } )
|
2017-04-03 13:54:40 -04:00
|
|
|
.gitignore-selector.js-gitignore-selector-wrap.js-template-selector-wrap.hidden
|
2017-10-24 10:39:58 -04:00
|
|
|
= dropdown_tag("Apply a .gitignore template", options: { toggle_class: 'js-gitignore-selector', title: "Apply a template", filter: true, placeholder: "Filter", data: { data: gitignore_names } } )
|
2017-04-03 13:54:40 -04:00
|
|
|
.gitlab-ci-yml-selector.js-gitlab-ci-yml-selector-wrap.js-template-selector-wrap.hidden
|
2017-10-24 10:39:58 -04:00
|
|
|
= dropdown_tag("Apply a GitLab CI Yaml template", options: { toggle_class: 'js-gitlab-ci-yml-selector', title: "Apply a template", filter: true, placeholder: "Filter", data: { data: gitlab_ci_ymls } } )
|
2017-04-03 13:54:40 -04:00
|
|
|
.dockerfile-selector.js-dockerfile-selector-wrap.js-template-selector-wrap.hidden
|
2017-10-24 10:39:58 -04:00
|
|
|
= dropdown_tag("Apply a Dockerfile template", options: { toggle_class: 'js-dockerfile-selector', title: "Apply a template", filter: true, placeholder: "Filter", data: { data: dockerfile_names } } )
|
2017-04-03 13:54:40 -04:00
|
|
|
.template-selectors-undo-menu.hidden
|
|
|
|
%span.text-info Template applied
|
|
|
|
%button.btn.btn-sm.btn-info Undo
|