# All files / src/app/ceph/cluster/osd/osd-scrub-modal osd-scrub-modal.component.html

100% Statements 1/1
100% Branches 0/0
100% Functions 0/0
100% Lines 1/1

Press n or j to go to the next uncovered block, b, p or k for the previous block.

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    307x

     <cd-modal [modalRef]="bsModalRef">
      <ng-container class="modal-title"
                    i18n>OSDs {deep, select, 1 {Deep }}Scrub</ng-container>

      <ng-container class="modal-content">
        <form name="scrubForm"
              class="form-horizontal"
              #formDir="ngForm"
              [formGroup]="scrubForm"
              novalidate>
          <div class="modal-body">
            <div *ngIf="selected.length === 1">
              <p i18n>You are about to apply a {deep, select, 1 {deep }}scrub to
                the OSD <strong>{{ selected[0].id }}</strong>.</p>
            </div>
          </div>

          <div class="modal-footer">
            <cd-submit-button (submitAction)="scrub()"
                              [form]="scrubForm"
                              i18n>Submit</cd-submit-button>
            <cd-back-button [back]="bsModalRef.hide"
                            name="Cancel"
                            i18n-name>
            </cd-back-button>
          </div>
        </form>
      </ng-container>
    </cd-modal>