mirror of
https://github.com/cnlimiter/codex-register.git
synced 2026-06-01 05:31:01 +08:00
fix: restore protocol baseline, resolve 403/400 registration errors, and fully remove deprecated playwright dependency
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
<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>">
|
||||
<link rel="icon" type="image/svg+xml" href="/static/favicon.svg?v={{ static_version }}">
|
||||
<style>
|
||||
.password-cell {
|
||||
font-family: var(--font-mono);
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
<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>">
|
||||
<link rel="icon" type="image/svg+xml" href="/static/favicon.svg?v={{ static_version }}">
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
@@ -62,13 +62,16 @@
|
||||
</div>
|
||||
<div class="card-body" id="outlook-import-body" style="display: none;">
|
||||
<div class="import-info">
|
||||
<p><strong>格式(每行一个账户):</strong></p>
|
||||
<p><code>邮箱----密码----client_id----refresh_token</code></p>
|
||||
<p>使用四个连字符(----)分隔字段,以 # 开头的行将被忽略。</p>
|
||||
<p><strong>支持格式:</strong></p>
|
||||
<ul>
|
||||
<li><code>邮箱----密码</code> (密码认证)</li>
|
||||
<li><code>邮箱----密码----client_id----refresh_token</code> (XOAUTH2 认证,推荐)</li>
|
||||
</ul>
|
||||
<p>每行一个账户,使用四个连字符(----)分隔字段。以 # 开头的行将被忽略。</p>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="outlook-import-data">批量导入数据</label>
|
||||
<textarea id="outlook-import-data" rows="8" placeholder="example@outlook.com----password123----client_id----refresh_token"></textarea>
|
||||
<textarea id="outlook-import-data" rows="8" placeholder="example@outlook.com----password123 test@outlook.com----password456----client_id----refresh_token"></textarea>
|
||||
</div>
|
||||
<div class="form-row">
|
||||
<div class="form-group">
|
||||
@@ -513,55 +516,6 @@
|
||||
</div>
|
||||
|
||||
|
||||
<!-- 收件箱模态框 -->
|
||||
<div class="modal" id="inbox-modal">
|
||||
<div class="modal-content" style="max-width:800px;width:95%;">
|
||||
<div class="modal-header">
|
||||
<h3>📬 收件箱 — <span id="inbox-modal-email"></span></h3>
|
||||
<div style="display:flex;gap:8px;align-items:center;">
|
||||
<label style="display:flex;align-items:center;gap:4px;font-size:13px;">
|
||||
<input type="checkbox" id="inbox-only-unseen"> 仅未读
|
||||
</label>
|
||||
<button class="btn btn-secondary btn-sm" id="inbox-refresh-btn">刷新</button>
|
||||
<button class="modal-close" id="close-inbox-modal">×</button>
|
||||
</div>
|
||||
</div>
|
||||
<div class="modal-body" style="padding:0;max-height:70vh;overflow-y:auto;">
|
||||
<div id="inbox-loading" style="padding:32px;text-align:center;">加载中...</div>
|
||||
<table class="data-table" id="inbox-table" style="display:none;">
|
||||
<thead>
|
||||
<tr>
|
||||
<th style="width:36px;"></th>
|
||||
<th>主题</th>
|
||||
<th style="width:200px;">发件人</th>
|
||||
<th style="width:150px;">时间</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody id="inbox-tbody"></tbody>
|
||||
</table>
|
||||
<div id="inbox-empty" style="display:none;padding:32px;text-align:center;color:var(--text-muted);">暂无邮件</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- 邮件正文模态框 -->
|
||||
<div class="modal" id="email-detail-modal">
|
||||
<div class="modal-content" style="max-width:700px;width:95%;">
|
||||
<div class="modal-header">
|
||||
<div>
|
||||
<h3 id="email-detail-subject" style="margin:0;"></h3>
|
||||
<div style="font-size:12px;color:var(--text-muted);margin-top:4px;">
|
||||
<span id="email-detail-sender"></span> · <span id="email-detail-date"></span>
|
||||
</div>
|
||||
</div>
|
||||
<button class="modal-close" id="close-email-detail-modal">×</button>
|
||||
</div>
|
||||
<div class="modal-body" style="max-height:65vh;overflow-y:auto;">
|
||||
<div id="email-detail-body" style="white-space:pre-wrap;word-break:break-word;font-size:13px;"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script src="/static/js/utils.js?v={{ static_version }}"></script>
|
||||
<script src="/static/js/email_services.js?v={{ static_version }}"></script>
|
||||
</body>
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
<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>">
|
||||
<link rel="icon" type="image/svg+xml" href="/static/favicon.svg?v={{ static_version }}">
|
||||
<style>
|
||||
/* 两栏布局 */
|
||||
.two-column-layout {
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
<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>">
|
||||
<link rel="icon" type="image/svg+xml" href="/static/favicon.svg?v={{ static_version }}">
|
||||
<style>
|
||||
.login-wrap {
|
||||
max-width: 420px;
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
<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>">
|
||||
<link rel="icon" type="image/svg+xml" href="/static/favicon.svg?v={{ static_version }}">
|
||||
<style>
|
||||
.plan-cards {
|
||||
display: grid;
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
<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>">
|
||||
<link rel="icon" type="image/svg+xml" href="/static/favicon.svg?v={{ static_version }}">
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
@@ -95,7 +95,6 @@
|
||||
<h3>代理列表</h3>
|
||||
<div style="display: flex; gap: var(--spacing-sm);">
|
||||
<button class="btn btn-secondary btn-sm" id="test-all-proxies-btn">🔌 测试全部</button>
|
||||
<button class="btn btn-danger btn-sm" id="delete-disabled-proxies-btn" disabled>🧹 删除禁用项</button>
|
||||
<button class="btn btn-primary btn-sm" id="add-proxy-btn">➕ 添加代理</button>
|
||||
</div>
|
||||
</div>
|
||||
@@ -116,7 +115,7 @@
|
||||
</thead>
|
||||
<tbody id="proxies-table">
|
||||
<tr>
|
||||
<td colspan="8">
|
||||
<td colspan="7">
|
||||
<div class="empty-state">
|
||||
<div class="empty-state-icon">🌐</div>
|
||||
<div class="empty-state-title">暂无代理</div>
|
||||
|
||||
Reference in New Issue
Block a user