docs: 2026-04-28作业
This commit is contained in:
21
2026-04-28/templates/hw_t1_login.html
Normal file
21
2026-04-28/templates/hw_t1_login.html
Normal file
@@ -0,0 +1,21 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Title</title>
|
||||
</head>
|
||||
<body>
|
||||
<h2>用户登录</h2>
|
||||
{% for message in get_flashed_messages(category_filter = ('error')) %}
|
||||
<p class="error" style="color: red;">{{ message }}</p>
|
||||
{% endfor %}
|
||||
<form action="" method="post" class="form">
|
||||
<span>用户名:</span><br>
|
||||
<input type="text" name="username"><br>
|
||||
<span>密码:</span><br>
|
||||
<input type="password" name="password"><br>
|
||||
<p><input type="submit" value="登录"></p>
|
||||
</form>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
Reference in New Issue
Block a user