
<!DOCTYPE html>

<html class="backend">
    <head>
		<meta charset="utf-8" />
		<meta name="viewport" content="width=device-width, initial-scale=1.0" />
		<title>POS Apotek</title>
		<link href="<?=base_url()?>assets/webadmin/css/bootstrap.css" rel="stylesheet" />
		<link href="<?=base_url()?>assets/webadmin/css/font-awesome.css" rel="stylesheet" /> 
		<link href="<?=base_url()?>assets/webadmin/css/custom-styles.css" rel="stylesheet" />
		<link href="<?=base_url()?>assets/webadmin/images/favicon.png" rel="icon" />
    </head>
    <body>
	<style>
		body{
			background:#EFEFEF;
			-webkit-background-size: cover;
			-moz-background-size: cover;
			background-size: cover;
			-o-background-size: cover;
			background-position: top; 
		}
	</style>
	<div class="container">
		<BR>
		<BR>
	<div class="row">
		<div class="col-lg-4 col-lg-offset-4">
			<div align='center'>
				
				<br>
				<br>
				<br>
			</div>
			
			<form class="panel panel-default" name="form-login" action="<?=base_url()?>cms/auth/in" method="post"> 
				<div class="panel-heading" style='padding:20px;'>
					<h3 class="panel-title"><i class='fa fa-lock'></i> Silahkan Login</h3>
				</div>				
				<div class="panel-body">
					<?php $response = $this->session->flashdata('response'); if(isset($response["status"]) && $response["status"] == "error"): ?>
						<div class="alert alert-warning">
							<?=$response["message"]?>
						</div>
					<?php endif; ?>
					<div class="form-group">
						<div class="form-stack has-icon ">
							<input name="user" type="text" class="form-control input-lg" placeholder="User" data-parsley-errors-container="#error-container" data-parsley-error-message="Please fill in your username / email" data-parsley-required>
							<i class="ico-user2 form-control-icon"></i>
						</div>
						<br>
						<div class="form-stack has-icon ">
							<input name="pass" type="password" class="form-control input-lg" placeholder="Password" data-parsley-errors-container="#error-container" data-parsley-error-message="Please fill in your password" data-parsley-required>
							<i class="ico-lock2 form-control-icon"></i>
						</div>
					</div>
					<div id="error-container"class="mb15"></div> 
					<div class="form-group nm">
						<button type="submit" class="btn btn-block btn-lg btn-success"><span class="semibold">Login <i class='fa fa-sign-in'></i> </span></button>
					</div>
				</div>
			</form>
		</div>
	</div> 
	</div> 
	
    <script src="<?=base_url()?>assets/webadmin/js/jquery-1.10.2.js"></script>
    <script src="<?=base_url()?>assets/webadmin/js/bootstrap.min.js"></script>
    <script src="<?=base_url()?>assets/webadmin/js/jquery.metisMenu.js"></script>
    <script src="<?=base_url()?>assets/webadmin/js/custom-scripts.js"></script>
    </body>
</html>