| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Login - Restaurant</title> | |
| <link rel="stylesheet" href="/static/styles.css"> | |
| </head> | |
| <body> | |
| <div class="login-container"> | |
| <h1>Welcome to the Restaurant</h1> | |
| <p>Login to your account and explore our delicious menu!</p> | |
| <!-- Show error message here if login fails --> | |
| {% if error_message %} | |
| <div class="error-message">{{ error_message }}</div> | |
| {% endif %} | |
| <form action="/auth" method="POST"> | |
| <div class="input-group"> | |
| <input type="email" name="email" placeholder="π¨βπ³ Email Address" required> | |
| </div> | |
| <div class="input-group"> | |
| <input type="password" name="password" placeholder="π Password" required> | |
| </div> | |
| <button type="submit">Login π½οΈ</button> | |
| </form> | |
| <a href="#" class="forgot-link">Forgot Password?</a> | |
| <div class="register-link"> | |
| <p>Don't have an account? <a href="/register">Register Now</a></p> | |
| </div> | |
| </div> | |
| </body> | |
| </html> | |