<!DOCTYPE html>
<html lang="ru">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="author" content="Server-Mon.ru">

    <title>ServerMon - Панель Администратора</title>

    <link href="/theme/admin/public/css/bootstrap.min.css" rel="stylesheet">
    <link href="/theme/admin/public/css/plugins/metisMenu/metisMenu.min.css" rel="stylesheet">
    <link href="/theme/admin/public/css/sb-admin-2.css" rel="stylesheet">
    <link href="/theme/admin/public/font-awesome-4.1.0/css/font-awesome.min.css" rel="stylesheet" type="text/css">

    <!--[if lt IE 9]>
        <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
        <script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->

</head>
<body>

    <div class="container">
        <div class="row">
            <div class="col-md-4 col-md-offset-4">
                <div class="login-panel panel panel-default">
                    <div class="panel-heading">
                        <h3 class="panel-title">Авторизация</h3>
                    </div>
                    <div class="panel-body">
					<?if($error):?><div class="alert alert-danger"><?=$error?></div><?endif;?>
					<?if($success):?><div class="alert alert-success"><?=$success?></div><?endif;?>
                        <form role="form" action="/admin" method="POST">
                            <fieldset>
                                <div class="form-group">
                                    <input class="form-control" placeholder="Логин" name="sm_login" type="login" autofocus>
                                </div>
                                <div class="form-group">
                                    <input class="form-control" placeholder="Пароль" name="sm_password" type="password" value="">
                                </div>
                                <input type="hidden" name="login" value="true">
                                <button type="sumbit" class="btn btn-sm btn-success btn-block">Войти</a>
                            </fieldset>
                        </form>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <script src="/theme/admin/public/js/jquery.js"></script>
    <script src="/theme/admin/public/js/bootstrap.min.js"></script>
    <script src="/theme/admin/public/js/plugins/metisMenu/metisMenu.min.js"></script>
    <script src="/theme/admin/public/js/sb-admin-2.js"></script>
</body>
</html>
