Spaces:
Running
Running
CassiopeiaCode
commited on
Commit
·
93d4c04
1
Parent(s):
e81de2c
refactor: 移除footer,简化页面布局
Browse files- frontend/index.html +2 -17
frontend/index.html
CHANGED
|
@@ -22,7 +22,7 @@
|
|
| 22 |
* { box-sizing:border-box; }
|
| 23 |
html, body { height:100%; margin:0; }
|
| 24 |
body {
|
| 25 |
-
padding:0 0
|
| 26 |
background:radial-gradient(ellipse at top, #0f1624 0%, #0a0e1a 100%);
|
| 27 |
color:var(--text);
|
| 28 |
font-family:ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,PingFang SC,Hiragino Sans GB,Microsoft YaHei,Noto Sans,Arial,sans-serif;
|
|
@@ -148,15 +148,6 @@
|
|
| 148 |
.code::-webkit-scrollbar-thumb { background:rgba(79,143,255,.3); border-radius:4px; }
|
| 149 |
.right { margin-left:auto; }
|
| 150 |
.sep { height:1px; background:linear-gradient(90deg,transparent,rgba(79,143,255,.2),transparent); margin:16px 0; }
|
| 151 |
-
.footer {
|
| 152 |
-
position:fixed;
|
| 153 |
-
left:0;right:0;bottom:0;
|
| 154 |
-
background:rgba(10,14,26,.85);
|
| 155 |
-
backdrop-filter:blur(16px);
|
| 156 |
-
border-top:1px solid var(--border);
|
| 157 |
-
padding:14px 20px;
|
| 158 |
-
box-shadow:0 -4px 20px rgba(0,0,0,.3);
|
| 159 |
-
}
|
| 160 |
.status-ok { color:var(--ok); font-weight:600; }
|
| 161 |
.status-fail { color:var(--danger); font-weight:600; }
|
| 162 |
.switch { position:relative; display:inline-block; width:50px; height:26px; }
|
|
@@ -272,7 +263,7 @@
|
|
| 272 |
<button onclick="startAuth()">开始登录</button>
|
| 273 |
<button class="btn-secondary" onclick="claimAuth()">等待授权并创建账号</button>
|
| 274 |
</div>
|
| 275 |
-
<div class="field"
|
| 276 |
<label>登录信息</label>
|
| 277 |
<pre class="code mono" id="auth_info">尚未开始</pre>
|
| 278 |
</div>
|
|
@@ -309,12 +300,6 @@
|
|
| 309 |
</div>
|
| 310 |
</div>
|
| 311 |
|
| 312 |
-
<div class="footer">
|
| 313 |
-
<div class="container row">
|
| 314 |
-
<div class="muted">提示:在 .env 配置 OPENAI_KEYS 白名单;账号选择与 key 无关,将在“启用”的账号中随机选择。</div>
|
| 315 |
-
<div class="right muted">v2 OpenAI-Compatible</div>
|
| 316 |
-
</div>
|
| 317 |
-
</div>
|
| 318 |
|
| 319 |
<script>
|
| 320 |
function baseUrl(){ return document.getElementById('base').value.trim(); }
|
|
|
|
| 22 |
* { box-sizing:border-box; }
|
| 23 |
html, body { height:100%; margin:0; }
|
| 24 |
body {
|
| 25 |
+
padding:0 0 40px;
|
| 26 |
background:radial-gradient(ellipse at top, #0f1624 0%, #0a0e1a 100%);
|
| 27 |
color:var(--text);
|
| 28 |
font-family:ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,PingFang SC,Hiragino Sans GB,Microsoft YaHei,Noto Sans,Arial,sans-serif;
|
|
|
|
| 148 |
.code::-webkit-scrollbar-thumb { background:rgba(79,143,255,.3); border-radius:4px; }
|
| 149 |
.right { margin-left:auto; }
|
| 150 |
.sep { height:1px; background:linear-gradient(90deg,transparent,rgba(79,143,255,.2),transparent); margin:16px 0; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 151 |
.status-ok { color:var(--ok); font-weight:600; }
|
| 152 |
.status-fail { color:var(--danger); font-weight:600; }
|
| 153 |
.switch { position:relative; display:inline-block; width:50px; height:26px; }
|
|
|
|
| 263 |
<button onclick="startAuth()">开始登录</button>
|
| 264 |
<button class="btn-secondary" onclick="claimAuth()">等待授权并创建账号</button>
|
| 265 |
</div>
|
| 266 |
+
<div class="field">
|
| 267 |
<label>登录信息</label>
|
| 268 |
<pre class="code mono" id="auth_info">尚未开始</pre>
|
| 269 |
</div>
|
|
|
|
| 300 |
</div>
|
| 301 |
</div>
|
| 302 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 303 |
|
| 304 |
<script>
|
| 305 |
function baseUrl(){ return document.getElementById('base').value.trim(); }
|