- 🌐 Enhanced web interface for invoice emailing config management with GET/POST at '/data'.
- 📝 Refactored Flask app to specialize as an invoice emailing utility.
- 🔍 Improved read_yaml() to return data and error messages.
- 📤 Enhanced write_yaml() for better YAML file handling.
- 🛠️ Updated handle_data() to efficiently handle '/data' route with GET/POST methods.
Note: Excluded changes to imports and requires.
🚀 Improved business utility for sending invoices. The new README describes how to use the CSV database and the YAML email template for efficient invoice distribution.
- ✏️ Update HTML title to "Invoice Email Sender"
- 💄 Change font from 'Roboto' to 'Lora' and revise color scheme
- 🌈 Refine button and input styles with new colors, borders, and transitions
- ✨ Implement tab functionality with CSS rules, HTML structure, and JS listeners
- 📑 Revamp status bar style and content
- 🔨 Refactor main.py:
- 🗃️ Adapt read_yaml and write_yaml for enhanced 'email' and 'email_template' structure
- 🔧 Modify handle_data for structure changes
Enhanced the UI with improved padding, line-height, container box shadow, text alignment, and button hover effects. Integrated error handling for the submit button to display HTTP request errors effectively. Corrected script tag indentation.