]> git.proxmox.com Git - ceph.git/blame - ceph/src/pybind/mgr/dashboard/frontend/src/app/ceph/pool/pool-list/pool-list.component.html
bump version to 18.2.2-pve1
[ceph.git] / ceph / src / pybind / mgr / dashboard / frontend / src / app / ceph / pool / pool-list / pool-list.component.html
CommitLineData
39ae355f
TL
1<nav ngbNav
2 #nav="ngbNav"
3 class="nav-tabs">
4 <ng-container ngbNavItem>
f67539c2
TL
5 <a ngbNavLink
6 i18n>Pools List</a>
7 <ng-template ngbNavContent>
8 <cd-table #table
9 id="pool-list"
10 [data]="pools"
11 [columns]="columns"
12 selectionType="single"
13 [hasDetails]="true"
14 [status]="tableStatus"
15 [autoReload]="-1"
16 (fetchData)="taskListService.fetch()"
17 (setExpandedRow)="setExpandedRow($event)"
18 (updateSelection)="updateSelection($event)">
19 <cd-table-actions id="pool-list-actions"
20 class="table-actions"
21 [permission]="permissions.pool"
22 [selection]="selection"
23 [tableActions]="tableActions">
24 </cd-table-actions>
25 <cd-pool-details cdTableDetail
26 id="pool-list-details"
27 [selection]="expandedRow"
28 [permissions]="permissions"
29 [cacheTiers]="cacheTiers">
30 </cd-pool-details>
31 </cd-table>
32 </ng-template>
39ae355f 33 </ng-container>
11fdf7f2 34
39ae355f
TL
35 <ng-container ngbNavItem
36 *cdScope="'grafana'">
f67539c2
TL
37 <a ngbNavLink
38 i18n>Overall Performance</a>
39 <ng-template ngbNavContent>
39ae355f
TL
40 <cd-grafana i18n-title
41 title="Ceph pools overview"
42 [grafanaPath]="'ceph-pools-overview?'"
2a845540 43 [type]="'metrics'"
f67539c2
TL
44 uid="z99hzWtmk"
45 grafanaStyle="two">
46 </cd-grafana>
11fdf7f2 47 </ng-template>
39ae355f
TL
48 </ng-container>
49</nav>
f67539c2
TL
50
51<div [ngbNavOutlet]="nav"></div>
11fdf7f2 52
f67539c2
TL
53<ng-template #poolUsageTpl
54 let-row="row">
55 <cd-usage-bar *ngIf="row.stats?.avail_raw?.latest"
56 [total]="row.stats.bytes_used.latest + row.stats.avail_raw.latest"
57 [used]="row.stats.bytes_used.latest"
39ae355f 58 [title]="row.pool_name"
f67539c2
TL
59 decimals="2">
60 </cd-usage-bar>
61</ng-template>