From 0645a3712a235c371610016ec1f2c7af4268e77d Mon Sep 17 00:00:00 2001 From: Ryan Date: Fri, 25 Apr 2025 20:40:00 -0400 Subject: [PATCH] Use Material icons for dark/light toggle and simplify download flows --- CHANGELOG.md | 6 + public/css/styles.css | 3 + public/index.html | 73 +++++++----- public/js/fileActions.js | 234 ++++++++++++++++++--------------------- public/js/i18n.js | 2 + public/js/main.js | 79 +++++++------ 6 files changed, 208 insertions(+), 189 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f9790b6..7abcea8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## Changes 4/25/2025 + +- Switch single‐file download to native `` link (no JS buffering) +- Keep spinner modal during ZIP creation and download blob on POST response +- Replace text toggle with a single button showing sun/moon icons and hover tooltip + ## Changes 4/24/2025 1.2.5 - Enhance README and wiki with expanded installation instructions diff --git a/public/css/styles.css b/public/css/styles.css index 8331134..86b2e4b 100644 --- a/public/css/styles.css +++ b/public/css/styles.css @@ -80,6 +80,9 @@ body.dark-mode .header-container { background-color: #1f1f1f; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.7); } +#darkModeIcon { + color: #fff; +} .header-logo { max-height: 50px; diff --git a/public/index.html b/public/index.html index 9cc14b3..3969da8 100644 --- a/public/index.html +++ b/public/index.html @@ -41,9 +41,9 @@ - + @@ -78,16 +78,16 @@ stroke: white; stroke-width: 2; } - + .divider { stroke: #1565C0; stroke-width: 1.5; } - + .drawer { fill: #FFFFFF; } - + .handle { fill: #1565C0; } @@ -159,7 +159,11 @@ - + @@ -200,7 +204,8 @@
- Use Basic HTTP + Use Basic + HTTP Login
@@ -284,10 +289,10 @@ - + + @@ -394,33 +399,47 @@ - -