summaryrefslogtreecommitdiffstats
path: root/src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-scrub-modal/osd-scrub-modal.component.html
blob: 568c700fa69e1b6fc3c34bdbe704a8e6e77e3208 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<cd-modal [modalRef]="activeModal">
  <span class="modal-title"
        i18n>OSDs {deep, select, true {Deep } other {}}Scrub</span>

  <ng-container class="modal-content">
    <form name="scrubForm"
          #formDir="ngForm"
          [formGroup]="scrubForm"
          novalidate>
      <div class="modal-body">
        <p i18n>You are about to apply a {deep, select, true {deep } other {}}scrub to
          the OSD(s): <strong>{{ selected | join }}</strong>.</p>
      </div>

      <div class="modal-footer">
        <cd-form-button-panel (submitActionEvent)="scrub()"
                              [form]="scrubForm"
                              [submitText]="actionLabels.UPDATE"></cd-form-button-panel>
      </div>
    </form>
  </ng-container>
</cd-modal>