From 830ddcc4d107f4febd5f5711275c71e2791b1ec3 Mon Sep 17 00:00:00 2001 From: HotSwapp <47397945+HotSwapp@users.noreply.github.com> Date: Sun, 21 Sep 2025 21:07:21 -0500 Subject: [PATCH] feat: Redesign admin import interface with proper styling and navigation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit IMPROVEMENTS: ✅ Template now extends base.html for consistent navigation and styling ✅ Proper dark mode support with neutral/primary color schemes ✅ Professional card-based layout with rounded corners and shadows ✅ Consistent button styling with icons and hover states ✅ Responsive design with proper spacing and typography ✅ Integrated with main navigation menu and user dropdown ✅ Back to Admin button with proper styling FEATURES: - Single file import with table selection and validation - Schema information display with proper styling - Real-time progress tracking with scrollable log - Comprehensive results display with metrics cards - Batch import functionality with file management - All styled consistently with the rest of the application BEFORE: Basic unstyled HTML page without navigation AFTER: Fully integrated admin interface matching application design 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- templates/admin_import.html | 257 ++++++++++++++++++------------------ 1 file changed, 129 insertions(+), 128 deletions(-) diff --git a/templates/admin_import.html b/templates/admin_import.html index 7de7591..b636c66 100644 --- a/templates/admin_import.html +++ b/templates/admin_import.html @@ -1,133 +1,134 @@ - - - - - - {{ title }} - - - - - - -
- - - - -
- -
-

CSV Data Import

-

- Import CSV files converted from legacy .sc files into the database. - Please ensure your CSV files follow the correct format for each table. -

-
- - -
-

Single File Import

- -
-
- - -
- -
- - -

Only CSV files are supported. Max file size: 100MB

-
- -
- - -
-
-
- - - - - - - - - - - -
-

Batch Import (Multiple Files)

-

- Import multiple CSV files at once. Files will be processed in dependency order - (ROLODEX → PHONE/FILES → LEDGER/QDROS). -

- -
- -
- -
- - -
+
+

CSV Data Import

+

Import CSV files converted from legacy .sc files into the database

+
- - - - \ No newline at end of file + +
+

+ + Single File Import +

+ +
+
+ + +
+ +
+ + +

Only CSV files are supported. Max file size: 100MB

+
+ +
+ + +
+
+
+ + + + + + + + + + + +
+

+ + Batch Import (Multiple Files) +

+

+ Import multiple CSV files at once. Files will be processed in dependency order + (ROLODEX → PHONE/FILES → LEDGER/QDROS). +

+ +
+ +
+ +
+ + +
+
+
+ + + +{% endblock %} \ No newline at end of file