diff options
Diffstat (limited to 'src/pybind/mgr/dashboard/frontend/src/app/ceph/performance-counter/table-performance-counter/table-performance-counter.component.html')
-rw-r--r-- | src/pybind/mgr/dashboard/frontend/src/app/ceph/performance-counter/table-performance-counter/table-performance-counter.component.html | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/pybind/mgr/dashboard/frontend/src/app/ceph/performance-counter/table-performance-counter/table-performance-counter.component.html b/src/pybind/mgr/dashboard/frontend/src/app/ceph/performance-counter/table-performance-counter/table-performance-counter.component.html new file mode 100644 index 000000000..17c757356 --- /dev/null +++ b/src/pybind/mgr/dashboard/frontend/src/app/ceph/performance-counter/table-performance-counter/table-performance-counter.component.html @@ -0,0 +1,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> |