summaryrefslogtreecommitdiff
path: root/templates/login.html
diff options
context:
space:
mode:
authorMichaël Ball <michael.ball@gmail.com>2014-12-28 12:24:22 +0000
committerMichaël Ball <michael.ball@gmail.com>2015-11-27 20:02:04 +0000
commit75beec91a8526fbbc0a90134140b9dff6af15c0c (patch)
tree02414e46da3e08000384c40c27b7aab9748de0fe /templates/login.html
parenta2964845e3c03b9cf5f01583f53f7553c7d67caf (diff)
Initial frontend work
Diffstat (limited to 'templates/login.html')
-rw-r--r--templates/login.html39
1 files changed, 39 insertions, 0 deletions
diff --git a/templates/login.html b/templates/login.html
new file mode 100644
index 0000000..0f3d529
--- /dev/null
+++ b/templates/login.html
@@ -0,0 +1,39 @@
+<!doctype html>
+<html lang="en">
+ <head>
+ <meta charset="utf-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1">
+ <title>Mach2</title>
+ <script src="{{ url_for('static', filename='scripts/lib/jquery/jquery.js') }}"></script>
+ <script src="{{ url_for('static', filename='scripts/lib/bootstrap/js/bootstrap.js') }}"></script>
+ <link rel="stylesheet" href="{{ url_for('static', filename='scripts/lib/bootstrap/css/bootstrap.css') }}">
+ </head>
+ <body>
+ <div class="container">
+ <div class="col-xs-12 text-center">
+ <h1>Mach2</h1>
+ </div>
+ <div class="col-xs-offset-2 col-xs-8">
+ <form class="form-horizontal" action="/login" method="POST">
+ <div class="form-group">
+ <label for="username" class="col-xs-12 col-sm-3 control-label">Username</label>
+ <div class="col-xs-12 col-sm-9">
+ <input type="text" class="form-control" id="username" name="username" placeholder="Username" />
+ </div>
+ </div>
+ <div class="form-group">
+ <label for="password" class="col-xs-12 col-sm-3 control-label">Password</label>
+ <div class="col-xs-12 col-sm-9">
+ <input type="password" class="form-control" id="password" name="password" placeholder="Password" />
+ </div>
+ </div>
+ <div class="form-group">
+ <div class="col-xs-12 col-sm-offset-3 col-sm-9">
+ <button type="submit" class="btn btn-primary btn-block">Sign in</button>
+ </div>
+ </div>
+ </form>
+ </div>
+ </div>
+ </body>
+</html>