2025-11-02 14:35:35 +03:00

93 lines
2.9 KiB
HTML

{% load i18n static %}
<!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">
<title>{% trans "Server Error" %} - Agdar</title>
<link href="{% static 'css/vendor.min.css' %}" rel="stylesheet" />
<link href="{% static 'css/default/app.min.css' %}" rel="stylesheet" />
<style>
body {
background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
min-height: 100vh;
display: flex;
align-items: center;
justify-content: center;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.error-container {
text-align: center;
color: white;
padding: 40px;
}
.error-code {
font-size: 150px;
font-weight: bold;
line-height: 1;
margin-bottom: 20px;
text-shadow: 0 5px 15px rgba(0,0,0,0.3);
}
.error-message {
font-size: 28px;
margin-bottom: 15px;
}
.error-description {
font-size: 18px;
margin-bottom: 40px;
opacity: 0.9;
}
.btn-home {
background: white;
color: #f5576c;
padding: 15px 40px;
border-radius: 50px;
text-decoration: none;
font-weight: 600;
display: inline-block;
transition: all 0.3s;
box-shadow: 0 5px 15px rgba(0,0,0,0.2);
margin: 0 10px;
}
.btn-home:hover {
transform: translateY(-3px);
box-shadow: 0 8px 20px rgba(0,0,0,0.3);
color: #f093fb;
}
.icon-500 {
font-size: 100px;
margin-bottom: 30px;
animation: shake 0.5s infinite;
}
@keyframes shake {
0%, 100% { transform: translateX(0); }
25% { transform: translateX(-10px); }
75% { transform: translateX(10px); }
}
</style>
</head>
<body>
<div class="error-container">
<div class="icon-500">
<i class="fa fa-exclamation-triangle"></i>
</div>
<div class="error-code">500</div>
<div class="error-message">{% trans "Internal Server Error" %}</div>
<div class="error-description">
{% trans "Something went wrong on our end. We're working to fix the problem. Please try again later." %}
</div>
<div>
<a href="javascript:history.back()" class="btn-home">
<i class="fa fa-arrow-left me-2"></i>{% trans "Go Back" %}
</a>
<a href="{% url 'dashboard' %}" class="btn-home">
<i class="fa fa-home me-2"></i>{% trans "Go to Dashboard" %}
</a>
</div>
</div>
</body>
</html>