A rewrite of the Raspberry Pi Garage Door Opener using Flask
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
769 B

  1. <html>
  2. <head>
  3. <title>Log in to continue</title>
  4. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  5. <link href="static/bootstrap.min.css" rel="stylesheet" media="screen">
  6. </head>
  7. <body>
  8. <div class="container">
  9. <h1>Please login</h1>
  10. <br>
  11. <form action="" method="post">
  12. <input type="text" placeholder="Username" name="username" value="{{
  13. request.form.username }}">
  14. <input type="password" placeholder="Password" name="password" value="{{
  15. request.form.password }}">
  16. <input class="btn btn-default" type="submit" value="Login">
  17. </form>
  18. {% if error %}
  19. <p class="error"><strong>Error:</strong> {{ error }}
  20. {% endif %}
  21. </div>
  22. </body>
  23. </html>