]> git.proxmox.com Git - ceph.git/blame - ceph/src/pybind/mgr/dashboard/frontend/src/app/ceph/pool/pool-list/pool-list.component.html
import 15.2.5
[ceph.git] / ceph / src / pybind / mgr / dashboard / frontend / src / app / ceph / pool / pool-list / pool-list.component.html
CommitLineData
11fdf7f2 1<tabset>
9f95a23c
TL
2 <tab i18n-heading
3 heading="Pools List">
11fdf7f2
TL
4 <cd-view-cache *ngFor="let viewCacheStatus of viewCacheStatusList"
5 [status]="viewCacheStatus.status"
6 [statusFor]="viewCacheStatus.statusFor"></cd-view-cache>
7
8 <cd-table #table
9f95a23c 9 id="pool-list"
11fdf7f2
TL
10 [data]="pools"
11 [columns]="columns"
12 selectionType="single"
e306af50
TL
13 [hasDetails]="true"
14 (setExpandedRow)="setExpandedRow($event)"
11fdf7f2 15 (updateSelection)="updateSelection($event)">
9f95a23c
TL
16 <cd-table-actions id="pool-list-actions"
17 class="table-actions"
11fdf7f2
TL
18 [permission]="permissions.pool"
19 [selection]="selection"
20 [tableActions]="tableActions">
21 </cd-table-actions>
22 <cd-pool-details cdTableDetail
9f95a23c 23 id="pool-list-details"
e306af50 24 [selection]="expandedRow"
11fdf7f2 25 [permissions]="permissions"
e306af50 26 [cacheTiers]="cacheTiers">
11fdf7f2
TL
27 </cd-pool-details>
28 </cd-table>
29
30 <ng-template #poolUsageTpl
31 let-row="row">
f6b5b4d7
TL
32 <cd-usage-bar *ngIf="row.stats?.avail_raw?.latest"
33 [total]="row.stats.bytes_used.latest + row.stats.avail_raw.latest"
34 [used]="row.stats.bytes_used.latest"
35 decimals="2">
11fdf7f2
TL
36 </cd-usage-bar>
37 </ng-template>
38 </tab>
39
40 <tab i18n-heading
41 *ngIf="permissions.grafana.read"
42 heading="Overall Performance">
43 <cd-grafana [grafanaPath]="'ceph-pools-overview?'"
44 uid="z99hzWtmk"
45 grafanaStyle="two">
46 </cd-grafana>
47 </tab>
48</tabset>