From 7483a67557ee30911e36c851e7bd5591740ba7f8 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Thu, 30 Apr 2026 22:45:54 +0300 Subject: [ma] Add missing SPA controls: download, tags, thumbnail/cover regen, upload, filesize display, duration/filesize/tag filters, favorites --- web/css/components.css | 8 +++ web/css/layout.css | 16 +++++ web/index.html | 37 ++++++++++++ web/js/api.js | 7 +++ web/js/app.js | 159 +++++++++++++++++++++++++++++++++++++++++++++++-- web/js/keyboard.js | 2 + web/js/state.js | 2 +- 7 files changed, 224 insertions(+), 7 deletions(-) (limited to 'web') diff --git a/web/css/components.css b/web/css/components.css index 90b48d9..d1ee759 100644 --- a/web/css/components.css +++ b/web/css/components.css @@ -83,6 +83,14 @@ label { color: var(--text-secondary); } +.input-sm { + width: auto; + min-width: 5rem; + max-width: 8rem; + padding: 0.35rem 0.5rem; + font-size: 0.78rem; +} + /* Error message */ .error-message { color: var(--danger); diff --git a/web/css/layout.css b/web/css/layout.css index ccaeb88..8860f77 100644 --- a/web/css/layout.css +++ b/web/css/layout.css @@ -298,6 +298,22 @@ body { .text-75 { font-size: 0.75rem; } .text-90 { font-size: 0.9rem; } .flex-1-18 { flex: 1 1 18rem; } +.set-row { + display: flex; + align-items: center; + gap: 0.25rem; + padding-right: 0.25rem; +} +.tag-chip { + display: inline-flex; + align-items: center; + gap: 0.2rem; + padding: 0.2rem 0.5rem; + border-radius: var(--radius-sm); + background: var(--accent-soft); + color: var(--accent); + font-size: 0.78rem; +} .grid-full { grid-column: 1 / -1; } /* Toolbar */ diff --git a/web/index.html b/web/index.html index ef607ac..4b63f13 100644 --- a/web/index.html +++ b/web/index.html @@ -24,6 +24,7 @@ + @@ -42,6 +43,11 @@ + + + + +
@@ -93,6 +99,37 @@ + + + + + +