]> git.proxmox.com Git - ceph.git/blame - ceph/src/pybind/mgr/dashboard/frontend/src/app/ceph/block/iscsi/iscsi.component.html
update sources to ceph Nautilus 14.2.1
[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>
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 #statusColorTpl
15 let-value="value">
16 <span class="label"
17 [ngClass]="{'label-success': 'up' == value, 'label-danger': 'down' == value}">{{ value }}</span>
18</ng-template>
19
20<ng-template #iscsiSparklineTpl
21 let-row="row"
22 let-value="value">
23 <span *ngIf="row.backstore === 'user:rbd'">
24 <cd-sparkline [data]="value"
25 [isBinary]="row.cdIsBinary"></cd-sparkline>
26 </span>
27 <span *ngIf="row.backstore !== 'user:rbd'"
28 class="text-muted">
29 n/a
30 </span>
31</ng-template>
32
33<ng-template #iscsiPerSecondTpl
34 let-row="row"
35 let-value="value">
36 <span *ngIf="row.backstore === 'user:rbd'">
37 {{ value }} /s
38 </span>
39 <span *ngIf="row.backstore !== 'user:rbd'"
40 class="text-muted">
41 n/a
42 </span>
43</ng-template>
44
45<ng-template #iscsiRelativeDateTpl
46 let-row="row"
47 let-value="value">
48 <span *ngIf="row.backstore === 'user:rbd'">
49 {{ value | relativeDate }}
50 </span>
51 <span *ngIf="row.backstore !== 'user:rbd'"
52 class="text-muted">
53 n/a
54 </span>
55</ng-template>