From d828a6be08803232d033de8c7e7092932bd82516 Mon Sep 17 00:00:00 2001 From: pptx704 Date: Mon, 13 Apr 2026 04:59:40 +0600 Subject: [PATCH] Normalize dashboard page headers: add divider line and align button layout Add consistent mt-6 border-b divider to Capsules, Metrics, and Templates headers. Align Channels header to match Keys page pattern (items-center, description inside the title group). --- .../routes/dashboard/capsules/+layout.svelte | 4 ++- .../routes/dashboard/channels/+page.svelte | 26 ++++++++++--------- .../src/routes/dashboard/metrics/+page.svelte | 2 ++ .../routes/dashboard/templates/+page.svelte | 2 +- 4 files changed, 20 insertions(+), 14 deletions(-) diff --git a/frontend/src/routes/dashboard/capsules/+layout.svelte b/frontend/src/routes/dashboard/capsules/+layout.svelte index c9a2880..0906154 100644 --- a/frontend/src/routes/dashboard/capsules/+layout.svelte +++ b/frontend/src/routes/dashboard/capsules/+layout.svelte @@ -44,7 +44,7 @@ {:else} -
+

@@ -70,6 +70,8 @@

+ +
{/if} diff --git a/frontend/src/routes/dashboard/channels/+page.svelte b/frontend/src/routes/dashboard/channels/+page.svelte index 08b8c82..765180c 100644 --- a/frontend/src/routes/dashboard/channels/+page.svelte +++ b/frontend/src/routes/dashboard/channels/+page.svelte @@ -352,14 +352,19 @@
-
-
-

- Channels -

- {#if !loading && channels.length > 0} - {channels.length} - {/if} +
+
+
+

+ Channels +

+ {#if !loading && channels.length > 0} + {channels.length} + {/if} +
+

+ Route capsule events to Discord, Slack, Telegram, and other destinations. +

-

- Route capsule events to Discord, Slack, Telegram, and other destinations. -

-
+
diff --git a/frontend/src/routes/dashboard/metrics/+page.svelte b/frontend/src/routes/dashboard/metrics/+page.svelte index 271c757..3b9fd73 100644 --- a/frontend/src/routes/dashboard/metrics/+page.svelte +++ b/frontend/src/routes/dashboard/metrics/+page.svelte @@ -29,6 +29,8 @@

Resource usage and performance across all capsules.

+ +
-
+