Files
ap-ds-git-code/templates/admin_login.html
T

30 lines
1.3 KiB
HTML

<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>管理员登录 - ap_ds</title>
<link rel="stylesheet" href="{{ url_for('static', filename='css.css') }}">
</head>
<body style="background: var(--repo-color-bg-secondary); min-height: 100vh; display: flex; align-items: center; justify-content: center;">
<div class="repo-card" style="width: 100%; max-width: 400px;">
<div class="repo-card__header">
<h2 class="repo-card__title">管理员登录</h2>
</div>
<div class="repo-card__body">
{% if error %}
<div class="repo-message repo-message--error" style="position: static; transform: none; margin-bottom: 1rem;">
{{ error }}
</div>
{% endif %}
<form method="post">
<div class="repo-mb-4">
<label class="repo-text-sm repo-font-medium repo-mb-2 repo-block">密码</label>
<input type="password" name="password" class="repo-input" required autofocus>
</div>
<button type="submit" class="repo-btn repo-btn--primary repo-w-full">登录</button>
</form>
</div>
</div>
</body>
</html>