35 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			35 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
| <!DOCTYPE html>
 | |
| <html lang="en">
 | |
| <head>
 | |
|     <meta charset="UTF-8">
 | |
|     <meta name="viewport" content="width=device-width, initial-scale=1.0">
 | |
|     <title>Teacher Login</title>
 | |
|     <link rel="stylesheet" href="/static/style.css"> <!-- 您可以在此处链接到您的全局样式表 -->
 | |
|     <link rel="stylesheet" href="/static/base.css">
 | |
| </head>
 | |
| <body>
 | |
|     <div class="container">
 | |
|         <h1>Teacher Login</h1>
 | |
|         {% with messages = get_flashed_messages(with_categories=true) %}
 | |
|             {% if messages %}
 | |
|                 {% for category, message in messages %}
 | |
|                     <div class="alert alert-{{ category }}">{{ message }}</div>
 | |
|                 {% endfor %}
 | |
|             {% endif %}
 | |
|         {% endwith %}
 | |
| 
 | |
|         <form action="{{ url_for('teacher_login') }}" method="POST">
 | |
|             <div class="form-group">
 | |
|                 <label for="email">Email:</label>
 | |
|                 <input type="email" id="email" name="email" required>
 | |
|             </div>
 | |
|             <div class="form-group">
 | |
|                 <label for="password">Password:</label>
 | |
|                 <input type="password" id="password" name="password" required>
 | |
|             </div>
 | |
|             <button type="submit">Login</button>
 | |
|         </form>
 | |
|     </div>
 | |
| </body>
 | |
| </html>
 | 
