From aaccdd25ac092a8fba90884270bb31a657cebe60 Mon Sep 17 00:00:00 2001 From: Ken Johnson Date: Sun, 7 Dec 2025 03:08:06 -0500 Subject: [PATCH] Modernize direct deposit pay page with two-column layout MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Complete redesign of the pay/direct deposit management page: Layout improvements: - Two-column responsive layout (forms left, table right) - Forms column (4/12): * Add Direct Deposit form with green theme and gradient header * Decrypt Account form with yellow/warning theme * Both cards have left border accents - Table column (8/12): * DataTable showing existing accounts * "Why Encrypted?" button in header * Three info cards below explaining benefits Form enhancements: - All form controls upgraded to large size with icons - Input groups with trailing icons (bank, routing, lock, percent) - Helper text below each field for guidance - Full-width submit buttons in themed colors - Tip boxes with security/convenience info - Auto-clear forms after successful submission Table improvements: - Modern Bootstrap 5 table with hover effects - Icons in column headers (lock, diagram, percent, gear) - Enhanced data display: * Account numbers in monospace code blocks * Routing numbers in light badges * Deposit percentages in green success badges * Delete buttons styled as outline-danger with trash icon - Custom DataTables pagination styling matching theme - Empty state message for no accounts JavaScript enhancements: - Replace basic alerts with modern Bootstrap-styled overlays - Decrypted account number shows in floating alert with unlock icon - "Why Encrypted?" shows modal-like dialog with close button - Delete confirmation improved - Turbolinks compatibility - Form reset after success Info cards: - Instant Access (blue) - explain direct deposit timing - Secure & Encrypted (green) - highlight security features - Split Deposits (yellow) - describe multi-account feature The page now provides a banking-grade interface for managing direct deposit with clear visual hierarchy and modern UX. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- app/views/pay/index.html.erb | 509 ++++++++++++++++++++++++----------- 1 file changed, 353 insertions(+), 156 deletions(-) diff --git a/app/views/pay/index.html.erb b/app/views/pay/index.html.erb index 38af494..28c82de 100644 --- a/app/views/pay/index.html.erb +++ b/app/views/pay/index.html.erb @@ -1,144 +1,246 @@ -
-
-
-