]> git.apps.os.sepia.ceph.com Git - ceph.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>
Thu, 5 Oct 2023 09:08:53 +0000 (14:38 +0530)
commit1c02a94f59d31594a22ef4080bdc962538288587
treed6ff1eba11ef0d2cecc223c6983c432351f3b8bb
parent2eb8e0ea1574db552b07371ecc4245ada50bf372
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>
(cherry picked from commit 3f904b0a658e3759ef00fdd5a95f6ecf5ba76718)

 Conflicts:
src/pybind/mgr/dashboard/frontend/src/app/ceph/dashboard-v3/dashboard/dashboard-v3.component.html
  - Accept the incoming change
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