Add Grafana component style four with height 1160px
Fixes : https://tracker.ceph.com/issues/44966
Signed-off-by: Ngwa Sedrick Meh <nsedrick101@gmail.com>
(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
*ngIf="permissions.grafana.read">
<cd-grafana [grafanaPath]="'host-details?var-ceph_hosts=' + selectedHostname"
uid="rtOg0AiWz"
- grafanaStyle="three">
+ grafanaStyle="four">
</cd-grafana>
</tab>
<tab heading="Device health"
heading="Performance Details">
<cd-grafana [grafanaPath]="'osd-device-details?var-osd=osd.' + osd['id']"
uid="CrAHE0iZz"
- grafanaStyle="GrafanaStyles.two">
+ grafanaStyle="three">
</cd-grafana>
</tab>
heading="Overall Performance">
<cd-grafana [grafanaPath]="'osd-overview?'"
uid="lo02I1Aiz"
- grafanaStyle="three">
+ grafanaStyle="four">
</cd-grafana>
</tab>
</tabset>
<cd-grafana [grafanaPath]="'ceph-pool-detail?var-pool_name='
+ selection['pool_name']"
uid="-xyV8KCiz"
- grafanaStyle="one">
+ grafanaStyle="three">
</cd-grafana>
</tab>
<tab *ngIf="selection.type === 'replicated'"
height: 900px;
}
+.grafana_four {
+ height: 1160px;
+}
+
.timepicker {
label {
font-weight: 700;
this.styles = {
one: 'grafana_one',
two: 'grafana_two',
- three: 'grafana_three'
+ three: 'grafana_three',
+ four: 'grafana_four'
};
this.settingsService.ifSettingConfigured('api/grafana/url', (url) => {