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