File size: 1,963 Bytes
ff88581
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Analysis Result - Wheat Guardian</title>
    <!-- Google Fonts -->
    <link href="https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap" rel="stylesheet">
    <!-- Bootstrap CSS -->
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css" rel="stylesheet">
    <!-- Custom CSS -->
    <link rel="stylesheet" href="{{ url_for('static', filename='css/style.css') }}">
    <!-- Font Awesome -->
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css">
</head>
<body>

    <div class="background-overlay"></div>

    <div class="container d-flex align-items-center justify-content-center min-vh-100">
        <div class="glass-card p-4 text-center" style="max-width: 600px; width: 100%;">
            <h2 class="text-white mb-4 fw-bold">Analysis Report</h2>
            
            <div class="result-image-container mb-4">
                <img src="{{ url_for('static', filename=image_path) }}?v={{ timestamp }}" class="img-fluid rounded shadow-lg result-img" alt="Analyzed Image">
            </div>

            <div class="result-badge mb-4">
                <span class="text-white-50 small text-uppercase tracking-wider">Detected Condition</span>
                <h3 class="text-white fw-bold mt-1">{{ label }}</h3>
            </div>

            <div class="d-grid gap-2">
                <a href="/" class="btn btn-outline-light btn-lg">
                    <i class="fas fa-redo me-2"></i>Analyze Another
                </a>
            </div>
        </div>
    </div>

    <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.bundle.min.js"></script>
</body>
</html>