summaryrefslogtreecommitdiff
path: root/templates/login.html
diff options
context:
space:
mode:
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>