summaryrefslogtreecommitdiffstats
path: root/src/pybind/mgr/dashboard/frontend/src/app/ceph/performance-counter/table-performance-counter/table-performance-counter.component.html
blob: 17c757356490502656d64fbb07891205d2df5ec4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<cd-table *ngIf="counters; else warning"
          [data]="counters"
          [columns]="columns"
          columnMode="flex"
          [autoSave]="false"
          (fetchData)="getCounters($event)">
  <ng-template #valueTpl
               let-row="row">
    {{ row.value | dimless }} {{ row.unit }}
  </ng-template>
</cd-table>
<ng-template #warning>
  <cd-alert-panel type="warning"
                  i18n>Performance counters not available</cd-alert-panel>
</ng-template>