<!DOCTYPE html>
<html lang="en">

<head>
    <base href="<?php echo base_url(); ?>">
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="">
    <meta name="author" content="Rizvi">
    <meta name="keyword" content="Php, Hospital, Clinic, Management, Software, Php, CodeIgniter, Hms, Accounting">
    <link rel="shortcut icon" href="<?php echo base_url('uploads/logo1.png'); ?>">
    <title><?php echo lang('livestock'); ?> | <?php echo lang('livestock_management_system'); ?></title>
    <!-- Bootstrap core CSS -->
    <link href="<?php echo base_url('common/css/bootstrap.min.css'); ?>" rel="stylesheet">
    <link href="<?php echo base_url('common/css/bootstrap-reset.css'); ?>" rel="stylesheet">
    <!-- 4.07 -->
    <link href="<?php echo base_url('common/assets/font-awesome-4.7.0/css/font-awesome.min.css'); ?>" rel="stylesheet" />
    <!-- 6.1.1 -->
    <link href="<?php echo base_url('common/assets/font-awesome/css/all.min.css'); ?>" rel="stylesheet" />
    <link href="<?php echo base_url('common/assets/font-awesome/css/fontawesome.css'); ?>" rel="stylesheet" />
    <!-- Custom styles for this template -->
    <link href="<?php echo base_url('common/css/style.css'); ?>" rel="stylesheet">
    <link href="<?php echo base_url('common/css/style-responsive.css'); ?>" rel="stylesheet" />
    <!-- HTML5 shim and Respond.js IE8 support of HTML5 tooltipss and media queries -->
    <!--[if lt IE 9]>
        <script src="js/html5shiv.js"></script>
        <script src="js/respond.min.js"></script>
        <![endif]-->
</head>

<body class="login-body">
    <div class="container">
        <form class="form-signin" method="post" action="<?php echo base_url('auth/login'); ?>">
            <h2 class="login form-signin-heading"><?php echo lang('livestock'); ?> <br> <br> <?php echo lang('livestock_management_system'); ?><br></br><i class=''></i></h2>
            <div id="infoMessage"><?php echo $message; ?></div>
            <div class="login-wrap">
                <input type="text" class="form-control" name="identity" value="" placeholder="User Email" autofocus>
                <input type="password" class="form-control" name="password" value="" placeholder="Password">
                <p><a data-toggle="modal" href="#myModal"> <?php echo lang('forgot_password'); ?></a></p>
                <!--     
                          <label class="checkbox">
                              <input type="checkbox" value="remember-me"> Remember me
                              <span class="pull-right">
                                  <a data-toggle="modal" href="#myModal"> Forgot Password?</a>
              
                              </span>
                          </label> 
                    -->
                <button class="btn btn-lg btn-login btn-block" type="submit"><?php echo lang('sign_in'); ?></button>
            </div>
        </form>
    </div>
    <div aria-hidden="true" aria-labelledby="myModalLabel" role="dialog" tabindex="-1" id="myModal" class="modal fade">
        <div class="modal-dialog">
            <div class="modal-content">
                <form method="post" action="<?php echo base_url('auth/forgot_password'); ?>">
                    <div class="modal-header">
                        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
                        <h4 class="modal-title"><?php echo lang('forgot_password'); ?> </h4>
                    </div>
                    <div class="modal-body">
                        <p><?php echo lang('enter_your_email_address_below_to_reset_your_password'); ?>.</p>
                        <input type="text" name="email" placeholder="Email" autocomplete="off" class="form-control placeholder-no-fix">
                    </div>
                    <div class="modal-footer">
                        <button data-dismiss="modal" class="btn btn-default" type="button"><?php echo lang('cancel'); ?> </button>
                        <input class="btn btn-success" type="submit" name="submit" value="submit">
                    </div>
                </form>
            </div>
        </div>
    </div>
    <!-- js placed at the end of the document so the pages load faster -->
    <script src="<?php echo base_url('common/js/jquery.js'); ?>"></script>
    <script src="<?php echo base_url('common/js/bootstrap.min.js'); ?>"></script>
</body>

</html>