]> git.proxmox.com Git - ceph.git/blob - ceph/src/pybind/mgr/dashboard/frontend/src/app/ceph/block/rbd-list/rbd-list.component.html
dc198e90724f6d0b8d2329b463cb5ca3f7d931a4
[ceph.git] / ceph / src / pybind / mgr / dashboard / frontend / src / app / ceph / block / rbd-list / rbd-list.component.html
1 <cd-rbd-tabs></cd-rbd-tabs>
2
3 <cd-view-cache *ngFor="let viewCacheStatus of viewCacheStatusList"
4 [status]="viewCacheStatus.status"
5 [statusFor]="viewCacheStatus.statusFor"></cd-view-cache>
6
7 <cd-table #table
8 [data]="images"
9 columnMode="flex"
10 [columns]="columns"
11 identifier="unique_id"
12 [searchableObjects]="true"
13 forceIdentifier="true"
14 selectionType="single"
15 [hasDetails]="true"
16 (setExpandedRow)="setExpandedRow($event)"
17 (updateSelection)="updateSelection($event)">
18 <cd-table-actions class="table-actions"
19 [permission]="permission"
20 [selection]="selection"
21 [tableActions]="tableActions">
22 </cd-table-actions>
23 <cd-rbd-details cdTableDetail
24 [selection]="expandedRow">
25 </cd-rbd-details>
26 </cd-table>
27
28 <ng-template #usageNotAvailableTooltipTpl>
29 <div i18n
30 [innerHtml]="'Only available for RBD images with <strong>fast-diff</strong> enabled'"></div>
31 </ng-template>
32
33 <ng-template #parentTpl
34 let-value="value">
35 <span *ngIf="value">{{ value.pool_name }}<span
36 *ngIf="value.pool_namespace">/{{ value.pool_namespace }}</span>/{{ value.image_name }}@{{ value.snap_name }}</span>
37 <span *ngIf="!value">-</span>
38 </ng-template>
39
40 <ng-template #flattenTpl
41 let-value>
42 You are about to flatten
43 <strong>{{ value.child }}</strong>.
44 <br>
45 <br> All blocks will be copied from parent
46 <strong>{{ value.parent }}</strong> to child
47 <strong>{{ value.child }}</strong>.
48 </ng-template>
49
50 <ng-template #deleteTpl
51 let-hasSnapshots="hasSnapshots"
52 let-snapshots="snapshots">
53 <div class="alert alert-warning"
54 *ngIf="hasSnapshots"
55 role="alert">
56 <span i18n>Deleting this image will also delete all its snapshots.</span>
57 <br>
58 <ng-container *ngIf="snapshots.length > 0">
59 <span i18n>The following snapshots are currently protected and will be removed:</span>
60 <ul>
61 <li *ngFor="let snapshot of snapshots">{{ snapshot }}</li>
62 </ul>
63 </ng-container>
64 </div>
65 </ng-template>