<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="user-scalable=no" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
    <!--<link rel="icon" type="image/png" href="">-->
    <title>Connexion</title>
    <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 9]>
      <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
      <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
    <![endif]-->
	
	<!-- Bootstrap -->
	<link href='http://fonts.googleapis.com/css?family=Roboto+Slab' rel='stylesheet' type='text/css'>
    <link href="<?php echo base_url() ?>assets/css/bootstrap.css" rel="stylesheet">
	<link href="<?php echo base_url() ?>assets/css/login.css" rel="stylesheet">
	<link href="<?php echo base_url() ?>assets/css/font-awesome.css" rel="stylesheet">
	<!--<link href="css/jquery-ui.css" rel="stylesheet">-->
 
      
  </head>
  <body class="login-body">
  <div id="wrapper">
  <div class="login-div">
  <div class="system-name col-md-4 col-lg-4 col-sm-6 col-md-offset-4 col-lg-offset-4 col-sm-offset-3">
  <div class="login-logo"><img src="<?php echo base_url() ?>assets/images/logo.png" alt=""/></div>
  <h3><?php echo get_current_setting("company_name"); ?></h3>
  </div>

      
  <div class="col-md-4 col-lg-4 col-sm-6 login-panel col-md-offset-4 col-lg-offset-4 col-sm-offset-3">
      <h1><i class="icon-user"></i>&nbsp;&nbsp;Login</h1>
      <?php if($this->session->flashdata('error')){ ?>
          <div class="alert alert-danger">
              <a href="#" class="close" data-dismiss="alert" aria-label="close">&times;</a>
              <strong>La connexion a echoue </strong> <?php echo $this->session->flashdata('error'); ?>
          </div>
      <?php } ?>
  <form class="my-form" method="post" action="<?php echo site_url('Login/varifyUser') ?>">
  <input type="text" class="my-control email-icon" name="login-username" placeholder="Nom d'utilisateur"/>
  <input type="password" class="my-control pass-icon" name="login-password" placeholder="Mot de passe"/>
  <input type="submit" class="my-btn" name="login" value="Login"/>
  </form>
  
  </div>
  </div>
  </div><!-- End Wrapper -->
    <!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->

   <script src="<?php echo base_url() ?>assets/js/jquery.js"></script>
    <!-- Include all compiled plugins (below), or include individual files as needed -->
   <script src="<?php echo base_url() ?>assets/js/bootstrap.js"></script>
   <script type="text/javascript">

       $(document).ready(function(){
           $('input').attr('autocomplete','off');

       });

   </script>

  </body>
</html>