]> git.proxmox.com Git - ceph.git/blob - ceph/src/pybind/mgr/dashboard/frontend/src/app/shared/components/confirmation-modal/confirmation-modal.component.html
update source to Ceph Pacific 16.2.2
[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">
3 <span class="text-warning"
4 *ngIf="warning">
5 <i class="fa fa-exclamation-triangle fa-1x"></i>
6 </span>{{ titleText }}</ng-container>
7 <ng-container class="modal-content">
8 <form name="confirmationForm"
9 #formDir="ngForm"
10 [formGroup]="confirmationForm"
11 novalidate>
12 <div class="modal-body">
13 <ng-container *ngTemplateOutlet="bodyTpl; context: bodyContext"></ng-container>
14 <p *ngIf="description">
15 {{description}}
16 </p>
17 </div>
18 <div class="modal-footer">
19 <cd-form-button-panel (submitActionEvent)="onSubmit(confirmationForm.value)"
20 (backActionEvent)="boundCancel()"
21 [form]="confirmationForm"
22 [submitText]="buttonText"
23 [showSubmit]="showSubmit"></cd-form-button-panel>
24 </div>
25 </form>
26 </ng-container>
27 </cd-modal>