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.
|
|
<html> <head> <title>Log in to continue</title> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <link href="static/bootstrap.min.css" rel="stylesheet" media="screen"> <link rel="manifest" href="static/site.webmanifest"> <link rel="apple-touch-icon" sizes="180x180" href="static/apple-touch-icon.png"> <link rel="icon" type="image/png" sizes="32x32" href="static/favicon-32x32.png"> <link rel="icon" type="image/png" sizes="16x16" href="static/favicon-16x16.png"> </head> <body> <div class="container"> <h1>Please login</h1> <br> <form action="" method="post"> <input type="text" placeholder="Username" name="username" value="{{ request.form.username }}"> <input type="password" placeholder="Password" name="password" value="{{ request.form.password }}"> <input class="btn btn-default" type="submit" value="Login"> </form> {% if error %} <p class="error"><strong>Error:</strong> {{ error }} {% endif %} </div> </body></html>
|