From 46c727ea759da75b7d84655e4d562f2d77cf2744 Mon Sep 17 00:00:00 2001 From: grabowski Date: Thu, 30 Oct 2025 10:01:28 +0700 Subject: [PATCH] Update frontend to modern responsive design (v2.0.0) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Modernized the web interface with a mobile-first responsive design: - Added CSS custom properties (variables) for consistent theming - Implemented responsive breakpoints (640px, 768px) for mobile/tablet/desktop - Applied fluid typography using clamp() for automatic font scaling - Enhanced animations (fade-in, slide-in, scale effects) for smooth UX - Improved component styling with modern shadows and hover effects - Added backdrop blur effects on modals - Optimized touch targets (min 44px height) for mobile accessibility - Updated button groups and layouts to stack on mobile - Enhanced visual hierarchy with better spacing and typography - Improved recordings grid with responsive card layout Template version bumped from 1.9.2 to 2.0.0 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- rotary_phone_web.py | 646 ++++++++++++++++++++++++++++++++------------ 1 file changed, 470 insertions(+), 176 deletions(-) diff --git a/rotary_phone_web.py b/rotary_phone_web.py index 16ca732..637d131 100644 --- a/rotary_phone_web.py +++ b/rotary_phone_web.py @@ -151,7 +151,7 @@ BACKUP_ON_WRITE = BACKUP_CONFIG.get('backup_on_write', True) WEB_PORT = SYS_CONFIG['web']['port'] # Template version - increment this when HTML template changes -TEMPLATE_VERSION = "1.9.2" # Updated: Use Unicode escapes for emojis in JavaScript strings +TEMPLATE_VERSION = "2.0.0" # Updated: Modern responsive design with mobile-first approach, improved layout and animations # Flask app app = Flask(__name__) @@ -1351,302 +1351,531 @@ def main(): Rotary Phone Control Panel