<!DOCTYPE html>
<html class="body-full-height" lang="en"><head>        
        <!-- META SECTION -->
        <title><?php echo $title; ?></title>            
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <meta name="viewport" content="width=device-width, initial-scale=1">
        
        <link rel="icon" href="http://estimates.strandwebsites.com/favicon.ico" type="image/x-icon">
        <!-- END META SECTION -->
        
        <!-- CSS INCLUDE -->        
        <link rel="stylesheet" type="text/css" id="theme" href="<?php echo base_url(); ?>site_essentials/css/theme-default.css">
		   <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
  <link rel="stylesheet" href="<?php echo base_url(); ?>site_essentials/css/custom.css">
  <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
  <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
        <!-- EOF CSS INCLUDE -->                                    
</head>
    
    <body cz-shortcut-listen="true" class="min-h100">
      <form method="post" action="<?php echo base_url(); ?>main_controller/login_validation" style="height: 100% !important;">   
		
		<div class="d-flex min-h100">
			<div class="log-left">
				<img src="<?php echo base_url(); ?>site_essentials/images/logo.png"/>
				<div class="logoname">Contractor <span class="cd">App</span></div>
			</div>
			
			<div class="log-right gred-back">
				<div class="log-form">
					<h2 class="text-center cw bold">LOGIN</h2>
					<div class="form-group">
					  <input type="text" class="form-control" id="usr" name="username" placeholder="Username">
					  <span class="text-danger"><?php echo form_error('username'); ?></span>
					</div>
					<div class="form-group">
					  <input type="password" class="form-control" id="usr" name="password" placeholder="Password">
					  <span class="text-danger"><?php echo form_error('password'); ?></span>
					</div>
					<div class="form-group text-center">
					 <button type="submit" class="btn btn-default">LOGIN</button>
					</div>
					<div class="form-group text-center forgt">
					 <a href="<?php echo base_url().'main_controller/forgot_pass'; ?>">Forgot Password?</a>
					</div>
				</div>
			</div>
			
		</div>
		</form>


</body></html>