]> git.proxmox.com Git - ceph.git/blob - ceph/src/pybind/mgr/dashboard/frontend/src/app/ceph/pool/pool-list/pool-list.component.html
import 15.2.4
[ceph.git] / ceph / src / pybind / mgr / dashboard / frontend / src / app / ceph / pool / pool-list / pool-list.component.html
1 <tabset>
2 <tab i18n-heading
3 heading="Pools List">
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
9 id="pool-list"
10 [data]="pools"
11 [columns]="columns"
12 selectionType="single"
13 [hasDetails]="true"
14 (setExpandedRow)="setExpandedRow($event)"
15 (updateSelection)="updateSelection($event)">
16 <cd-table-actions id="pool-list-actions"
17 class="table-actions"
18 [permission]="permissions.pool"
19 [selection]="selection"
20 [tableActions]="tableActions">
21 </cd-table-actions>
22 <cd-pool-details cdTableDetail
23 id="pool-list-details"
24 [selection]="expandedRow"
25 [permissions]="permissions"
26 [cacheTiers]="cacheTiers">
27 </cd-pool-details>
28 </cd-table>
29
30 <ng-template #poolUsageTpl
31 let-row="row">
32 <cd-usage-bar *ngIf="row.stats?.max_avail?.latest"
33 [totalBytes]="row.stats.bytes_used.latest + row.stats.max_avail.latest"
34 [usedBytes]="row.stats.bytes_used.latest">
35 </cd-usage-bar>
36 </ng-template>
37 </tab>
38
39 <tab i18n-heading
40 *ngIf="permissions.grafana.read"
41 heading="Overall Performance">
42 <cd-grafana [grafanaPath]="'ceph-pools-overview?'"
43 uid="z99hzWtmk"
44 grafanaStyle="two">
45 </cd-grafana>
46 </tab>
47 </tabset>