File size: 1,428 Bytes
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
51
52
53
54
55
56
<!DOCTYPE html>
<html>
<head>
    <title>IPM Golden vs Test Data Visualizer</title>
    <style>
        body {
            font-family: Arial, sans-serif;
            background: #f2f2f2;
            text-align: center;
            padding: 40px;
        }
        form {
            background: white;
            padding: 20px;
            border-radius: 10px;
            display: inline-block;
        }
        input[type=file] {
            margin: 10px;
        }
        button {
            background-color: #0078d7;
            color: white;
            border: none;
            padding: 10px 20px;
            border-radius: 5px;
            cursor: pointer;
        }
        button:hover {
            background-color: #005fa3;
        }
        .error {
            color: red;
        }
    </style>
</head>
<body>
    <h2>📊 IPM Golden vs Test Data Visualizer</h2>
    <p>Upload your Golden and Test Excel files to compare results visually.</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 Plot</button>
    </form>
</body>
</html>