<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <link href="<?php echo e(asset('images/INB.png')); ?>" rel="icon" type="image/x-icon"/>
    <link href="<?php echo e(asset('images/INB.png')); ?>" rel="shortcut icon" type="image/x-icon"/>
    <title>Login</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
    <link rel="stylesheet" href="<?php echo e(asset('backend/login/css/bootstrap.min.css')); ?>"/>
    <link rel="stylesheet" href="<?php echo e(asset('backend/login/css/bootstrap-responsive.min.css')); ?>"/>
    <link rel="stylesheet" href="<?php echo e(asset('backend/login/css/matrix-login.css')); ?>"/>
    <link href="<?php echo e(asset('backend/login/font-awesome/css/font-awesome.css')); ?>" rel="stylesheet"/>
    <link href='http://fonts.googleapis.com/css?family=Open+Sans:400,700,800' rel='stylesheet' type='text/css'>
    <style type="text/css">
        .error {
            color: white;
        }
    </style>
</head>
<body style="background-color: rgba(220,247,255,0);">
<div id="loginbox">
    <?php if(Session::has('success_message')): ?>
        <div class="alert alert-success">
            <?php echo e(Session::get('success_message')); ?>

        </div>
    <?php endif; ?>
    <?php if(Session::has('error_message')): ?>
        <div class="alert alert-danger">
            <?php echo e(Session::get('error_message')); ?>

        </div>
    <?php endif; ?>
    <form class="form-vertical" action="<?php echo e(route('user.check')); ?>" method="post">
        <?php echo e(csrf_field()); ?>

        <div class="control-group normal_text"><h3><img src="<?php echo e(asset('images/INB.png')); ?>" height="100" width="100" alt="Logo"/></h3></div>
        <div class="control-group">
            <div class="controls">
                <div class="main_input_box">
                    <span class="add-on bg_lg"><i class="icon-user"></i></span>
                    <input type="text" name="username"  placeholder="Username" value="<?php echo e(old('username')); ?>" />
                </div>
                <span class="error">
                    <?php if($errors->has('username')): ?>
                        <?php echo e($errors->first('username')); ?>

                    <?php endif; ?>
                </span>
            </div>
        </div>
        <div class="control-group">
            <div class="controls">
                <div class="main_input_box">
                    <span class="add-on bg_ly"><i class="icon-lock"></i></span>
                    <input type="password" name="password" placeholder="Password"/>
                </div>
                <span class="error">
                    <?php if($errors->has('password')): ?>
                        <?php echo e($errors->first('password')); ?>

                    <?php endif; ?>
                </span>
            </div>
        </div>
        <div class="form-actions">
            <span class="pull-left"><a href="<?php echo e(route('reset.password')); ?>" class="flip-link btn btn-info">Lost password?</a></span>
            <span class="pull-right"><button type="submit" class="btn btn-success"> Login</button></span>
        </div>
    </form>
</div>
<script src="<?php echo e(asset('backend/login/js/jquery.min.js')); ?>"></script>
<script src="<?php echo e(asset('backend/login/js/matrix.login.js')); ?>"></script>
</body>
</html>
