]> git.proxmox.com Git - ceph.git/blob - ceph/src/pybind/mgr/dashboard/frontend/src/app/shared/components/confirmation-modal/confirmation-modal.component.html
import 15.2.0 Octopus source
[ceph.git] / ceph / src / pybind / mgr / dashboard / frontend / src / app / shared / components / confirmation-modal / confirmation-modal.component.html
1 <cd-modal (hide)="cancel()">
2 <ng-container class="modal-title">{{ titleText }}</ng-container>
3 <ng-container class="modal-content">
4 <form name="confirmationForm"
5 #formDir="ngForm"
6 [formGroup]="confirmationForm"
7 novalidate>
8 <div class="modal-body">
9 <ng-container *ngTemplateOutlet="bodyTpl; context: bodyContext"></ng-container>
10 <p *ngIf="description">
11 {{description}}
12 </p>
13 </div>
14 <div class="modal-footer">
15 <div class="button-group text-right">
16 <cd-submit-button [form]="confirmationForm"
17 (submitAction)="onSubmit(confirmationForm.value)">
18 {{ buttonText }}
19 </cd-submit-button>
20 <cd-back-button [back]="boundCancel"
21 name="Cancel"
22 i18n-name>
23 </cd-back-button>
24 </div>
25 </div>
26 </form>
27 </ng-container>
28 </cd-modal>