bbone/application/modules/Auth/views/login.php

79 lines
3.2 KiB
PHP

<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<!-- Meta, title, CSS, favicons, etc. -->
<meta 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="<?php echo base_url(); ?>/assets/appimg/default.ico" />
<title>BigBamboo Enterprise</title>
<!-- Bootstrap -->
<link href="<?php echo base_url(); ?>/assets/default/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet">
<!-- Font Awesome -->
<link href="<?php echo base_url(); ?>/assets/default/font-awesome/css/font-awesome.min.css" rel="stylesheet">
<!-- NProgress -->
<link href="<?php echo base_url(); ?>/assets/default/nprogress/nprogress.css" rel="stylesheet">
<!-- Animate.css -->
<link href="<?php echo base_url(); ?>/assets/default/animate.css/animate.min.css" rel="stylesheet">
<!-- Custom Theme Style -->
<link href="<?php echo base_url(); ?>/assets/default/build/css/custom.min.css" rel="stylesheet">
</head>
<body class="login">
<div>
<a class="hiddenanchor" id="signup"></a>
<a class="hiddenanchor" id="signin"></a>
<div class="login_wrapper">
<div class="animate form login_form">
<section class="login_content">
<form method="post" action="<?php echo base_url().'Auth/authendicate'?>">
<input type="hidden" name="<?php echo $this->security->get_csrf_token_name();?>"
value="<?php echo $this->security->get_csrf_hash();?>">
<h1>Sign In</h1>
<div>
<input type="text" class="form-control" value="" name="user_name" placeholder="Username"
required="" />
</div>
<div>
<input type="password" class="form-control" value="" name="password" placeholder="Password"
required="" />
<p id='message' style="color:red"><?php echo $this->session->flashdata('msg'); ?></p>
</div>
<div>
<button type="submit" class="btn btn-primary">Log in</button>
<a class="reset_pass" href="<?php echo base_url();?>Auth/lost_your_password">Lost your
password?</a>
</div>
<div class="clearfix"></div>
<div class="separator">
<!-- <p class="change_link">New to site? -->
<!-- <a href="<?php echo base_url().'Auth/lost_your_password'?>" class="to_register"> Create Account </a> </p> -->
<div class="clearfix"></div>
<br />
<div>
<p><?php echo date('Y'). ' ' . "&copy; ". " ".'BigBamboo Enterprise' ;?></p>
</div>
</div>
</form>
</section>
</div>
</div>
</div>
</body>
</html>