diff options
| author | Guillaume Horel <guillaume.horel@gmail.com> | 2015-03-15 13:08:52 -0400 |
|---|---|---|
| committer | Guillaume Horel <guillaume.horel@gmail.com> | 2015-03-15 13:08:52 -0400 |
| commit | 45b3b419cd89c9581c43ab558d663776282354c6 (patch) | |
| tree | 93f90ad8c79ff1af5a0ceb01731c87f1b1ec9683 | |
| parent | b568894061365b11abd7d70db8c4b4bbdc6daa43 (diff) | |
| download | wedding-website-45b3b419cd89c9581c43ab558d663776282354c6.tar.gz | |
basic login page
| -rw-r--r-- | login.htm | 44 | ||||
| -rw-r--r-- | static/wedding.css | 3 |
2 files changed, 47 insertions, 0 deletions
diff --git a/login.htm b/login.htm new file mode 100644 index 0000000..342ad73 --- /dev/null +++ b/login.htm @@ -0,0 +1,44 @@ +<!DOCTYPE html> +<html lang="en"> + <head> + <title>Login</title> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> + <meta name="viewport" content="width=device-width, initial-scale=1" /> + <link href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet"> + <link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap.min.css" rel="stylesheet"> + <link href="static/wedding.css" rel="stylesheet"> + </head> + <body> + + <div class="row login"> + <div class="col-md-offset-4 col-md-6"> + <form id = "connection" action="/login/" role="form" + class="form-horizontal" method="post"> + <h4>Login</h4> + <div class="form-group"> + <label for="name" class="col-md-2">Name:</label> + <div class="col-md-4"> + <input type="text" id="name" class="form-control" + name="username" placeholder="Name"/> + </div> + </div> + <div class="form-group"> + <label for="password" class="col-md-2">Password:</label> + <div class="col-md-4"> + <input type="password" id="password" class="form-control" + name="password" placeholder="Password"/> + </div> + </div> + <div class="col-md-offset-2"> + <button type="submit" class="btn btn-primary" name="login"> + Login + </button> + </div> + + </form> + </div> + </div> + <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script> + <script type="text/javascript" src="/static/wedding.js"></script> + </body> +</html> diff --git a/static/wedding.css b/static/wedding.css new file mode 100644 index 0000000..2f14671 --- /dev/null +++ b/static/wedding.css @@ -0,0 +1,3 @@ +.login { + margin:10em auto +} |
