]>
Commit | Line | Data |
---|---|---|
f67539c2 | 1 | <cd-modal [modalRef]="activeModal"> |
11fdf7f2 TL |
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"> | |
f67539c2 TL |
12 | <p i18n>To purge, select |
13 | <kbd>All</kbd> | |
14 | or one pool and click | |
15 | <kbd>Purge</kbd>. </p> | |
11fdf7f2 TL |
16 | |
17 | <div class="form-group"> | |
9f95a23c | 18 | <label class="col-form-label mx-auto" |
11fdf7f2 TL |
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"> | |
9f95a23c TL |
26 | <select id="poolName" |
27 | name="poolName" | |
33c7a0ef | 28 | class="form-control" |
11fdf7f2 TL |
29 | formControlName="poolName" |
30 | *ngIf="poolPermission.read"> | |
31 | <option value="" | |
32 | i18n>All</option> | |
33 | <option *ngFor="let pool of pools" | |
34 | [value]="pool">{{ pool }}</option> | |
35 | </select> | |
36 | </div> | |
37 | </div> | |
38 | ||
39 | <div class="modal-footer"> | |
f67539c2 TL |
40 | <cd-form-button-panel (submitActionEvent)="purge()" |
41 | [form]="purgeForm" | |
42 | [submitText]="actionLabels.PURGE"></cd-form-button-panel> | |
11fdf7f2 TL |
43 | </div> |
44 | </form> | |
45 | </ng-container> | |
46 | </cd-modal> |