From 4a99f5dae75636cffdf88f850c46b9e5aad43e69 Mon Sep 17 00:00:00 2001 From: bndw Date: Sat, 14 Feb 2026 14:14:56 -0800 Subject: style: restyle dashboard to match index page aesthetic MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Transform metrics dashboard from dark modern theme to classic beige theme matching the index page. Changes: - Background: dark (#0a0a0a) → beige (#f5f0e8) - Font: sans-serif → Courier New (monospace) - Colors: vibrant gradients → simple black/brown - Cards: dark (#1a1a1a) → white with black borders - Layout: max-width 1200px → 960px (matches index) - Typography: modern sizing → classic smaller fonts - Logo: Add muxstr SVG logo matching index page - Dividers: Add horizontal rules for section breaks - Status badge: Green gradient → orange/brown (#c97556) - Removed: Color coding (success/error/warning classes) Result: Clean, classic, brutalist aesthetic consistent with index page. The dashboard now feels like part of the same relay, not a separate app. --- internal/metrics/dashboard.html | 152 +++++++++++++++++++++++----------------- 1 file changed, 89 insertions(+), 63 deletions(-) diff --git a/internal/metrics/dashboard.html b/internal/metrics/dashboard.html index 63b42ed..489327e 100644 --- a/internal/metrics/dashboard.html +++ b/internal/metrics/dashboard.html @@ -5,91 +5,116 @@ Nostr Relay Metrics -
-

Nostr Relay Metrics

-

Real-time relay statistics and performance metrics

+
+ + + muxstr + +
+ +

Relay Metrics

+

Real-time statistics and performance data. Auto-refreshes every 5 seconds.

+ +
-
+
@@ -108,7 +133,7 @@

Connections

Active - 0 + 0
Total @@ -132,11 +157,11 @@
Success - 0 + 0
Errors - 0 + 0
@@ -144,11 +169,11 @@

Authentication

Success - 0 + 0
Failed - 0 + 0
@@ -156,7 +181,7 @@

Rate Limiting

Blocked - 0 + 0
@@ -185,8 +210,9 @@ -

Auto-refreshing every 5 seconds

- +
+ +

Auto-refreshing every 5 seconds