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>
olor: #008800; background-color: #fff0ff } /* Literal.String.Regex */ .highlight .s1 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Single */ .highlight .ss { color: #aa6600; background-color: #fff0f0 } /* Literal.String.Symbol */ .highlight .bp { color: #003388 } /* Name.Builtin.Pseudo */ .highlight .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */ .highlight .vc { color: #336699 } /* Name.Variable.Class */ .highlight .vg { color: #dd7700 } /* Name.Variable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */
<!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/libs/jquery/jquery.js') }}"></script>
        <script src="{{ url_for('static', filename='scripts/libs/bootstrap/js/bootstrap.js') }}"></script>
        <link rel="stylesheet" href="{{ url_for('static', filename='scripts/libs/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>