Files
hangbiao/app/templates/home.html
2026-09-26 19:21:16 +08:00

56 lines
2.2 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<!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>
<header class="topbar">
<a class="brand" href="/">
<div class="mark">层</div>
<div><b>指标测算</b><span>相邻层次指标测算</span></div>
</a>
<form action="/logout" method="post"><button class="ghost" type="submit">退出 {{ user }}</button></form>
</header>
<main class="wrap">
<section class="hero">
<div>
<h1>相邻两次考试做层次转移,<br>用拟合概率下达班级指标。</h1>
<p>
系统按方向内名次分层次,统计每次相邻考试中各层次的到线人数;汇总后计算拟合概率,
最后按最后一次考试的班级层次分布摊派尖子线和特控线指标。可勾选是否排除异动学生。
</p>
</div>
<form class="drop" action="/upload" method="post" enctype="multipart/form-data">
<h3>上传成绩表</h3>
<p class="muted">xlsx,需含学号/姓名/班级,以及多次考试总分列。物理/历史分表会分开测算。</p>
<input type="file" name="file" accept=".xlsx,.xlsm" required>
<div class="actions">
<button class="primary" type="submit">开始逐步测算</button>
</div>
</form>
</section>
{% if has_sample %}
<form action="/demo" method="post" style="margin-top:12px">
<button class="btn teal" type="submit">用文件夹里的 basedata.xlsx(物理方向人员/历史方向人员)走一遍</button>
</form>
{% endif %}
<div class="list">
{% for it in items %}
<a class="item" href="/analysis/{{ it.id }}?step={{ it.step or 1 }}">
<div>
<b>{{ it.title }}</b>
<div class="tiny">{{ it.filename }} · {{ it.created_at }}</div>
</div>
<span class="chip">继续第 {{ it.step or 1 }} 步</span>
</a>
{% else %}
<div class="muted">还没有分析记录。上传成绩表后会在这里列出。</div>
{% endfor %}
</div>
</main>
</body>
</html>