Files
codex-register/templates/login.html
237899745 0f9948ffc3
Some checks are pending
Docker Image CI / build-and-push-image (push) Waiting to run
feat: codex-register with Sub2API增强 + Playwright引擎
2026-03-22 00:24:16 +08:00

63 lines
2.4 KiB
HTML

<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>访问验证 - OpenAI 注册系统</title>
<link rel="stylesheet" href="/static/css/style.css?v={{ static_version }}">
<link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><text y='.9em' font-size='90'>🔒</text></svg>">
<style>
.login-wrap {
max-width: 420px;
margin: 12vh auto 0;
}
.login-card {
padding: var(--spacing-lg);
}
.login-title {
margin-bottom: var(--spacing-sm);
}
.login-subtitle {
color: var(--text-secondary);
margin-bottom: var(--spacing-lg);
}
.login-error {
background: var(--danger-light);
color: var(--danger-color);
border: 1px solid var(--danger-color);
padding: var(--spacing-sm) var(--spacing-md);
border-radius: var(--radius);
margin-bottom: var(--spacing-md);
font-size: 0.875rem;
}
</style>
</head>
<body>
<div class="container">
<div class="login-wrap">
<div class="card login-card">
<div class="card-header">
<h3 class="login-title">🔒 访问验证</h3>
<span class="hint">请输入访问密码继续</span>
</div>
<div class="card-body">
{% if error %}
<div class="login-error">{{ error }}</div>
{% endif %}
<form method="post" action="/login">
<input type="hidden" name="next" value="{{ next }}">
<div class="form-group">
<label for="password">访问密码</label>
<input type="password" id="password" name="password" autocomplete="current-password" required autofocus>
</div>
<div class="form-actions" style="margin-top: var(--spacing-lg);">
<button type="submit" class="btn btn-primary" style="width: 100%">验证进入</button>
</div>
</form>
</div>
</div>
</div>
</div>
</body>
</html>