]> 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.0 Octopus source
[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 (updateSelection)="updateSelection($event)">
14 <cd-table-actions id="pool-list-actions"
15 class="table-actions"
16 [permission]="permissions.pool"
17 [selection]="selection"
18 [tableActions]="tableActions">
19 </cd-table-actions>
20 <cd-pool-details cdTableDetail
21 id="pool-list-details"
22 [selection]="selection"
23 [permissions]="permissions"
24 [cacheTiers]="selectionCacheTiers">
25 </cd-pool-details>
26 </cd-table>
27
28 <ng-template #poolUsageTpl
29 let-row="row">
30 <cd-usage-bar *ngIf="row.stats?.max_avail?.latest"
31 [totalBytes]="row.stats.bytes_used.latest + row.stats.max_avail.latest"
32 [usedBytes]="row.stats.bytes_used.latest">
33 </cd-usage-bar>
34 </ng-template>
35 </tab>
36
37 <tab i18n-heading
38 *ngIf="permissions.grafana.read"
39 heading="Overall Performance">
40 <cd-grafana [grafanaPath]="'ceph-pools-overview?'"
41 uid="z99hzWtmk"
42 grafanaStyle="two">
43 </cd-grafana>
44 </tab>
45 </tabset>