]> git.proxmox.com Git - ceph.git/blob - ceph/src/pybind/mgr/dashboard/frontend/src/app/ceph/block/iscsi/iscsi.component.html
eccb79514c1bf6ce6dc41a37a0a8d3aeb0eb73ff
[ceph.git] / ceph / src / pybind / mgr / dashboard / frontend / src / app / ceph / block / iscsi / iscsi.component.html
1 <cd-iscsi-tabs></cd-iscsi-tabs>
2
3 <legend i18n>Gateways</legend>
4 <cd-table [data]="gateways"
5 (fetchData)="refresh()"
6 [columns]="gatewaysColumns">
7 </cd-table>
8
9 <legend i18n>Images</legend>
10 <cd-table [data]="images"
11 [columns]="imagesColumns">
12 </cd-table>
13
14 <ng-template #iscsiSparklineTpl
15 let-row="row"
16 let-value="value">
17 <span *ngIf="row.backstore === 'user:rbd'">
18 <cd-sparkline [data]="value"
19 [isBinary]="row.cdIsBinary"></cd-sparkline>
20 </span>
21 <span *ngIf="row.backstore !== 'user:rbd'"
22 class="text-muted">
23 n/a
24 </span>
25 </ng-template>
26
27 <ng-template #iscsiPerSecondTpl
28 let-row="row"
29 let-value="value">
30 <span *ngIf="row.backstore === 'user:rbd'">
31 {{ value }} /s
32 </span>
33 <span *ngIf="row.backstore !== 'user:rbd'"
34 class="text-muted">
35 n/a
36 </span>
37 </ng-template>
38
39 <ng-template #iscsiRelativeDateTpl
40 let-row="row"
41 let-value="value">
42 <span *ngIf="row.backstore === 'user:rbd'">
43 {{ value | relativeDate | notAvailable }}
44 </span>
45 <span *ngIf="row.backstore !== 'user:rbd'"
46 class="text-muted">
47 n/a
48 </span>
49 </ng-template>