32 lines
1.0 KiB
HTML
32 lines
1.0 KiB
HTML
<!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="{{ url_for('static', filename='style.css') }}">
|
|
</head>
|
|
<body>
|
|
<div class="login-box">
|
|
<h2>博特维采购订单管理系统</h2>
|
|
{% with msgs = get_flashed_messages(with_categories=true) %}
|
|
{% for cat, msg in msgs %}<div class="flash {{ cat }}">{{ msg }}</div>{% endfor %}
|
|
{% endwith %}
|
|
<form method="post">
|
|
<input type="hidden" name="next" value="{{ request.form.get('next', request.args.get('next', '/')) }}">
|
|
<input type="hidden" name="csrf_token" value="{{ csrf_token() }}">
|
|
<div class="field">
|
|
<label>用户名</label>
|
|
<input type="text" name="username" autofocus>
|
|
</div>
|
|
<div class="field">
|
|
<label>密码</label>
|
|
<input type="password" name="password">
|
|
</div>
|
|
<button class="btn primary" style="width:100%;">登 录</button>
|
|
</form>
|
|
|
|
</div>
|
|
</body>
|
|
</html>
|