summaryrefslogtreecommitdiffstats
path: root/src/pybind/mgr/dashboard/frontend/src/app/ceph/pool/pool-details/pool-details.component.html
blob: 1b0cd563cc8aa37a959b718faaa08cf36b7df615 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
<ng-container *ngIf="selection"
              cdTableDetail>
  <ul ngbNav
      #nav="ngbNav"
      class="nav-tabs"
      cdStatefulTab="pool-details">
    <li ngbNavItem="details">
      <a ngbNavLink
         i18n>Details</a>
      <ng-template ngbNavContent>
        <cd-table-key-value [renderObjects]="true"
                            [data]="poolDetails"
                            [autoReload]="false">
        </cd-table-key-value>
      </ng-template>
    </li>
    <li ngbNavItem="performance-details"
        *ngIf="permissions.grafana.read">
      <a ngbNavLink
         i18n>Performance Details</a>
      <ng-template ngbNavContent>
        <cd-grafana grafanaPath="ceph-pool-detail?var-pool_name={{selection.pool_name}}"
                    uid="-xyV8KCiz"
                    grafanaStyle="three">
        </cd-grafana>
      </ng-template>
    </li>
    <li ngbNavItem="configuration"
        *ngIf="selection.type === 'replicated'">
      <a ngbNavLink
         i18n>Configuration</a>
      <ng-template ngbNavContent>
        <cd-rbd-configuration-table [data]="selectedPoolConfiguration"></cd-rbd-configuration-table>
      </ng-template>
    </li>
    <li ngbNavItem="cache-tiers-details"
        *ngIf="selection['tiers']?.length > 0">
      <a ngbNavLink
         i18n>Cache Tiers Details</a>
      <ng-template ngbNavContent>
        <cd-table [data]="cacheTiers"
                  [columns]="cacheTierColumns"
                  [autoSave]="false"
                  columnMode="flex">
        </cd-table>
      </ng-template>
    </li>
  </ul>

  <div [ngbNavOutlet]="nav"></div>
</ng-container>