k
File size: 2,108 Bytes
ca7683a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
57
58
59
60
61
62
63
64
65
66
67
68
69
70

<!-- templates/error.html -->
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Error - Kidney Disease Detection</title>
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/css/bootstrap.min.css" rel="stylesheet">
    <style>

        body {

            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;

            background-color: #f8f9fa;

            color: #333;

            display: flex;

            justify-content: center;

            align-items: center;

            height: 100vh;

            margin: 0;

        }

        .error-container {

            max-width: 600px;

            background-color: white;

            padding: 30px;

            border-radius: 15px;

            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);

            text-align: center;

        }

        .error-icon {

            font-size: 60px;

            color: #e74c3c;

            margin-bottom: 20px;

        }

        .error-title {

            font-size: 28px;

            color: #2c3e50;

            margin-bottom: 15px;

        }

        .error-message {

            font-size: 18px;

            color: #7f8c8d;

            margin-bottom: 30px;

        }

        .home-btn {

            background-color: #3498db;

            color: white;

            padding: 12px 30px;

            border: none;

            border-radius: 30px;

            text-decoration: none;

            font-weight: 600;

            transition: all 0.3s;

            display: inline-block;

        }

        .home-btn:hover {

            background-color: #2980b9;

            transform: translateY(-2px);

            color: white;

        }

    </style>
</head>
<body>
    <div class="error-container">
        <div class="error-icon">❌</div>
        <h1 class="error-title">Something Went Wrong</h1>
        <p class="error-message">{{ message }}</p>
        <a href="/" class="home-btn">Return to Home</a>
    </div>
</body>
</html>