开始
This commit is contained in:
Executable
+22
@@ -0,0 +1,22 @@
|
||||
{% extends "base.html" %}
|
||||
{% block content %}
|
||||
<div class="login_container">
|
||||
<div class="login_box">
|
||||
<h2 class="login_title">欢迎使用</h2>
|
||||
<div class="login_subtitle">大化重点项目工单管理平台</div>
|
||||
|
||||
<form method="POST" class="login_form">
|
||||
<div class="login_input_group">
|
||||
<label for="phone" class="login_label">用户名</label>
|
||||
<input type="text" id="phone" name="phone" class="login_input" required>
|
||||
</div>
|
||||
{% with messages = get_flashed_messages() %}
|
||||
{% if messages %}
|
||||
<div class="login_error">请先登录以访问此页面</div>
|
||||
{% endif %}
|
||||
{% endwith %}
|
||||
<button type="submit" class="login_button">登 录</button>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user