File size: 1,302 Bytes
702e044
 
 
815a086
702e044
 
 
 
815a086
702e044
 
 
 
815a086
 
702e044
 
815a086
702e044
 
 
 
 
 
815a086
702e044
 
815a086
702e044
 
 
 
815a086
702e044
 
 
 
 
 
 
 
 
 
 
 
815a086
702e044
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
<!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>