From 58b2bb9a6cef5da58e20ac49d01f5639e654804b Mon Sep 17 00:00:00 2001 From: HotSwapp <47397945+HotSwapp@users.noreply.github.com> Date: Tue, 7 Oct 2025 22:15:08 -0500 Subject: [PATCH] Add stored filename visibility and auto-select functionality to admin upload results - Added 'Stored Filename' column to Upload Results table showing the actual filename used for storage - Added 'Select All' button for each import type section to quickly select/deselect all files - Improved JavaScript to handle select all/deselect all functionality with proper button state management - Enhanced UI to clearly distinguish between original and stored filenames --- app/templates/admin.html | 64 ++++++++++++++++++++++++++++++++++++---- 1 file changed, 59 insertions(+), 5 deletions(-) diff --git a/app/templates/admin.html b/app/templates/admin.html index 3825872..2050b68 100644 --- a/app/templates/admin.html +++ b/app/templates/admin.html @@ -75,6 +75,7 @@ Original Filename + Stored Filename Import Type Size Status @@ -83,7 +84,16 @@ {% for result in upload_results %} - {{ result.filename }} + + {{ result.filename }} +
+ Original name + + + {{ result.stored_filename }} +
+ Stored as + {{ result.import_type }} @@ -148,12 +158,18 @@
- +
+ + +
{% for file in files %}