Adopt shared WebUI layout primitives
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
import { useEffect, useState } from "react";
|
import { useEffect, useState } from "react";
|
||||||
import { PauseCircle, PlayCircle, RefreshCw } from "lucide-react";
|
import { PauseCircle, PlayCircle, RefreshCw } from "lucide-react";
|
||||||
import {
|
import { ContentGrid,
|
||||||
ActionBlockerHint,
|
ActionBlockerHint,
|
||||||
Button,
|
Button,
|
||||||
Card,
|
Card,
|
||||||
@@ -167,7 +167,7 @@ export default function OpsPage({ settings, auth }: {settings: ApiSettings;auth:
|
|||||||
<MetricCard label="i18n:govoplan-ops.infrastructure_capabilities" value={status?.summary.infrastructure_capability_count ?? 0} tone={status?.infrastructure.available ? "good" : "neutral"} detail={i18nMessage("i18n:govoplan-ops.pending_post_install_tasks", { value0: status?.summary.pending_post_install_task_count ?? 0 })} />
|
<MetricCard label="i18n:govoplan-ops.infrastructure_capabilities" value={status?.summary.infrastructure_capability_count ?? 0} tone={status?.infrastructure.available ? "good" : "neutral"} detail={i18nMessage("i18n:govoplan-ops.pending_post_install_tasks", { value0: status?.summary.pending_post_install_task_count ?? 0 })} />
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div className="dashboard-grid">
|
<ContentGrid columns={2} collapseAt="workspace" className="">
|
||||||
<Card title="i18n:govoplan-ops.health_checks.201c869f">
|
<Card title="i18n:govoplan-ops.health_checks.201c869f">
|
||||||
<CheckList checks={checks} />
|
<CheckList checks={checks} />
|
||||||
</Card>
|
</Card>
|
||||||
@@ -207,7 +207,7 @@ export default function OpsPage({ settings, auth }: {settings: ApiSettings;auth:
|
|||||||
<Card title="i18n:govoplan-ops.sizing_assumptions.6ade9a90">
|
<Card title="i18n:govoplan-ops.sizing_assumptions.6ade9a90">
|
||||||
<SizingTable items={status?.sizing ?? []} />
|
<SizingTable items={status?.sizing ?? []} />
|
||||||
</Card>
|
</Card>
|
||||||
</div>
|
</ContentGrid>
|
||||||
</LoadingFrame>
|
</LoadingFrame>
|
||||||
<ConfirmDialog
|
<ConfirmDialog
|
||||||
open={Boolean(drainTarget)}
|
open={Boolean(drainTarget)}
|
||||||
|
|||||||
Reference in New Issue
Block a user