File size: 2,786 Bytes
1796f63
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Error | Terrier Tutor</title>
    <style>
        @import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600&display=swap');

        body, html {
            margin: 0;
            padding: 0;
            font-family: 'Inter', sans-serif;
            background-color: #f7f7f7; /* Light gray background */
            background-image: url('https://www.transparenttextures.com/patterns/cubes.png'); /* Subtle geometric pattern */
            background-repeat: repeat;
            display: flex;
            align-items: center;
            justify-content: center;
            height: 100vh;
            color: #333;
        }

        .container {
            background: rgba(255, 255, 255, 0.9);
            border: 1px solid #ddd;
            border-radius: 8px;
            width: 100%;
            max-width: 400px;
            padding: 50px;
            box-sizing: border-box;
            text-align: center;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
        }

        .container h1 {
            margin-bottom: 20px;
            font-size: 26px;
            font-weight: 600;
            color: #1a1a1a;
        }

        .container p {
            font-size: 18px;
            color: #4a4a4a;
            margin-bottom: 35px;
            line-height: 1.5;
        }

        .button {
            padding: 14px 0;
            margin: 12px 0;
            font-size: 16px;
            border-radius: 6px;
            cursor: pointer;
            width: 100%;
            border: 1px solid #ccc;
            background-color: #007BFF;
            color: #fff;
            transition: background-color 0.3s ease, border-color 0.3s ease;
        }

        .button:hover {
            background-color: #0056b3;
            border-color: #0056b3;
        }

        .error-box {
            background-color: #2d2d2d;
            color: #fff;
            padding: 10px;
            margin-top: 20px;
            font-family: 'Courier New', Courier, monospace;
            text-align: left;
            overflow-x: auto;
            white-space: pre-wrap;
            border-radius: 5px;
        }
    </style>
</head>
<body>
    <div class="container">
        <h1>Oops! Something went wrong...</h1>
        <p>An unexpected error occurred. The details are below:</p>
        <div class="error-box">
            <code>{{ error }}</code>
        </div>
        <form action="/" method="get">
            <button type="submit" class="button">Return to Home</button>
        </form>
    </div>
</body>
</html>