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