92 lines
2.9 KiB
HTML
92 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 "Access Denied" %} - 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, #fa709a 0%, #fee140 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: #fa709a;
|
|
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: #fee140;
|
|
}
|
|
.icon-403 {
|
|
font-size: 100px;
|
|
margin-bottom: 30px;
|
|
animation: pulse 2s ease-in-out infinite;
|
|
}
|
|
@keyframes pulse {
|
|
0%, 100% { transform: scale(1); }
|
|
50% { transform: scale(1.1); }
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div class="error-container">
|
|
<div class="icon-403">
|
|
<i class="fa fa-lock"></i>
|
|
</div>
|
|
<div class="error-code">403</div>
|
|
<div class="error-message">{% trans "Access Denied" %}</div>
|
|
<div class="error-description">
|
|
{% trans "You don't have permission to access this resource. Please contact your administrator if you believe this is an error." %}
|
|
</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>
|