summaryrefslogtreecommitdiff
path: root/templates/login.html
blob: e9a6ba572f3101aab3fff678a70c29343dbb2ad9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
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/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>