]> git.proxmox.com Git - ceph.git/blob - ceph/src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-flags-modal/osd-flags-modal.component.html
bump version to 18.2.2-pve1
[ceph.git] / ceph / src / pybind / mgr / dashboard / frontend / src / app / ceph / cluster / osd / osd-flags-modal / osd-flags-modal.component.html
1 <cd-modal [modalRef]="activeModal">
2 <ng-container class="modal-title"
3 i18n>Cluster-wide OSD Flags</ng-container>
4
5 <ng-container class="modal-content">
6 <form name="osdFlagsForm"
7 #formDir="ngForm"
8 [formGroup]="osdFlagsForm"
9 novalidate
10 cdFormScope="osd">
11 <div class="modal-body osd-modal">
12 <div class="custom-control custom-checkbox"
13 *ngFor="let flag of flags; let last = last">
14 <input class="custom-control-input"
15 type="checkbox"
16 [checked]="flag.value"
17 (change)="flag.value = !flag.value"
18 [name]="flag.code"
19 [id]="flag.code"
20 [disabled]="flag.disabled">
21 <label class="custom-control-label"
22 [for]="flag.code"
23 ng-class="['tc_' + key]">
24 <strong>{{ flag.name }}</strong>
25 <br>
26 <span class="form-text text-muted">{{ flag.description }}</span>
27 </label>
28 <hr class="m-1"
29 *ngIf="!last">
30 </div>
31 </div>
32
33 <div class="modal-footer">
34 <cd-form-button-panel (submitActionEvent)="submitAction()"
35 [form]="osdFlagsForm"
36 [showSubmit]="permissions.osd.update"
37 [submitText]="actionLabels.UPDATE"></cd-form-button-panel>
38 </div>
39 </form>
40 </ng-container>
41 </cd-modal>