From 570709b0bd01594b5d0b53b9b85f6e5e5be9bd57 Mon Sep 17 00:00:00 2001 From: Albrecht Degering Date: Tue, 18 Aug 2026 10:42:53 +0200 Subject: [PATCH] Adopt shared WebUI layout primitives --- .../src/features/postbox/PostboxAdminPanel.tsx | 18 +++++++++--------- webui/src/features/postbox/PostboxPage.tsx | 10 +++++----- webui/src/styles/postbox.css | 15 --------------- 3 files changed, 14 insertions(+), 29 deletions(-) diff --git a/webui/src/features/postbox/PostboxAdminPanel.tsx b/webui/src/features/postbox/PostboxAdminPanel.tsx index e79688a..497086e 100644 --- a/webui/src/features/postbox/PostboxAdminPanel.tsx +++ b/webui/src/features/postbox/PostboxAdminPanel.tsx @@ -12,7 +12,7 @@ import { Save, Trash2 } from "lucide-react"; -import { +import { FormGrid, ActionBlockerHint, AdminPageLayout, Button, @@ -990,7 +990,7 @@ function TemplateDialog({ } > -
+
{linkedCopy.enabled ? ( -
+ onChange({ ...draft, name: event.target.value })} /> @@ -1491,7 +1491,7 @@ function ExactPostboxDialog({ onChange={(checked) => onChange({ ...draft, portal_visible: checked })} />
- + ); } @@ -1541,7 +1541,7 @@ function MaterializeDialog({ } > -
+ onChange({ ...draft, context_key: event.target.value })} /> -
+ ); } diff --git a/webui/src/features/postbox/PostboxPage.tsx b/webui/src/features/postbox/PostboxPage.tsx index dfc5ddb..1436bbb 100644 --- a/webui/src/features/postbox/PostboxPage.tsx +++ b/webui/src/features/postbox/PostboxPage.tsx @@ -18,7 +18,7 @@ import { UserRoundCheck, X } from "lucide-react"; -import { +import { FormGrid, ActionBlockerHint, Button, ConfirmDialog, @@ -938,7 +938,7 @@ export default function PostboxPage({ } > -
+
- +
Source postboxes {postboxes.map((postbox) => ( @@ -1014,7 +1014,7 @@ export default function PostboxPage({ } > -
+