]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/blob
a032be5f10399760a547234bd98a30dbdb6e2d6c
[ceph-ci.git] /
1 <cd-modal [modalRef]="bsModalRef">
2   <ng-container class="modal-title"
3                 i18n>
4     OSDs {deep, select, 1 {Deep }}Scrub
5   </ng-container>
6
7   <ng-container class="modal-content">
8     <form name="scrubForm"
9           class="form-horizontal"
10           #formDir="ngForm"
11           [formGroup]="scrubForm"
12           novalidate>
13       <div class="modal-body">
14         <div *ngIf="selected.length === 1">
15           <p i18n>
16             You are about to apply a {deep, select, 1 {deep }}scrub to the OSD
17             <strong>{{ selected[0].id }}</strong>.
18           </p>
19         </div>
20       </div>
21
22       <div class="modal-footer">
23         <cd-submit-button (submitAction)="scrub()"
24                           [form]="scrubForm"
25                           i18n>
26           Submit
27         </cd-submit-button>
28
29         <button class="btn btn-link btn-sm"
30                 (click)="bsModalRef.hide()"
31                 i18n>
32           Cancel
33         </button>
34       </div>
35     </form>
36   </ng-container>
37 </cd-modal>