| 1 | <!DOCTYPE html> |
| 2 | <html lang="en"> |
| 3 | <head> |
| 4 | <meta charset="UTF-8"> |
| 5 | <meta name="viewport" content="width=device-width, initial-scale=1.0"> |
| 6 | <title>Login - Agent Zero</title> |
| 7 | <link rel="stylesheet" href="/vendor/fonts/fonts.css"> |
| 8 | <link rel="stylesheet" href="/login.css"> |
| 9 | <link rel="icon" type="image/svg+xml" href="/public/favicon.svg"> |
| 10 | </head> |
| 11 | <body> |
| 12 | <div class="login-container"> |
| 13 | <form class="login-form" method="POST" action="/login{% if next %}?next={{ next|urlencode }}{% endif %}"> |
| 14 | {% if next %} |
| 15 | <input type="hidden" name="next" value="{{ next }}"> |
| 16 | {% endif %} |
| 17 | <img src="/public/dark.svg" alt="Agent Zero" class="logo"> |
| 18 | <div class="input-group"> |
| 19 | <label for="username">Username</label> |
| 20 | <input type="text" id="username" name="username" required> |
| 21 | </div> |
| 22 | <div class="input-group"> |
| 23 | <label for="password">Password</label> |
| 24 | <input type="password" id="password" name="password" required> |
| 25 | </div> |
| 26 | <button type="submit">Login</button> |
| 27 | {% if error %} |
| 28 | <p class="error">{{ error }}</p> |
| 29 | {% endif %} |
| 30 | </form> |
| 31 | </div> |
| 32 | </body> |
| 33 | </html> |