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.

27 lines
1.1 KiB

  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. <link rel="manifest" href="static/site.webmanifest">
  7. <link rel="apple-touch-icon" sizes="180x180" href="static/apple-touch-icon.png">
  8. <link rel="icon" type="image/png" sizes="32x32" href="static/favicon-32x32.png">
  9. <link rel="icon" type="image/png" sizes="16x16" href="static/favicon-16x16.png">
  10. </head>
  11. <body>
  12. <div class="container">
  13. <h1>Please login</h1>
  14. <br>
  15. <form action="" method="post">
  16. <input type="text" placeholder="Username" name="username" value="{{
  17. request.form.username }}">
  18. <input type="password" placeholder="Password" name="password" value="{{
  19. request.form.password }}">
  20. <input class="btn btn-default" type="submit" value="Login">
  21. </form>
  22. {% if error %}
  23. <p class="error"><strong>Error:</strong> {{ error }}
  24. {% endif %}
  25. </div>
  26. </body>
  27. </html>