Spaces:
Paused
Paused
Download templates/login.html from Ragulselvakumar/NotesHub: direct link, hf CLI and curl.
- Browser
- Download file 2.28 kB
-
https://huggingface.co/spaces/Ragulselvakumar/NotesHub/resolve/main/templates/login.html
- Command line
-
hf download hf://spaces/Ragulselvakumar/NotesHub/templates/login.html
-
curl -L -o login.html https://huggingface.co/spaces/Ragulselvakumar/NotesHub/resolve/main/templates/login.html
2.28 kB
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>NotesHub - Login</title> | |
| <style> | |
| body { | |
| font-family: Arial, sans-serif; | |
| background: #f5f7fb; | |
| margin: 0; | |
| } | |
| .container { | |
| width: 350px; | |
| margin: 80px auto; | |
| background: white; | |
| padding: 30px; | |
| border-radius: 10px; | |
| box-shadow: 0 3px 12px #ccc; | |
| } | |
| h2 { | |
| text-align: center; | |
| color: #243b55; | |
| } | |
| input { | |
| width: 100%; | |
| padding: 12px; | |
| margin: 10px 0; | |
| box-sizing: border-box; | |
| border: 1px solid #ccc; | |
| border-radius: 5px; | |
| } | |
| button { | |
| width: 100%; | |
| padding: 12px; | |
| background: #2f80ed; | |
| color: white; | |
| border: none; | |
| border-radius: 5px; | |
| cursor: pointer; | |
| font-size: 16px; | |
| } | |
| button:hover { | |
| background: #1c64c6; | |
| } | |
| .message { | |
| color: red; | |
| text-align: center; | |
| } | |
| p { | |
| text-align: center; | |
| } | |
| a { | |
| color: #2f80ed; | |
| text-decoration: none; | |
| } | |
| </style> | |
| </head> | |
| <body> | |
| <div class="container"> | |
| <h2>📚 NotesHub Login</h2> | |
| {% with messages = get_flashed_messages() %} | |
| {% if messages %} | |
| {% for message in messages %} | |
| <p class="message">{{ message }}</p> | |
| {% endfor %} | |
| {% endif %} | |
| {% endwith %} | |
| <form action="/login" method="POST"> | |
| <input | |
| type="email" | |
| name="email" | |
| placeholder="Enter Email" | |
| required | |
| > | |
| <input | |
| type="password" | |
| name="password" | |
| placeholder="Enter Password" | |
| required | |
| > | |
| <button type="submit"> | |
| Login | |
| </button> | |
| </form> | |
| <p> | |
| Don't have an account? | |
| <a href="/register">Register</a> | |
| </p> | |
| <p> | |
| <a href="/">← Back to Home</a> | |
| </p> | |
| </div> | |
| </body> | |
| </html> |