Spaces:
Sleeping
Sleeping
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Login</title> | |
| <link rel="stylesheet" href="/static/styles.css"> | |
| <style> | |
| body { | |
| font-family: Arial, sans-serif; | |
| background-color: #e6f7ec; | |
| display: flex; | |
| justify-content: center; | |
| align-items: center; | |
| height: 100vh; | |
| } | |
| .login-container { | |
| background-color: white; | |
| padding: 30px; | |
| border-radius: 20px; | |
| box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); | |
| width: 100%; | |
| max-width: 400px; | |
| } | |
| .login-container h1 { | |
| font-size: 24px; | |
| text-align: center; | |
| color: #004d40; | |
| margin-bottom: 20px; | |
| } | |
| .input-group { | |
| margin: 15px 0; | |
| width: 100%; | |
| } | |
| .input-group input { | |
| width: 100%; | |
| padding: 12px; | |
| font-size: 14px; | |
| border-radius: 30px; | |
| border: 1px solid #ccc; | |
| background-color: #f0f8f5; | |
| outline: none; | |
| text-align: center; | |
| } | |
| .input-group input:focus { | |
| border-color: #38a169; | |
| } | |
| button { | |
| width: 100%; | |
| padding: 12px; | |
| font-size: 16px; | |
| border-radius: 30px; | |
| background-color: #38a169; | |
| color: white; | |
| border: none; | |
| cursor: pointer; | |
| } | |
| button:hover { | |
| background-color: #2f855a; | |
| } | |
| .forgot-link { | |
| display: block; | |
| font-size: 12px; | |
| color: #38a169; | |
| text-align: center; | |
| text-decoration: none; | |
| margin-top: 10px; | |
| } | |
| .forgot-link:hover { | |
| text-decoration: underline; | |
| } | |
| .register-link { | |
| text-align: center; | |
| margin-top: 15px; | |
| font-size: 12px; | |
| color: #004d40; | |
| } | |
| .register-link a { | |
| color: #38a169; | |
| text-decoration: none; | |
| } | |
| .register-link a:hover { | |
| text-decoration: underline; | |
| } | |
| </style> | |
| </head> | |
| <body> | |
| <div class="login-container"> | |
| <h1>Welcome Back</h1> | |
| <p>Login to your Account</p> | |
| <form action="/auth" method="POST"> | |
| <div class="input-group"> | |
| <input type="email" name="email" placeholder="User Name / Email" 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> | |