From 231cd1653fadd54d3020398238e2f52aa8205cd9 Mon Sep 17 00:00:00 2001 From: gilesb Date: Wed, 7 Jan 2026 20:44:19 +0000 Subject: [PATCH] Update UI to use Tailwind CSS with dark theme MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Replace custom CSS with Tailwind CSS via CDN - Dark theme matching L1 server styling - Responsive layouts for all pages - Updated: home, login/register, registry, activities, users pages - Modern form styling and table layouts 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- server.py | 489 ++++++++++++++++++++++-------------------------------- 1 file changed, 200 insertions(+), 289 deletions(-) diff --git a/server.py b/server.py index 6b94228..01aac81 100644 --- a/server.py +++ b/server.py @@ -218,200 +218,71 @@ def sign_activity(activity: dict, username: str) -> dict: # ============ HTML Templates ============ +# Tailwind CSS config for L2 - dark theme to match L1 +TAILWIND_CONFIG = ''' + + + +''' + + def base_html(title: str, content: str, username: str = None) -> str: - """Base HTML template.""" + """Base HTML template with Tailwind CSS dark theme.""" user_section = f''' -