hy-app-monitor/static/login.html

47 lines
1.6 KiB
HTML

<!doctype html>
<html lang="zh-CN">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>HY App Monitor Login</title>
<link rel="stylesheet" href="app.css" />
<script defer src="login.js"></script>
</head>
<body class="auth-page">
<div id="boot-indicator" class="boot-indicator">检查登录态...</div>
<noscript>
<div class="boot-indicator">请启用 JavaScript</div>
</noscript>
<main id="login-root" class="auth-shell" hidden>
<section class="auth-panel">
<div class="auth-panel-head">
<div class="brand-row">
<p class="brand-mark">HY APP MONITOR</p>
<span class="env-pill">DEPLOY</span>
</div>
<h1 class="auth-title">登录</h1>
</div>
<form id="login-form" class="auth-form" novalidate>
<label class="auth-field">
<span>账号</span>
<input id="username" name="username" class="auth-input" type="text" autocomplete="username" required />
</label>
<label class="auth-field">
<span>密码</span>
<input id="password" name="password" class="auth-input" type="password" autocomplete="current-password" required />
</label>
<p id="login-error" class="auth-error" hidden aria-live="polite"></p>
<button id="login-submit" class="refresh auth-submit" type="submit">登录</button>
</form>
</section>
</main>
</body>
</html>