<?php if(!defined('ACCESS_CONTROL')) {header($_SERVER['SERVER_PROTOCOL']. ' 404'); exit('404 not found');}?>
<html>
<head>
    <meta charset="utf-8">
    <title>Login</title>
    <link rel="stylesheet" href="public/css/font-awesome.min.css">
    <link rel="stylesheet" href="public/css/bootstrap.min.css">
    <link rel="stylesheet" href="public/css/app.css">

    <script src="public/js/jquery-2.1.3.min.js"></script>
    <script src="public/js/bootstrap.min.js"></script>
    <script src="public/js/app.js"></script>
</head>
<body>

<div class="container" style="margin-top: 50px;">
    <?php include VIEWS_PATH.'/layouts/errors.html.php'?>
    <form class="form-horizontal" action="?do=auth" method="post">
        <div class="form-group">
            <label class="control-label col-sm-3">Login</label>
            <div class="col-sm-3">
                <input type="text" name="login" class="form-control" value="<?php echo $login?>">
            </div>
        </div>

        <div class="form-group">
            <label class="control-label col-sm-3">Pass</label>
            <div class="col-sm-3">
                <input type="password" name="pass" class="form-control" value="<?php echo($pass)?>">
            </div>
        </div>

        <div class="form-group">
            <div class="col-sm-offset-3 col-sm-3">
                <button type="submit" class="btn btn-primary"><i class="glyphicon glyphicon-log-in"></i> Login</button>
            </div>
        </div>

    </form>
</div>
</body>
</html>