Fix bin/publish: use correct .env path for rspade_system Fix bin/publish script: prevent grep exit code 1 from terminating script 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
225 lines
6.7 KiB
PHP
Executable File
225 lines
6.7 KiB
PHP
Executable File
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
|
<title>{{ $title }} - Access Required</title>
|
|
|
|
{{-- Bootstrap 5 CDN - Same URL as Bootstrap5_Bundle for caching --}}
|
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap/5.2.3/css/bootstrap.min.css"
|
|
integrity="sha512-SbiR/eusphKoMVVXysTKG/7VseWii+Y3FdHrt0EpKgpToZeemhqHeZeLWLhJutz/2ut2Vw1uQEj2MbRF+TVBUA=="
|
|
crossorigin="anonymous">
|
|
|
|
<style>
|
|
body {
|
|
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
|
min-height: 100vh;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
|
|
}
|
|
|
|
.gatekeeper-container {
|
|
background: white;
|
|
border-radius: 10px;
|
|
box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
|
|
max-width: 900px;
|
|
width: 100%;
|
|
margin: 20px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.gatekeeper-row {
|
|
display: flex;
|
|
min-height: 500px;
|
|
}
|
|
|
|
.gatekeeper-info {
|
|
flex: 1;
|
|
padding: 40px;
|
|
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
|
color: white;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
}
|
|
|
|
.gatekeeper-info h1 {
|
|
font-size: 2rem;
|
|
font-weight: 600;
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
|
|
.gatekeeper-info p {
|
|
font-size: 1.1rem;
|
|
line-height: 1.6;
|
|
opacity: 0.95;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.gatekeeper-info .feature-list {
|
|
margin-top: 2rem;
|
|
}
|
|
|
|
.gatekeeper-info .feature-list li {
|
|
margin-bottom: 0.75rem;
|
|
opacity: 0.9;
|
|
}
|
|
|
|
.gatekeeper-form {
|
|
flex: 1;
|
|
padding: 40px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
}
|
|
|
|
.form-header {
|
|
text-align: center;
|
|
margin-bottom: 30px;
|
|
}
|
|
|
|
.form-header h2 {
|
|
color: #333;
|
|
font-weight: 600;
|
|
font-size: 1.75rem;
|
|
}
|
|
|
|
.form-header p {
|
|
color: #666;
|
|
margin-top: 10px;
|
|
}
|
|
|
|
.logo-container {
|
|
text-align: center;
|
|
margin-bottom: 2rem;
|
|
}
|
|
|
|
.logo-container img {
|
|
max-height: 60px;
|
|
width: auto;
|
|
}
|
|
|
|
.error-message {
|
|
background-color: #f8d7da;
|
|
border-color: #f5c6cb;
|
|
color: #721c24;
|
|
padding: 12px;
|
|
border-radius: 4px;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.form-control:focus {
|
|
border-color: #667eea;
|
|
box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
|
|
}
|
|
|
|
.btn-primary {
|
|
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
|
border: none;
|
|
padding: 10px 20px;
|
|
font-weight: 500;
|
|
transition: all 0.3s;
|
|
}
|
|
|
|
.btn-primary:hover {
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.gatekeeper-row {
|
|
flex-direction: column;
|
|
}
|
|
|
|
.gatekeeper-info {
|
|
min-height: auto;
|
|
padding: 30px;
|
|
}
|
|
|
|
.gatekeeper-info h1 {
|
|
font-size: 1.5rem;
|
|
}
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div class="gatekeeper-container">
|
|
<div class="gatekeeper-row">
|
|
{{-- Left Column: Information --}}
|
|
<div class="gatekeeper-info">
|
|
@if($logo)
|
|
<div class="logo-container mb-4">
|
|
<img src="{{ $logo }}" alt="Logo">
|
|
</div>
|
|
@endif
|
|
|
|
<h1>{{ $title }}</h1>
|
|
<p>{{ $subtitle }}</p>
|
|
|
|
<ul class="feature-list list-unstyled">
|
|
<li>🔒 Restricted Access</li>
|
|
<li>🚧 Development Preview</li>
|
|
<li>🧪 Testing Environment</li>
|
|
</ul>
|
|
|
|
<div class="mt-auto">
|
|
<small class="opacity-75">
|
|
This is a preview environment. Features may be incomplete,
|
|
and any data entered may be lost during updates.
|
|
</small>
|
|
</div>
|
|
</div>
|
|
|
|
{{-- Right Column: Login Form --}}
|
|
<div class="gatekeeper-form">
|
|
<div class="form-header">
|
|
<h2>Access Required</h2>
|
|
<p>Please enter the access password</p>
|
|
</div>
|
|
|
|
@if($error)
|
|
<div class="error-message">
|
|
{{ $error }}
|
|
</div>
|
|
@endif
|
|
|
|
<form method="POST" action="/_gatekeeper/login">
|
|
@csrf
|
|
<input type="hidden" name="redirect" value="{{ $redirect }}">
|
|
|
|
<div class="mb-3">
|
|
<label for="password" class="form-label">Access Password</label>
|
|
<input type="password"
|
|
class="form-control form-control-lg"
|
|
id="password"
|
|
name="password"
|
|
required
|
|
autofocus
|
|
placeholder="Enter access password">
|
|
</div>
|
|
|
|
<div class="d-grid">
|
|
<button type="submit" class="btn btn-primary btn-lg">
|
|
Grant Access
|
|
</button>
|
|
</div>
|
|
</form>
|
|
|
|
<div class="text-center mt-4">
|
|
<small class="text-muted">
|
|
If you don't have the password, please contact the site administrator.
|
|
</small>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
{{-- Bootstrap 5 JavaScript Bundle --}}
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap/5.2.3/js/bootstrap.bundle.min.js"
|
|
integrity="sha512-i9cEfJwUwViEPFKdC1enz4ZRGBj8YQo6QByFTF92YXHi7waCqyexvRD75S5NVTsSiTv7rKWqG9Y5eFxmRsOn0A=="
|
|
crossorigin="anonymous"></script>
|
|
</body>
|
|
</html> |