| | <!DOCTYPE html> |
| | <html> |
| | <head> |
| | <title>IPM Data Visualizer</title> |
| | <style> |
| | body { |
| | font-family: Arial, sans-serif; |
| | text-align: center; |
| | background: #f8f9fa; |
| | padding: 40px; |
| | } |
| | form { |
| | background: white; |
| | padding: 30px; |
| | border-radius: 8px; |
| | display: inline-block; |
| | } |
| | input[type=file], button { |
| | margin: 10px; |
| | } |
| | button { |
| | background-color: #0078d7; |
| | color: white; |
| | padding: 10px 20px; |
| | border: none; |
| | border-radius: 5px; |
| | } |
| | .error { color: red; } |
| | </style> |
| | </head> |
| | <body> |
| | <h2>📊 IPM Golden vs Test Data Visualizer</h2> |
| | <p>Upload both Golden and Test Excel files to generate visual comparison.</p> |
| |
|
| | {% if error %} |
| | <p class="error">{{ error }}</p> |
| | {% endif %} |
| |
|
| | <form method="POST" enctype="multipart/form-data"> |
| | <label>Golden Data (.xlsx):</label><br> |
| | <input type="file" name="golden_file" accept=".xlsx" required><br><br> |
| |
|
| | <label>Test Data (.xlsx):</label><br> |
| | <input type="file" name="test_file" accept=".xlsx" required><br><br> |
| |
|
| | <button type="submit">Generate Plots</button> |
| | </form> |
| | </body> |
| | </html> |
| |
|