summaryrefslogtreecommitdiffstats
path: root/src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-creation-preview-modal/osd-creation-preview-modal.component.html
blob: 9b442dbc78dbbfbc038e3fddfb871219f520a5a7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<cd-modal [modalRef]="activeModal">
  <ng-container class="modal-title"
                i18n>OSD creation preview</ng-container>

  <ng-container class="modal-content">
    <form #frm="ngForm"
          [formGroup]="formGroup"
          novalidate>
      <div class="modal-body">
        <h4 i18n>DriveGroups</h4>
        <pre>{{ driveGroups | json}}</pre>
      </div>
      <div class="modal-footer">
        <cd-form-button-panel (submitActionEvent)="onSubmit()"
                              [form]="formGroup"
                              [submitText]="action | titlecase"></cd-form-button-panel>
      </div>
    </form>
  </ng-container>
</cd-modal>