| 
									
										
										
										
											2022-01-26 21:10:09 +08:00
										 |  |  | {% block body %} | 
					
						
							|  |  |  | {% if session['logged_in'] %} | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | You're logged in already! | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | {% else %} | 
					
						
							|  |  |  | <meta charset="utf-8" name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=0.5, maximum-scale=3.0, user-scalable=yes" /> | 
					
						
							| 
									
										
										
										
											2022-12-03 20:52:01 +08:00
										 |  |  | <link rel="stylesheet" href="static/css/login_service.css"> | 
					
						
							| 
									
										
										
										
											2022-07-20 17:06:11 +08:00
										 |  |  | 
 | 
					
						
							|  |  |  | <div class="container"> | 
					
						
							| 
									
										
										
										
											2022-07-20 17:08:07 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-07-20 17:06:11 +08:00
										 |  |  |   <section class="signin-heading"> | 
					
						
							|  |  |  |     <h1>Sign In</h1> | 
					
						
							|  |  |  |   </section> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |   <form action="/login" method="POST"> | 
					
						
							| 
									
										
										
										
											2022-07-20 17:04:34 +08:00
										 |  |  |     <input type="text" placeholder="用户名" class="username" name="username" required> | 
					
						
							|  |  |  |     <input type="password" placeholder="密码" class="password"  name="password" required> | 
					
						
							|  |  |  |     <button type="submit" class="btn">登录</button> | 
					
						
							| 
									
										
										
										
											2022-07-20 17:06:11 +08:00
										 |  |  |   </form> | 
					
						
							| 
									
										
										
										
											2022-07-20 17:08:07 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-07-20 17:07:09 +08:00
										 |  |  | </div> | 
					
						
							| 
									
										
										
										
											2022-07-20 17:08:07 +08:00
										 |  |  | 
 | 
					
						
							|  |  |  | <a href="/signup" class="signup">注册</a> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | {% endif %} | 
					
						
							|  |  |  | {% endblock %} | 
					
						
							| 
									
										
										
										
											2022-01-26 21:10:09 +08:00
										 |  |  | 
 |