<!DOCTYPE html>
<html lang="en">
	<head>
		<meta charset="utf-8">
		<meta name="viewport" content="width=device-width, initial-scale=1.0">
		<meta name="description" content="PILKETOS WATUSKA">
		<meta name="author" content="Aetos Digital Design">
		<meta name="keyword" content="Aplikasi Voting">
		<link rel="shortcut icon" href="<?php echo base_url(); ?>assets/img/icon.png">
		<title>PILKETOS | ADMIN</title>
		<link href="<?php echo base_url(); ?>assets/css/bootstrap.min.css" rel="stylesheet">
		<link href="<?php echo base_url(); ?>assets/css/bootstrap-reset.css" rel="stylesheet">
		<link href="<?php echo base_url(); ?>assets/assets/font-awesome/css/font-awesome.css" rel="stylesheet" />
		<link href="<?php echo base_url(); ?>assets/css/style.css" rel="stylesheet">
		<link href="<?php echo base_url(); ?>assets/css/style-responsive.css" rel="stylesheet" />
		<script src="<?php echo base_url(); ?>assets/js/jquery.js"></script>
		<script src="<?php echo base_url(); ?>assets/js/bootstrap.min.js"></script>
		<script>
			$(document).ready(function() {
				$('.alert').hide();
				<?php if($this->session->flashdata('msg')){ ?>
				$('.alert').show();
				});
			<?php } ?>
		</script>
	</head>
	<body class="login-body">
		<div class="container">
			<div class="col-md-4 col-md-offset-4">
				<div class="alert alert-danger fade in" style="display:none; margin-top:45px; alignt:center;">
					<a class="close" data-dismiss="alert" href="#" aria-hidden="true">&times;</a>
					<?php echo $this->session->flashdata('msg'); ?>
				</div> 
			</div>
			<form method="post" class="form-signin" action="<?php echo base_url(); ?>admin/login_admin/auth">
				<h2 class="form-signin-heading">Login Admin</h2>
				<div class="login-wrap">
					<input name="username" type="text" class="form-control" placeholder="nama pengguna" autofocus>
					<input name="password" type="password" class="form-control" placeholder="kata sandi">            
					<button class="btn btn-lg btn-login btn-block" type="submit">Masuk</button>          
				</div>
			</form>
		</div>
		<script src="<?php echo base_url(); ?>assets/js/jquery.js"></script>
		<script src="<?php echo base_url(); ?>assets/js/bootstrap.min.js"></script>
	</body>
</html>
