2019-09-30 21:07:59 +05:30
|
|
|
#modal-confirm-danger.modal.qa-confirm-modal{ tabindex: -1 }
|
2015-04-26 12:48:37 +05:30
|
|
|
.modal-dialog
|
|
|
|
.modal-content
|
|
|
|
.modal-header
|
2019-07-31 22:56:46 +05:30
|
|
|
%h3.page-title= _('Confirmation required')
|
2018-11-08 19:23:39 +05:30
|
|
|
%button.close{ type: "button", "data-dismiss": "modal", "aria-label" => _('Close') }
|
2021-09-04 01:27:46 +05:30
|
|
|
%span{ "aria-hidden": "true" } ×
|
2015-04-26 12:48:37 +05:30
|
|
|
|
|
|
|
.modal-body
|
2016-06-02 11:05:42 +05:30
|
|
|
%p.text-danger.js-confirm-text
|
2015-04-26 12:48:37 +05:30
|
|
|
|
|
|
|
%p
|
2019-07-31 22:56:46 +05:30
|
|
|
%span.js-warning-text= _('This action can lead to data loss. To prevent accidental actions we ask you to confirm your intention.')
|
2015-04-26 12:48:37 +05:30
|
|
|
%br
|
2021-12-11 22:18:48 +05:30
|
|
|
- phrase_code = '<code class="js-legacy-confirm-danger-match">%{phrase_name}</code>'.html_safe % { phrase_name: phrase }
|
2019-12-21 20:55:43 +05:30
|
|
|
= _('Please type %{phrase_code} to proceed or close this modal to cancel.').html_safe % { phrase_code: phrase_code }
|
2015-04-26 12:48:37 +05:30
|
|
|
|
|
|
|
.form-group
|
2021-12-11 22:18:48 +05:30
|
|
|
= text_field_tag 'confirm_name_input', '', class: 'form-control js-legacy-confirm-danger-input qa-confirm-input'
|
2021-01-03 14:25:43 +05:30
|
|
|
.form-actions
|
2021-12-11 22:18:48 +05:30
|
|
|
= submit_tag _('Confirm'), class: "gl-button btn btn-danger js-legacy-confirm-danger-submit qa-confirm-button"
|