<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
    <title>Admin | <?php echo $this->config->item('acl_site_name') ?></title>
    <link rel="icon" href="<?php echo base_url('favicon.ico') ?>" type="image/x-icon">
    <link href="https://fonts.googleapis.com/css?family=Roboto:400,700&subset=latin,cyrillic-ext" rel="stylesheet" type="text/css">
    <link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet" type="text/css">
    <link href="<?php echo base_url('plugins/bootstrap/css/bootstrap.css') ?>" rel="stylesheet">
    <link href="<?php echo base_url('plugins/node-waves/waves.css') ?>" rel="stylesheet" />
    <link href="<?php echo base_url('plugins/animate-css/animate.css') ?>" rel="stylesheet" />
    <link href="<?php echo base_url('assets/css/style.css') ?>" rel="stylesheet">
</head>

<body class="login-page">
    <div class="login-box">
        <div class="logo">
            <a href="javascript:void(0);"><img src="<?php echo $this->config->item('acl_logo_dark') ?>" width="210" height="55" alt="<?php echo $this->config->item('acl_site_name') ?>"/></a>
        </div>
        <div class="card cdb-custom-login">
            <div class="panel-heading">
                <div class="view-header">
                    <div class="header-icon">
                         <i class="material-icons">lock_open</i>
                    </div>
                    <div class="header-title">
                        <h3>Login</h3>
                        <small><strong>Please enter your login information.</strong></small>
                    </div>
                </div>
            </div>
            <div class="body">
                <form id="sign_in" method="POST">
                    <?php echo validation_errors('<p class=\"text-danger\">', '</p>'); ?>
                    <?php
                        $passerror = $this->session->flashdata('password_error');
                        if($passerror!=null) echo "<p class=\"text-danger\">".$passerror."</p>";
                    ?>
                    <div class="form-group">
                        <label class="control-label" for="username">Email</label>
                        <input type="email" class="form-control" name="email" placeholder="Email Address" required autofocus>
                        <span class="help-block small"></span>
                    </div>
                    <div class="form-group">
                        <label class="control-label" for="password">Password</label>
                        <input type="password" class="form-control" name="password" placeholder="Password" required>
                        <span class="help-block small"></span>
                    </div>
                    <div class="form-group m-b-0">
                         <button class="btn btn-block bg-green waves-effect" type="submit">LOGIN</button>
                    </div>
                </form>
            </div>
        </div>
    </div>
    <script src="<?php echo base_url('plugins/jquery/jquery.min.js') ?>"></script>
    <script src="<?php echo base_url('plugins/bootstrap/js/bootstrap.js') ?>"></script>
    <script src="<?php echo base_url('plugins/node-waves/waves.js') ?>"></script>
    <script src="<?php echo base_url('assets/js/admin.js') ?>"></script>
</body>
</html>