dashboard layout fixes

This commit is contained in:
Christoph Kluge
2025-12-22 10:39:40 +01:00
parent 1cd4a57bd3
commit 89875db4a9
3 changed files with 11 additions and 9 deletions

View File

@@ -338,7 +338,7 @@
</script>
<Card style="height: 98vh;">
<CardBody class="align-content-center p-1">
<CardBody class="align-content-center p-2">
<Row>
<Col>
<Refresher
@@ -506,7 +506,7 @@
useColors={false}
useLegend={false}
allowSizeChange
width={colWidthRoof - 10}
width={colWidthRoof}
height={300}
cluster={presetCluster}
subCluster={clusterInfo?.roofData ? clusterInfo.roofData : null}
@@ -574,8 +574,8 @@
{#key $statesTimed?.data?.nodeStatesTimed}
<Stacked
data={$statesTimed?.data?.nodeStatesTimed}
width={colWidthStacked * 0.95}
xlabel="Time"
width={colWidthStacked}
height={260}
ylabel="Nodes"
yunit = "#Count"
title = "Cluster Status"

View File

@@ -23,7 +23,7 @@
width = 0,
height = 300,
data = null,
xlabel = "",
xlabel = null,
ylabel = "",
yunit = "",
title = "",

View File

@@ -355,7 +355,7 @@
</script>
<Card style="height: 88vh;">
<Card>
<CardBody class="align-content-center">
<Row>
<Col>
@@ -540,7 +540,7 @@
<Roofline
useColors={true}
allowSizeChange
width={colWidthRoof - 10}
width={colWidthRoof}
height={300}
subCluster={clusterInfo?.roofData ? clusterInfo.roofData : null}
roofData={transformJobsStatsToData($statusQuery?.data?.jobsMetricStats)}
@@ -568,7 +568,8 @@
{#key $statesTimed?.data?.nodeStates}
<Stacked
data={$statesTimed?.data?.nodeStates}
width={colWidthStacked1 * 0.95}
width={colWidthStacked1}
height={330}
xlabel="Time"
ylabel="Nodes"
yunit = "#Count"
@@ -584,7 +585,8 @@
{#key $statesTimed?.data?.healthStates}
<Stacked
data={$statesTimed?.data?.healthStates}
width={colWidthStacked2 * 0.95}
width={colWidthStacked2}
height={330}
xlabel="Time"
ylabel="Nodes"
yunit = "#Count"