]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/blob
1c80dc4dd4d6dab2d60a9d5240229d5b36eb4238
[ceph-ci.git] /
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                               [showCancel]="showCancel"
24                               [showSubmit]="showSubmit"></cd-form-button-panel>
25       </div>
26     </form>
27   </ng-container>
28 </cd-modal>