login.html 844 B

12345678910111213141516171819202122
  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">
  6. <title>Sign in — PPS Quarantine</title>
  7. <link rel="stylesheet" href="{{ url_for('static', filename='style.css') }}">
  8. </head>
  9. <body class="login-page">
  10. <form class="login-card" method="post" action="{{ url_for('login') }}{% if request.args.get('next') %}?next={{ request.args.get('next') }}{% endif %}">
  11. <h1>PPS Quarantine</h1>
  12. {% if error %}<p class="error">{{ error }}</p>{% endif %}
  13. <label>Username
  14. <input type="text" name="username" autocomplete="username" autofocus required>
  15. </label>
  16. <label>Password
  17. <input type="password" name="password" autocomplete="current-password" required>
  18. </label>
  19. <button type="submit">Sign in</button>
  20. </form>
  21. </body>
  22. </html>