Remove scripts/, tooling/run/, and services/queue-worker/ that were migrated to the platform root. Add new @domains/ structure with deployment manifests and locale files. Update nginx configs and clean .gitignore to properly exclude node_modules and dist. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
259 lines
No EOL
5.4 KiB
HTML
259 lines
No EOL
5.4 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
|
|
<title>403 - Access Denied</title>
|
|
<style>
|
|
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body {
|
|
font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
|
|
background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f0f23 100%);
|
|
color: #a0aec0;
|
|
min-height: 100vh;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 2rem;
|
|
}
|
|
|
|
.container {
|
|
max-width: 600px;
|
|
width: 100%;
|
|
}
|
|
|
|
.content {
|
|
text-align: center;
|
|
}
|
|
|
|
.error-code {
|
|
font-size: 6rem;
|
|
font-weight: 800;
|
|
margin: 0;
|
|
color: #ff6b9d;
|
|
text-shadow: 0 4px 20px #ff6b9d4d;
|
|
line-height: 1;
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
.title {
|
|
font-size: 2rem;
|
|
font-weight: 600;
|
|
margin: 0.5rem 0;
|
|
color: #ffffff;
|
|
}
|
|
|
|
.message {
|
|
font-size: 1.1rem;
|
|
color: #a0aec0;
|
|
margin: 1rem 0 2rem;
|
|
line-height: 1.6;
|
|
}
|
|
|
|
.info-box {
|
|
background: rgba(255, 255, 255, 0.05);
|
|
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
border-radius: 8px;
|
|
padding: 1.5rem;
|
|
margin-bottom: 1.5rem;
|
|
text-align: left;
|
|
}
|
|
|
|
.info-box h3 {
|
|
color: #ff6b9d;
|
|
font-size: 0.95rem;
|
|
margin-bottom: 0.75rem;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.info-box p {
|
|
color: #a0aec0;
|
|
font-size: 0.95rem;
|
|
line-height: 1.6;
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
.info-box p:last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.request-info {
|
|
background: rgba(255, 255, 255, 0.03);
|
|
border: 1px solid rgba(255, 255, 255, 0.05);
|
|
border-radius: 8px;
|
|
padding: 1rem;
|
|
margin-bottom: 1.5rem;
|
|
font-size: 0.875rem;
|
|
text-align: left;
|
|
}
|
|
|
|
.request-info .label {
|
|
color: #6b7280;
|
|
display: inline-block;
|
|
width: 70px;
|
|
}
|
|
|
|
.request-info .value {
|
|
color: #60a5fa;
|
|
word-break: break-all;
|
|
}
|
|
|
|
.request-info div {
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
.request-info div:last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.button-container {
|
|
display: flex;
|
|
gap: 1rem;
|
|
justify-content: center;
|
|
flex-wrap: wrap;
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
|
|
.btn {
|
|
padding: 0.875rem 2rem;
|
|
font-size: 1rem;
|
|
font-weight: 600;
|
|
border-radius: 8px;
|
|
cursor: pointer;
|
|
border: none;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.btn-primary {
|
|
background: #ff6b9d;
|
|
color: white;
|
|
}
|
|
|
|
.btn-primary:hover {
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 8px 20px #ff6b9d66;
|
|
}
|
|
|
|
.btn-primary:focus {
|
|
outline: 2px solid #ff6b9d;
|
|
outline-offset: 2px;
|
|
}
|
|
|
|
.btn-secondary {
|
|
background: rgba(255, 255, 255, 0.1);
|
|
color: #ffffff;
|
|
border: 1px solid rgba(255, 255, 255, 0.2);
|
|
}
|
|
|
|
.btn-secondary:hover {
|
|
background: rgba(255, 255, 255, 0.15);
|
|
border-color: rgba(255, 255, 255, 0.3);
|
|
}
|
|
|
|
.btn-secondary:focus {
|
|
outline: 2px solid #ffffff;
|
|
outline-offset: 2px;
|
|
}
|
|
|
|
.refresh-notice {
|
|
color: #6b7280;
|
|
font-size: 0.75rem;
|
|
text-align: center;
|
|
}
|
|
|
|
.spinner {
|
|
display: inline-block;
|
|
width: 12px;
|
|
height: 12px;
|
|
border: 2px solid rgba(107, 114, 128, 0.3);
|
|
border-top-color: #a0aec0;
|
|
border-radius: 50%;
|
|
animation: spin 1s linear infinite;
|
|
margin-right: 0.5rem;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
@keyframes spin {
|
|
to {
|
|
transform: rotate(360deg);
|
|
}
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.error-code {
|
|
font-size: 4rem;
|
|
}
|
|
|
|
.title {
|
|
font-size: 1.5rem;
|
|
}
|
|
|
|
.message {
|
|
font-size: 1rem;
|
|
}
|
|
|
|
.btn {
|
|
width: 100%;
|
|
}
|
|
|
|
.button-container {
|
|
flex-direction: column;
|
|
}
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div class="container">
|
|
<div class="content">
|
|
<h1 class="error-code">403</h1>
|
|
<h2 class="title">Access Denied</h2>
|
|
<p class="message">You don't have permission to access this resource.</p>
|
|
|
|
|
|
<div class="info-box">
|
|
<h3>Why did this happen?</h3>
|
|
<p>You may not be logged in with the right account.</p><p>Your account might not have the required permissions.</p><p>The resource might be restricted to specific users.</p>
|
|
</div>
|
|
|
|
|
|
<div class="request-info">
|
|
<div><span class="label">Host:</span> <span class="value" id="host"><!--# echo var="host" default="unknown" --></span></div>
|
|
<div><span class="label">Path:</span> <span class="value" id="uri"><!--# echo var="request_uri" default="/" --></span></div>
|
|
</div>
|
|
|
|
|
|
<div class="button-container">
|
|
|
|
<button class="btn btn-primary" onclick="window.location.href="/"">
|
|
Go Home
|
|
</button>
|
|
|
|
<button class="btn btn-secondary" onclick="window.history.back()">
|
|
Go Back
|
|
</button>
|
|
|
|
</div>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
<script>
|
|
// Fallback for SSI when not processed
|
|
const host = document.getElementById('host');
|
|
const uri = document.getElementById('uri');
|
|
if (host && host.textContent.includes('echo var')) {
|
|
host.textContent = window.location.hostname;
|
|
}
|
|
if (uri && uri.textContent.includes('echo var')) {
|
|
uri.textContent = window.location.pathname + window.location.search;
|
|
}
|
|
</script>
|
|
</body>
|
|
</html> |