loko/loko/templates/403.html

53 lines
1.7 KiB
HTML

{% load static %}
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>403 - Access Denied</title>
<link rel="icon" type="image/png" href="{% static 'common/loko_favicon.png' %}">
<!-- Bootstrap 5.3.3 (local) -->
<link href="{% static 'common/bootstrap.min.css' %}" rel="stylesheet">
<!-- Bootstrap Icons 1.11.3 (local) -->
<link href="{% static 'common/bootstrap-icons.min.css' %}" rel="stylesheet">
<style>
body {
background-color: #f8f9fa;
display: flex;
align-items: center;
justify-content: center;
height: 100vh;
}
.error-container {
max-width: 500px;
padding: 30px;
background: white;
border-radius: 10px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
text-align: center;
}
.error-icon {
font-size: 4rem;
color: #dc3545; /* Bootstrap Danger Color */
}
h1{
color: rgba(47, 62, 139, 1);
border-bottom: 1px solid rgba(47, 62, 139, 1);;
}
</style>
</head>
<body>
<div class="error-container">
<i class="bi bi-exclamation-triangle-fill error-icon"></i>
<h1 class="text-center mb-4 pb-4">{{ product_name }}</h1>
<h2 class="mt-3">403 - Access Denied</h2>
<p class="text-muted">You do not have permission to access this page.</p>
<a href="{% url 'home:index' %}" class="btn btn-primary mt-3">Return to Home</a>
</div>
<!-- Bootstrap 5.3.3 (local) -->
<script src="{% static 'common/bootstrap.bundle.min.js' %}"></script>
</body>
</html>