From fdee945c5d1eaa50ea8ea29c2d67f154afcbd3bd Mon Sep 17 00:00:00 2001 From: Ken Johnson Date: Sun, 7 Dec 2025 02:25:02 -0500 Subject: [PATCH] Modernize password reset and admin dashboard pages MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit **Password Reset Pages**: Forgot Password (password_resets/forgot_password.html.erb): - Complete rewrite with modern card-based layout - Icon-enhanced form with email validation - Helpful info box with reset instructions - "Back to Login" link for easy navigation - Gradient background matching login page style Reset Password (password_resets/reset_password.html.erb): - Modern shield-lock icon header - Password strength guidance with form text - Confirmation field with proper validation - Security tips info box with gradient styling - Consistent with overall auth page design **Admin Dashboard (admin/dashboard.html.erb)**: - Replaced Bootstrap 2 classes with Bootstrap 5 - Modern alert design with icons and close buttons - Card-based layout with subtle shadow - Loading spinner state for user table - Icon-enhanced header (people icon) - Turbolinks compatibility - Improved accessibility with ARIA labels All pages now feature: - Bootstrap 5 modern components - Bootstrap Icons integration - Rounded corners and gradient accents - Smooth transitions and hover states - Proper loading states and feedback - Consistent design language across the app 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- app/views/admin/dashboard.html.erb | 98 ++++++++++-------- .../password_resets/forgot_password.html.erb | 77 +++++++++----- .../password_resets/reset_password.html.erb | 98 ++++++++++++------ db/development.sqlite3-shm | Bin 32768 -> 32768 bytes db/development.sqlite3-wal | Bin 57712 -> 41232 bytes 5 files changed, 177 insertions(+), 96 deletions(-) diff --git a/app/views/admin/dashboard.html.erb b/app/views/admin/dashboard.html.erb index ddad53c..4ffa26a 100755 --- a/app/views/admin/dashboard.html.erb +++ b/app/views/admin/dashboard.html.erb @@ -1,54 +1,70 @@ -
-
-
-
- -
-
- -
-
- -
-
- -
-
-
-
-
- Manage Users -
+
+
+
+ + -
-
-
+ + + + +
+
+

+ Manage Users +

+
+ +
+ +
+
+ Loading users... +
+

Loading user data...

+
+
-<%= javascript_include_tag "jquery.dataTables.min.js"%> +<%= javascript_include_tag "jquery.dataTables.min.js" %> diff --git a/app/views/password_resets/forgot_password.html.erb b/app/views/password_resets/forgot_password.html.erb index 3ded1ce..e534f95 100644 --- a/app/views/password_resets/forgot_password.html.erb +++ b/app/views/password_resets/forgot_password.html.erb @@ -1,31 +1,60 @@ -
-
-
-
-

MetaCorp

-

A GoatGroup Company

+