74 lines
		
	
	
		
			1.4 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			74 lines
		
	
	
		
			1.4 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| <!DOCTYPE html>
 | |
| <html lang="en">
 | |
| <head>
 | |
|   <meta charset="UTF-8">
 | |
|   <meta name="viewport" content="width=device-width, initial-scale=1.0">
 | |
|   <title>Admin Login - Eco Saver</title>
 | |
|   <style>
 | |
|     body {
 | |
|       font-family: 'Arial', sans-serif;
 | |
|       background-color: #f4f4f4;
 | |
|       margin: 0;
 | |
|       display: flex;
 | |
|       align-items: center;
 | |
|       justify-content: center;
 | |
|       height: 100vh;
 | |
|     }
 | |
| 
 | |
|     h1 {
 | |
|       text-align: center;
 | |
|       color: #333;
 | |
|     }
 | |
| 
 | |
|     form {
 | |
|       background-color: #fff;
 | |
|       padding: 20px;
 | |
|       border-radius: 8px;
 | |
|       box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
 | |
|       width: 300px;
 | |
|     }
 | |
| 
 | |
|     label {
 | |
|       display: block;
 | |
|       margin-bottom: 8px;
 | |
|       color: #555;
 | |
|     }
 | |
| 
 | |
|     input {
 | |
|       width: 100%;
 | |
|       padding: 8px;
 | |
|       margin-bottom: 16px;
 | |
|       border: 1px solid #ccc;
 | |
|       border-radius: 4px;
 | |
|     }
 | |
| 
 | |
|     button {
 | |
|       background-color: #4caf50;
 | |
|       color: #fff;
 | |
|       padding: 10px;
 | |
|       border: none;
 | |
|       border-radius: 4px;
 | |
|       cursor: pointer;
 | |
|       width: 100%;
 | |
|     }
 | |
| 
 | |
|     button:hover {
 | |
|       background-color: #45a049;
 | |
|     }
 | |
|   </style>
 | |
| </head>
 | |
| <body>
 | |
|   <form action="/login" method="post">
 | |
|     <h1>Admin Login</h1>
 | |
|     
 | |
|     <label for="username">Username:</label>
 | |
|     <input type="text" id="username" name="username" required>
 | |
| 
 | |
|     <label for="password">Password:</label>
 | |
|     <input type="password" id="password" name="password" required>
 | |
| 
 | |
|     <button type="submit">Login</button>
 | |
|   </form>
 | |
| </body>
 | |
| </html>
 |