6610f2fdcb
This commit adds an auto SSL toggle switch to the settings page of GitLab Pages domains. This toggle enable or disabled auto SSL management via Let's Encrypt. Toggling the button dynamically updates the form using client-side JavaScript. All changes are behind feature flags.
13 lines
533 B
Text
13 lines
533 B
Text
- add_to_breadcrumbs _("Pages"), project_pages_path(@project)
|
|
- page_title _('New Pages Domain')
|
|
%h3.page-title
|
|
= _("New Pages Domain")
|
|
= render 'projects/pages_domains/helper_text'
|
|
%hr.clearfix
|
|
%div
|
|
= form_for [@project.namespace.becomes(Namespace), @project, @domain], html: { class: 'fieldset-form' } do |f|
|
|
= render 'form', { f: f }
|
|
.form-actions
|
|
= f.submit _('Create New Domain'), class: "btn btn-success"
|
|
.float-right
|
|
= link_to _('Cancel'), project_pages_path(@project), class: 'btn btn-cancel'
|