86 lines
2.6 KiB
HTML
86 lines
2.6 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>Error - Something Went Wrong</title>
|
|
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap" rel="stylesheet">
|
|
<style>
|
|
body {
|
|
font-family: 'Roboto', sans-serif;
|
|
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
|
color: #333;
|
|
margin: 0;
|
|
padding: 0;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
min-height: 100vh;
|
|
}
|
|
.error-container {
|
|
text-align: center;
|
|
background-color: #fff;
|
|
padding: 50px;
|
|
border-radius: 20px;
|
|
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
|
|
max-width: 500px;
|
|
width: 90%;
|
|
position: relative;
|
|
}
|
|
.error-icon {
|
|
font-size: 5rem;
|
|
color: #ff6b6b;
|
|
margin-bottom: 30px;
|
|
animation: bounce 2s infinite;
|
|
}
|
|
@keyframes bounce {
|
|
0%, 20%, 50%, 80%, 100% {
|
|
transform: translateY(0);
|
|
}
|
|
40% {
|
|
transform: translateY(-10px);
|
|
}
|
|
60% {
|
|
transform: translateY(-5px);
|
|
}
|
|
}
|
|
.error-title {
|
|
font-size: 2.5rem;
|
|
margin-bottom: 20px;
|
|
color: #333;
|
|
font-weight: 700;
|
|
}
|
|
.error-message {
|
|
font-size: 1.2rem;
|
|
line-height: 1.6;
|
|
margin-bottom: 30px;
|
|
color: #666;
|
|
font-weight: 400;
|
|
}
|
|
.error-details {
|
|
background-color: #f8f9fa;
|
|
padding: 20px;
|
|
border-radius: 10px;
|
|
border-left: 5px solid #ff6b6b;
|
|
text-align: left;
|
|
font-family: 'Roboto Mono', monospace;
|
|
font-size: 1rem;
|
|
color: #333;
|
|
margin-top: 20px;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div class="error-container">
|
|
<div class="error-icon">⚠️</div>
|
|
<h1 class="error-title">Oops, something went wrong!</h1>
|
|
<p class="error-message">We're sorry, but an error occurred while processing your request. Please try again later or contact support if the problem persists.</p>
|
|
{% if error_message %}
|
|
<div class="error-details">
|
|
<strong>Error Details:</strong><br>
|
|
{{ error_message }}
|
|
</div>
|
|
{% endif %}
|
|
</div>
|
|
</body>
|
|
</html> |