From: nSedrickm Date: Mon, 27 Apr 2020 20:04:37 +0000 (+0100) Subject: mgr/dashboard: increase Grafana iframe height to avoid scroll bar X-Git-Tag: v15.2.9~122^2~103^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=a157907d789f344d41873e42d6742aabd854ffb9;p=ceph.git mgr/dashboard: increase Grafana iframe height to avoid scroll bar Add Grafana component style four with height 1160px Fixes : https://tracker.ceph.com/issues/44966 Signed-off-by: Ngwa Sedrick Meh (cherry picked from commit 550762ed872871ca63c44c68fca66ea74bea0cc4) Conflicts: src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/hosts/host-details/host-details.component.html src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-details/osd-details.component.html src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-list/osd-list.component.html src/pybind/mgr/dashboard/frontend/src/app/ceph/pool/pool-details/pool-details.component.html - We are still using the tabset style in octopus, while we use the ngbNav directive in master; Also there are some more tabs in master vs. octopus which are not related to this PR and thus are not included --- diff --git a/src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/hosts/host-details/host-details.component.html b/src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/hosts/host-details/host-details.component.html index ef072c8af68..13edafb0ef1 100644 --- a/src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/hosts/host-details/host-details.component.html +++ b/src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/hosts/host-details/host-details.component.html @@ -19,7 +19,7 @@ *ngIf="permissions.grafana.read"> + grafanaStyle="four"> + grafanaStyle="three"> diff --git a/src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-list/osd-list.component.html b/src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-list/osd-list.component.html index 84faaf14eef..bc1bc78dc23 100644 --- a/src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-list/osd-list.component.html +++ b/src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-list/osd-list.component.html @@ -44,7 +44,7 @@ heading="Overall Performance"> + grafanaStyle="four"> diff --git a/src/pybind/mgr/dashboard/frontend/src/app/ceph/pool/pool-details/pool-details.component.html b/src/pybind/mgr/dashboard/frontend/src/app/ceph/pool/pool-details/pool-details.component.html index a1515e02b78..5dc26d94dbc 100644 --- a/src/pybind/mgr/dashboard/frontend/src/app/ceph/pool/pool-details/pool-details.component.html +++ b/src/pybind/mgr/dashboard/frontend/src/app/ceph/pool/pool-details/pool-details.component.html @@ -14,7 +14,7 @@ + grafanaStyle="three"> {