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.

28 lines
1.3 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="{{ url_for('static', filename='css/bootstrap.min.css') }}" rel="stylesheet" media="screen">
  6. <link rel="manifest" href="{{ url_for('static', filename='manifest.json') }}">
  7. <link rel="apple-touch-icon" sizes="180x180" href="{{ url_for('static', filename='images/apple-touch-icon.png') }}">
  8. <link rel="icon" type="image/png" sizes="32x32" href="{{ url_for('static', filename='images/favicon-32x32.png') }}">
  9. <link rel="icon" type="image/png" sizes="16x16" href="{{ url_for('static', filename='images/favicon-16x16.png') }}">
  10. <script src="{{ url_for('static', filename='js/app.js') }}"></script>
  11. </head>
  12. <body>
  13. <div class="container">
  14. <h1>Please login</h1>
  15. <br>
  16. <form action="" method="post">
  17. <input type="text" placeholder="Username" name="username" value="{{
  18. request.form.username }}">
  19. <input type="password" placeholder="Password" name="password" value="{{
  20. request.form.password }}">
  21. <input class="btn btn-default" type="submit" value="Login">
  22. </form>
  23. {% if error %}
  24. <p class="error"><strong>Error:</strong> {{ error }}
  25. {% endif %}
  26. </div>
  27. </body>
  28. </html>