From 65a278dbee61dd36219cfe30ffbaf50f86c309a4 Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 24 Feb 2026 22:25:04 +0000 Subject: [PATCH] =?UTF-8?q?fix:=20comprehensive=20iPhone=20UI=20overhaul?= =?UTF-8?q?=20=E2=80=94=20glassmorphism,=20responsive=20layouts,=20theme?= =?UTF-8?q?=20unification?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - base.html: add missing {% block extra_styles %}, mobile hamburger menu with slide-out nav, interactive-widget viewport meta, -webkit-text-size-adjust - style.css: define 15+ missing CSS variables (--bg-secondary, --text-muted, --accent, --success, --danger, etc.), add missing utility classes (.grid, .stat, .agent-card, .agent-avatar, .form-group), glassmorphism card effects, iPhone breakpoints (768px, 390px), 44pt min touch targets, smooth animations - mobile.html: rewrite with proper theme variables, glass cards, touch-friendly quick actions grid, chat with proper message bubbles - swarm_live.html: replace undefined CSS vars, use mc-panel theme cards - marketplace.html: responsive agent cards that stack on iPhone, themed pricing - voice_button.html & voice_enhanced.html: proper theme integration, touch-sized buttons, themed result containers - create_task.html: mobile-friendly forms with 16px font (prevents iOS zoom) - tools.html & creative.html: themed headers, responsive column stacking - spark.html: replace all hardcoded blue (#00d4ff) colors with theme purple/orange - briefing.html: replace hardcoded bootstrap colors with theme variables Fixes: header nav overflow on iPhone (7 links in single row), missing extra_styles block silently dropping child template styles, undefined CSS variables breaking mobile/swarm/marketplace/voice pages, sub-44pt touch targets, missing -webkit-text-size-adjust, inconsistent color themes. 97 UI tests pass (91 UI-specific + 6 creative route). https://claude.ai/code/session_01JiyhGyee2zoMN4p8xWYqEe --- src/dashboard/templates/base.html | 69 ++- src/dashboard/templates/briefing.html | 317 +++++----- src/dashboard/templates/create_task.html | 120 ++-- src/dashboard/templates/creative.html | 284 +++++---- src/dashboard/templates/marketplace.html | 233 ++++--- src/dashboard/templates/mobile.html | 392 +++++++----- src/dashboard/templates/spark.html | 652 +++++++++----------- src/dashboard/templates/swarm_live.html | 210 ++++--- src/dashboard/templates/tools.html | 131 ++-- src/dashboard/templates/voice_button.html | 250 ++++---- src/dashboard/templates/voice_enhanced.html | 248 +++++--- static/style.css | 531 +++++++++++++++- tests/test_swarm_live_page.py | 2 +- 13 files changed, 2121 insertions(+), 1318 deletions(-) diff --git a/src/dashboard/templates/base.html b/src/dashboard/templates/base.html index 8648288..5a316a7 100644 --- a/src/dashboard/templates/base.html +++ b/src/dashboard/templates/base.html @@ -2,7 +2,7 @@ - + @@ -11,40 +11,91 @@ - + + {% block extra_styles %}{% endblock %}
- TIMMY TIME + TIMMY TIME MISSION CONTROL
-
+ + + + + +
+ +
+ +
{% block content %}{% endblock %}
diff --git a/src/dashboard/templates/briefing.html b/src/dashboard/templates/briefing.html index 5d98f02..d7c16aa 100644 --- a/src/dashboard/templates/briefing.html +++ b/src/dashboard/templates/briefing.html @@ -2,10 +2,154 @@ {% block title %}Timmy Time — Morning Briefing{% endblock %} +{% block extra_styles %} + +{% endblock %} + {% block content %}
-
Good morning.
@@ -18,191 +162,26 @@
- -
+
// TIMMY’S REPORT
{{ briefing.summary | e }}
-
// APPROVAL QUEUE - {{ briefing.approval_items | length }} pending + {{ briefing.approval_items | length }} pending
- -
Loading approval items…
+
Loading approval items…
- - {% endblock %} diff --git a/src/dashboard/templates/create_task.html b/src/dashboard/templates/create_task.html index 8541a00..9f8b895 100644 --- a/src/dashboard/templates/create_task.html +++ b/src/dashboard/templates/create_task.html @@ -3,71 +3,73 @@ {% block title %}{{ page_title }}{% endblock %} {% block content %} -
-
-

➕ Create New Task

-

Agents will bid to complete this task

-
- -
-
- - -
- -
- - -
- -
- - - Agents with these capabilities will be eligible to bid -
- -
-
- - -
-
- - -
-
- - -
-
- -
- Cancel - -
-
- -
-
+
-
-
-

How Auctions Work

+
+
// CREATE NEW TASK
+
+

Agents will bid to complete this task

+ +
+
+ + +
+ +
+ + +
+ +
+ + + Agents with these capabilities will be eligible to bid +
+ +
+
+ + +
+
+ + +
+
+ + +
+
+ +
+ Cancel + +
+
+ +
-
    +
+ +
+
// HOW AUCTIONS WORK
+
+
  1. You create a task with requirements
  2. A 15-second auction begins automatically
  3. Eligible agents place bids in satoshis
  4. The lowest bid wins the task
  5. The winning agent completes the task and earns the sats
  6. -
+ +
+
+
{% endblock %} diff --git a/src/dashboard/templates/creative.html b/src/dashboard/templates/creative.html index 676a70b..df0d1fc 100644 --- a/src/dashboard/templates/creative.html +++ b/src/dashboard/templates/creative.html @@ -2,43 +2,105 @@ {% block title %}Creative Studio — Mission Control{% endblock %} +{% block extra_styles %} + +{% endblock %} + {% block content %} -
-
-
-

Creative Studio

-

Image, music, and video generation — powered by Pixel, Lyra, and Reel

+
+ +
+
+
CREATIVE STUDIO
+
Image, music, and video generation — powered by Pixel, Lyra, and Reel
-
-
-
-

{{ image_count }}

- Images -
+
+
+
{{ image_count }}
+
IMAGES
-
-
-

{{ music_count }}

- Tracks -
+
+
{{ music_count }}
+
TRACKS
-
-
-

{{ video_count }}

- Clips -
+
+
{{ video_count }}
+
CLIPS
-
-
-

{{ project_count }}

- Projects -
+
+
{{ project_count }}
+
PROJECTS
-