np_app/service/admin-login.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" />
<link rel="icon" href="/favicon.svg" type="image/svg+xml" />
<link rel="stylesheet" href="/static/app-shell.css" />
<title>NUPACK · Admin 登录</title>
</head>
<body data-page="admin-login">
<main class="login-shell">
<section class="band login-panel">
<div class="band-header"><h1>Admin 登录</h1></div>
<form class="band-body login-form" id="adminLoginForm">
<p>输入服务端配置的管理密码。密码不会写入网址或浏览器本地存储。</p>
<label class="setting-field">
<span>管理密码</span>
<input id="adminPassword" type="password" autocomplete="current-password" required autofocus />
</label>
<button class="primary" type="submit">进入管理后台</button>
<a class="button" href="/account">返回账号</a>
</form>
<div class="notice hidden" id="adminLoginNotice" role="alert"></div>
</section>
</main>
<script type="module" src="/static/portal.js"></script>
</body>
</html>