<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>SIK - Login</title>
    <link rel="stylesheet" href="static/css/login.css">

	<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
	<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
	<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.css" rel = "stylesheet">
	<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.js"></script>

    <script src="https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.5.6/angular.js"></script>
	<script src="http://ajax.googleapis.com/ajax/libs/angularjs/1.5.6/angular-route.js"></script>
	<script src="https://cdnjs.cloudflare.com/ajax/libs/underscore.js/1.8.3/underscore-min.js"></script>
</head>
<body>
    <div id="content-body" class="container">
        <h1 id="site-title">SIK Admin</h1>
        <form method="POST" class="form-horizontal" action=""> {% csrf_token %}
            <div class="form-group row">
                <label for="input-username" class="col-sm-2 col-form-label">Käyttäjätunnus</label>
                <div class="col-sm-10">
                    <input type="text" name="username" id="input-username" class="form-control" placeholder="Käyttäjätunnus"></input>
                </div>
            </div>
            <div class="form-group row">
                <label for="input-password" class="col-sm-2 col-form-label">Salasana</label>
                <div class="col-sm-10">
                    <input type="password" name="passwd" id="input-passwd" class="form-control" placeholder="Salasana"></input>
                </div>
            </div>
            <div class="form-group row">
                <div class="col-sm-offset-2 col-sm-10">
                    <div class="text-danger">{{ error }}</div>
                </div>
            </div>
            <div class="form-group row" id="login-button">
                <div class="col-sm-2">
                    <button type="submit" class="btn btn-default">Kirjaudu</button>
                </div>
            </div>
        </form>
    </div>
</body>
</html>
