From 993f945c2c466c27c042fc4fbae610a53d6f94c7 Mon Sep 17 00:00:00 2001 From: Abhishek Desai Date: Wed, 9 Jul 2025 13:39:50 +0530 Subject: [PATCH] mgr/dashboard: add tab structure to File Systems page and embed Ceph-Filesystem Overview dashboard fixes: https://tracker.ceph.com/issues/72039 Signed-off-by: Abhishek Desai --- .../cephfs-list/cephfs-list.component.html | 82 ++++++++++++++----- .../cephfs-tabs/cephfs-tabs.component.html | 8 +- .../src/app/ceph/cephfs/cephfs.module.ts | 6 +- 3 files changed, 68 insertions(+), 28 deletions(-) diff --git a/src/pybind/mgr/dashboard/frontend/src/app/ceph/cephfs/cephfs-list/cephfs-list.component.html b/src/pybind/mgr/dashboard/frontend/src/app/ceph/cephfs/cephfs-list/cephfs-list.component.html index 7b9934a6020a5..8894f8cc5c14e 100644 --- a/src/pybind/mgr/dashboard/frontend/src/app/ceph/cephfs/cephfs-list/cephfs-list.component.html +++ b/src/pybind/mgr/dashboard/frontend/src/app/ceph/cephfs/cephfs-list/cephfs-list.component.html @@ -1,25 +1,50 @@ - - - -
- - -
-
+ + + + + + + + + + + +
+ + +
+
+
+ + + + + diff --git a/src/pybind/mgr/dashboard/frontend/src/app/ceph/cephfs/cephfs-tabs/cephfs-tabs.component.html b/src/pybind/mgr/dashboard/frontend/src/app/ceph/cephfs/cephfs-tabs/cephfs-tabs.component.html index 4581cc0b3c92c..be2555e6a46ea 100644 --- a/src/pybind/mgr/dashboard/frontend/src/app/ceph/cephfs/cephfs-tabs/cephfs-tabs.component.html +++ b/src/pybind/mgr/dashboard/frontend/src/app/ceph/cephfs/cephfs-tabs/cephfs-tabs.component.html @@ -80,14 +80,14 @@ Performance Details + i18n>Overview diff --git a/src/pybind/mgr/dashboard/frontend/src/app/ceph/cephfs/cephfs.module.ts b/src/pybind/mgr/dashboard/frontend/src/app/ceph/cephfs/cephfs.module.ts index da530d27dc1c5..9f92b814d9d16 100644 --- a/src/pybind/mgr/dashboard/frontend/src/app/ceph/cephfs/cephfs.module.ts +++ b/src/pybind/mgr/dashboard/frontend/src/app/ceph/cephfs/cephfs.module.ts @@ -47,7 +47,8 @@ import { PlaceholderModule, SelectModule, TimePickerModule, - TreeviewModule + TreeviewModule, + TabsModule } from 'carbon-components-angular'; import AddIcon from '@carbon/icons/es/add/32'; @@ -84,7 +85,8 @@ import Trash from '@carbon/icons/es/trash-can/32'; LayoutModule, ComboBoxModule, IconModule, - BaseChartDirective + BaseChartDirective, + TabsModule ], declarations: [ CephfsDetailComponent, -- 2.39.5