]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mgr/dashboard: fix the landing page layout issues
authorNizamudeen A <nia@redhat.com>
Tue, 19 Sep 2023 06:42:36 +0000 (12:12 +0530)
committerNizamudeen A <nia@redhat.com>
Tue, 3 Oct 2023 06:31:16 +0000 (12:01 +0530)
commit3f904b0a658e3759ef00fdd5a95f6ecf5ba76718
treeea80ec8dde3828bc2af2714aa6cbebd08c0c5a1b
parent73dd77f8e74a94ccbaa3478cb2565c811d23b2fe
mgr/dashboard: fix the landing page layout issues

We were following a row-col grid layout for the landing page.
First row includes Details, Status and Capacity
Second row for Inventory and Cluster Utilization

So if one of the item in the first row increases, it pushes the entire
second row downwards.

To fix this, I made a col-row grid.

First col has Details and Inventory in two rows.
Second col has Status and Capacity as a col and Cluster Utilization as a
single row

Fixes: https://tracker.ceph.com/issues/62961
Signed-off-by: Nizamudeen A <nia@redhat.com>
Co-authored-by: cloudbehl <cloudbehl@gmail.com>
12 files changed:
src/pybind/mgr/dashboard/frontend/cypress/e2e/ui/dashboard-v3.e2e-spec.ts
src/pybind/mgr/dashboard/frontend/src/app/ceph/dashboard-v3/dashboard-pie/dashboard-pie.component.html
src/pybind/mgr/dashboard/frontend/src/app/ceph/dashboard-v3/dashboard/dashboard-v3.component.html
src/pybind/mgr/dashboard/frontend/src/app/ceph/dashboard-v3/dashboard/dashboard-v3.component.scss
src/pybind/mgr/dashboard/frontend/src/app/ceph/dashboard-v3/dashboard/dashboard-v3.component.spec.ts
src/pybind/mgr/dashboard/frontend/src/app/ceph/dashboard-v3/dashboard/dashboard-v3.component.ts
src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-overview-dashboard/rgw-overview-dashboard.component.html
src/pybind/mgr/dashboard/frontend/src/app/shared/components/card/card.component.html
src/pybind/mgr/dashboard/frontend/src/app/shared/components/card/card.component.scss
src/pybind/mgr/dashboard/frontend/src/app/shared/components/card/card.component.ts
src/pybind/mgr/dashboard/frontend/src/app/shared/enum/health-icon.enum.ts
src/pybind/mgr/dashboard/frontend/src/app/shared/services/prometheus-alert.service.ts