Files
michaelschiemer/resources/views/errors/403.view.php
2025-11-24 21:28:25 +01:00

53 lines
1.5 KiB
PHP

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>403 - Forbidden</title>
<style>
body {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
line-height: 1.6;
color: #333;
max-width: 800px;
margin: 0 auto;
padding: 2rem;
background: #f5f5f5;
}
.error-container {
background: white;
border-radius: 8px;
padding: 2rem;
box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
h1 {
color: #d32f2f;
margin-top: 0;
}
.error-message {
background: #fff3cd;
border-left: 4px solid #ffc107;
padding: 1rem;
margin: 1rem 0;
}
</style>
</head>
<body>
<div class="error-container">
<h1>403 - Forbidden</h1>
<div class="error-message">
<p>{{$message ?? 'Access denied. You do not have permission to access this resource.'}}</p>
</div>
@if(isset($debug) && $debug['isDebugMode'] ?? false)
<div class="debug-info">
<h3>Debug Information</h3>
<p><strong>Exception:</strong> {{$debug['exceptionClass'] ?? 'Unknown'}}</p>
<p><strong>File:</strong> {{$debug['file'] ?? 'Unknown'}}:{{$debug['line'] ?? 'Unknown'}}</p>
</div>
@endif
</div>
</body>
</html>