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.

32 lines
1.6 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. <meta content="yes" name="apple-mobile-web-app-capable">
  8. <meta content="My Garage" name="apple-mobile-web-app-title">
  9. <link rel="apple-touch-icon" sizes="180x180" href="{{ url_for('static', filename='images/apple-touch-icon.png') }}">
  10. <link rel="apple-touch-startup-image" sizes="512x512" href="{{ url_for('static', filename='images/apple-touch-icon.png') }}">
  11. <link rel="icon" sizes="96x96" href="{{ url_for('static', filename='images/apple-touch-icon.png') }}">
  12. <link rel="icon" type="image/png" sizes="32x32" href="{{ url_for('static', filename='images/favicon-32x32.png') }}">
  13. <link rel="icon" type="image/png" sizes="16x16" href="{{ url_for('static', filename='images/favicon-16x16.png') }}">
  14. <script src="{{ url_for('static', filename='js/app.js') }}"></script>
  15. </head>
  16. <body>
  17. <div class="container">
  18. <h1>Please login</h1>
  19. <br>
  20. <form action="" method="post">
  21. <input type="text" placeholder="Username" name="username" value="{{
  22. request.form.username }}">
  23. <input type="password" placeholder="Password" name="password" value="{{
  24. request.form.password }}">
  25. <input class="btn btn-default" type="submit" value="Login">
  26. </form>
  27. {% if error %}
  28. <p class="error"><strong>Error:</strong> {{ error }}
  29. {% endif %}
  30. </div>
  31. </body>
  32. </html>