Revert688aad3,39ac03a,c84dc36, andff6a828in reverse chronological order. Restore the exact tracked tree from99aff42while preserving history. Validation: 29 authentication and base-path tests passed offline. All 23 prior UI browser tests ran in system Edge: 22 passed initially; the fake-login test passed on an unchanged isolated retry. Live game HTTP was blocked throughout browser validation.
28 lines
1.2 KiB
HTML
28 lines
1.2 KiB
HTML
<!doctype html>
|
|
<html lang="zh-CN">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<meta name="ranch-web-base-path" content="">
|
|
<meta name="color-scheme" content="light">
|
|
<title>管理登录 · 牧羊人之心牧场助手</title>
|
|
<link rel="icon" href="data:,">
|
|
<link rel="stylesheet" href="/static/login.css">
|
|
<script type="module" src="/static/login.js"></script>
|
|
</head>
|
|
<body>
|
|
<main class="admin-login" aria-labelledby="auth-title">
|
|
<h1 id="auth-title">登录管理工作台</h1>
|
|
<p id="auth-description">请输入此 Web 工作台的管理密码。</p>
|
|
<form id="auth-form" method="post" action="/api/auth/login" aria-describedby="auth-description">
|
|
<label for="admin-password">管理密码</label>
|
|
<input id="admin-password" name="password" type="password" autocomplete="current-password" required aria-describedby="auth-error" disabled>
|
|
<p id="auth-status" role="status">正在检查登录状态…</p>
|
|
<p id="auth-error" role="alert" hidden></p>
|
|
<button type="submit" disabled>登录</button>
|
|
</form>
|
|
<noscript>请启用 JavaScript 后登录管理工作台。</noscript>
|
|
</main>
|
|
</body>
|
|
</html>
|