mirror of
				https://github.com/StefBuwalda/ProjectIOT.git
				synced 2025-10-31 03:39:57 +00:00 
			
		
		
		
	AT map frontend added
This commit is contained in:
		
							
								
								
									
										44
									
								
								AT_frontend/templates/inlog.html
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										44
									
								
								AT_frontend/templates/inlog.html
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,44 @@ | ||||
| <!DOCTYPE html> | ||||
| <html lang="en"> | ||||
| <head> | ||||
|     <meta charset="UTF-8"> | ||||
|     <meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||||
|     <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.5/dist/css/bootstrap.min.css" rel="stylesheet"> | ||||
|     <link href="https://getbootstrap.com/docs/5.3/assets/css/docs.css" rel="stylesheet"> | ||||
|     <title>Inlog</title> | ||||
|     <script defer src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.5/dist/js/bootstrap.bundle.min.js"></script> | ||||
| </head> | ||||
| <body class="bg-dark"> | ||||
|     <div class="container d-flex justify-content-center align-items-center" style="min-height: 100vh;"> | ||||
|         <div class="card p-4 shadow"> | ||||
|             <h3 class="text-center mb-4">Admin Login</h3> | ||||
|             <form action="{{ url_for('login') }}" method="post"> | ||||
|                 {{ form.csrf_token }} | ||||
|                 <div class="mb-3"> | ||||
|                     <label for="username" class="form-label">Username</label> | ||||
|                     <input type="text" class="form-control" id="username" name="username" required> | ||||
|                 </div> | ||||
|                 <div class="mb-3"> | ||||
|                     <label for="password" class="form-label">Password</label> | ||||
|                     <input type="password" id="password" class="form-control" name="password" required> | ||||
|                     <div id="passwordHelpInline" class="form-text"> | ||||
|                         Must be 8-20 characters long. | ||||
|                     </div> | ||||
|                 </div> | ||||
|                 <div class="mb-3 form-check"> | ||||
|                     <input type="checkbox" class="form-check-input" id="remember" name="remember"> | ||||
|                     <label class="form-check-label" for="remember">Remember me</label> | ||||
|                 </div> | ||||
|                 {% if error %} | ||||
|                 <div class="alert alert-danger"> | ||||
|                     {{ error }} | ||||
|                 </div> | ||||
|                 {% endif %} | ||||
|                 <div class="d-grid"> | ||||
|                     <button type="submit" class="btn btn-dark">Login</button> | ||||
|                 </div> | ||||
|             </form> | ||||
|         </div> | ||||
|     </div> | ||||
| </body> | ||||
| </html> | ||||
		Reference in New Issue
	
	Block a user
	 Anh-Thy04
					Anh-Thy04