first commit

This commit is contained in:
2026-09-22 10:48:18 +08:00
commit 2006f7b4a4
20 changed files with 1877 additions and 0 deletions

25
app/templates/login.html Normal file
View File

@@ -0,0 +1,25 @@
<!doctype html>
<html lang="zh-CN">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>登录 · 航标</title>
<link rel="stylesheet" href="/static/css/app.css">
</head>
<body>
<div class="login-wrap">
<form class="login-card" method="post" action="/login">
<div class="mark">航</div>
<h1>航标</h1>
<p class="muted">用历史成绩滤波,预估各班后续达线指标。管理员登录后上传成绩表,逐步确认口径,再下达可超越的班级目标。</p>
<label>账号</label>
<input name="username" value="admin" autocomplete="username">
<label>密码</label>
<input name="password" type="password" autocomplete="current-password">
{% if error %}<div class="err">{{ error }}</div>{% endif %}
<div class="actions"><button class="primary" type="submit">进入系统</button></div>
<p class="tiny">默认账号 admin / hangbiao2026,请部署后尽快修改 app/config.py。</p>
</form>
</div>
</body>
</html>