]> git.proxmox.com Git - ceph.git/blob - ceph/src/pybind/mgr/dashboard/frontend/src/app/ceph/block/rbd-trash-purge-modal/rbd-trash-purge-modal.component.html
import new upstream nautilus stable release 14.2.8
[ceph.git] / ceph / src / pybind / mgr / dashboard / frontend / src / app / ceph / block / rbd-trash-purge-modal / rbd-trash-purge-modal.component.html
1 <cd-modal [modalRef]="modalRef">
2 <ng-container i18n
3 class="modal-title">Purge Trash</ng-container>
4
5 <ng-container class="modal-content">
6 <form name="purgeForm"
7 class="form"
8 #formDir="ngForm"
9 [formGroup]="purgeForm"
10 novalidate>
11 <div class="modal-body">
12 <p>
13 <ng-container i18n>To purge, select one or All images and click</ng-container>&nbsp;
14 <kbd i18n>Purge Trash</kbd>.&nbsp;
15 </p>
16
17 <div class="form-group">
18 <label class="center-block"
19 i18n>Pool:</label>
20 <input class="form-control"
21 type="text"
22 placeholder="Pool name..."
23 i18n-placeholder
24 formControlName="poolName"
25 *ngIf="!poolPermission.read">
26 <select class="form-control"
27 formControlName="poolName"
28 *ngIf="poolPermission.read">
29 <option value=""
30 i18n>All</option>
31 <option *ngFor="let pool of pools"
32 [value]="pool">{{ pool }}</option>
33 </select>
34 </div>
35 </div>
36
37 <div class="modal-footer">
38 <div class="button-group text-right">
39 <cd-submit-button [form]="purgeForm"
40 (submitAction)="purge()"
41 i18n>Purge Trash</cd-submit-button>
42 <cd-back-button [back]="modalRef.hide"
43 name="Cancel"
44 i18n-name>
45 </cd-back-button>
46 </div>
47 </div>
48 </form>
49 </ng-container>
50 </cd-modal>