mirror of
https://wget.la/https://github.com/432539/gpt
synced 2026-08-17 03:26:59 +08:00
只开源「GPT 账号注册机 / 管理」(account-manager):账号列表/导入导出、检测/批量检测、 拿 RT、协议/浏览器注册等注册机能力。批量直开 / 协议支付 / 提取链接 / 直卡直开 等其它功能 不含实现代码,仅通过 iframe 内嵌外链访问。真实机密均由 .gitignore 忽略,仅提供脱敏示例配置。
51 lines
2.2 KiB
HTML
51 lines
2.2 KiB
HTML
<!doctype html>
|
|
<html lang="zh-CN">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width,initial-scale=1">
|
|
<title>{{ embed_title }}</title>
|
|
<link rel="preconnect" href="https://fonts.googleapis.com"><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
|
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500&display=swap" rel="stylesheet">
|
|
<link rel="stylesheet" href="{{ url_for('static', filename='app-shell.css', v='13') }}">
|
|
<style>
|
|
/* 右侧内容区占满高度,内嵌 iframe 铺满 */
|
|
.main { height: 100vh; overflow: hidden; }
|
|
.embed-content { flex: 1; min-height: 0; padding: 0; position: relative; background: var(--bg); }
|
|
.embed-frame { width: 100%; height: 100%; border: 0; display: block; background: #fff; }
|
|
.embed-fallback {
|
|
position: absolute; inset: 0; display: none;
|
|
flex-direction: column; align-items: center; justify-content: center; gap: 12px;
|
|
text-align: center; color: var(--ink-500); padding: 24px;
|
|
}
|
|
.embed-fallback b { color: var(--ink-900); font-size: 16px; }
|
|
.embed-fallback .btn { text-decoration: none; }
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div class="layout">
|
|
{% include '_sidebar.html' %}
|
|
|
|
<div class="main">
|
|
<header class="topbar">
|
|
<div class="topbar-title">{{ embed_title }}</div>
|
|
<div class="topbar-actions">
|
|
<a class="secondary small btn" href="{{ embed_url }}" target="_blank" rel="noopener">新标签打开 ↗</a>
|
|
<span class="dot"></span>线上服务
|
|
</div>
|
|
</header>
|
|
|
|
<div class="embed-content">
|
|
<iframe class="embed-frame" src="{{ embed_url }}" title="{{ embed_title }}"
|
|
referrerpolicy="no-referrer-when-downgrade"
|
|
allow="clipboard-read; clipboard-write"></iframe>
|
|
<div class="embed-fallback" id="embedFallback">
|
|
<b>该服务暂时无法在此页内嵌显示</b>
|
|
<span>可能因目标站点的安全策略(X-Frame-Options / CSP)或自签名证书导致。</span>
|
|
<a class="btn" href="{{ embed_url }}" target="_blank" rel="noopener">在新标签页打开 {{ embed_title }} ↗</a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html>
|