From a6878f5d2321d7e4d76bcfbda901306ff49a7a8f Mon Sep 17 00:00:00 2001 From: Daniel Maksymilian Syrnicki Date: Thu, 16 Apr 2026 12:19:54 +0200 Subject: [PATCH] feat(ui): shared /style.css + top nav across landing and /apps MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Slice 1 of the on-box UI uplevel. Consolidates the two duplicated stylesheets (landing's webinstaller/app.py and /apps's inline block in furtka/api.py) into one sheet served by Caddy at /style.css. Expands the token set (spacing, radii, shadows, focus ring, warn-fg, accent-soft, card-hover), adds a prefers-color-scheme light theme, and introduces shared primitives for later slices: .nav, .chip, .card, .kv, .coming, .grid-apps, .app-tile, .app-icon. Also adds a persistent top nav (Home / Apps) to both pages — Jakob's Law, so users always have a way back — and collapses the /apps "Last action" log behind a details disclosure so it stops dominating the page. Format fallout on drives.py picked up by ruff. Co-Authored-By: Claude Opus 4.6 (1M context) --- furtka/api.py | 67 +++----- webinstaller/app.py | 361 ++++++++++++++++++++++++++++++++++++++++- webinstaller/drives.py | 6 +- 3 files changed, 377 insertions(+), 57 deletions(-) diff --git a/furtka/api.py b/furtka/api.py index f342925..c461cd8 100644 --- a/furtka/api.py +++ b/furtka/api.py @@ -25,56 +25,33 @@ _HTML = """ Furtka Apps - + -

Furtka Apps

-

Install or remove resource-manager apps on this Furtka box.

-
No authentication on this UI yet. Anyone on your LAN can install or remove apps. Don't expose this to the wider internet.
+
+ -

Installed

-
+

Furtka Apps

+

Install or remove resource-manager apps on this Furtka box.

+
No authentication on this UI yet. Anyone on your LAN can install or remove apps. Don't expose this to the wider internet.
-

Available to install

-
+

Installed

+
-

Last action

-
(none yet)
+

Available to install

+
+ +
+ Last action +
(none yet)
+
+