134 lines
7.1 KiB
PHP
134 lines
7.1 KiB
PHP
<!DOCTYPE html>
|
|
<html lang="en">
|
|
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<title>BigBamboo Donation</title>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<meta content="A fully featured admin theme which can be used to build CRM, CMS, etc." name="description" />
|
|
<meta content="Coderthemes" name="author" />
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
|
<!-- App favicon -->
|
|
<link rel="shortcut icon" href="<?= base_url() . "public/uploads/default.ico" ?>">
|
|
|
|
<!-- App css -->
|
|
<link href="<?= base_url() . "public/assets/css/bootstrap.min.css" ?>" rel="stylesheet" type="text/css" id="bs-default-stylesheet" />
|
|
<link href="<?= base_url() . "public/assets/css/app.min.css" ?>" rel="stylesheet" type="text/css" id="app-default-stylesheet" />
|
|
<link href="<?= base_url() . "public/assets/css/bootstrap-dark.min.css" ?>" rel="stylesheet" type="text/css" id="bs-dark-stylesheet" />
|
|
<link href="<?= base_url() . "public/assets/css/app-dark.min.css" ?>" rel="stylesheet" type="text/css" id="app-dark-stylesheet" />
|
|
|
|
<!-- icons -->
|
|
<link href="<?= base_url() . "public/assets/css/icons.min.css" ?>" rel="stylesheet" type="text/css" />
|
|
|
|
</head>
|
|
|
|
<body class="loading">
|
|
|
|
<div class="account-pages mt-5 mb-5">
|
|
<div class="container">
|
|
<div class="row justify-content-center">
|
|
<div class="col-md-8 col-lg-6 col-xl-5">
|
|
<div class="card">
|
|
|
|
<div class="card-body p-4">
|
|
|
|
<div class="text-center w-75 m-auto">
|
|
<div class="auth-logo">
|
|
<a href="javascript: void(0);" class="logo logo-dark text-center">
|
|
<span class="logo-lg">
|
|
<img src="<?= base_url() . "public/uploads/default.png" ?>" alt="" height="80">
|
|
</span>
|
|
</a>
|
|
|
|
<a href="javascript: void(0);" class="logo logo-light text-center">
|
|
<span class="logo-lg">
|
|
<img src="<?= base_url() . "public/uploads/default.png" ?>" alt="" height="80">
|
|
</span>
|
|
</a>
|
|
</div>
|
|
<p class="text-muted mb-4 mt-3">Enter your email address and password.</p>
|
|
</div>
|
|
<!-- <form action=""> -->
|
|
<form action="<?= base_url() . "authenticate" ?>" method="post">
|
|
<div class="form-group mb-3">
|
|
<label for="emailaddress">Email address</label>
|
|
<input class="form-control" type="email" name="username" id="emailaddress" required placeholder="Enter your email" autocomplete="off">
|
|
</div>
|
|
|
|
<div class="form-group mb-3">
|
|
<!-- <a href="auth-recoverpw-2.html" class="text-muted float-right"><small>Forgot your password?</small></a> -->
|
|
<!-- <a href="<?= base_url()."auth_confirm_mail"; ?>" class="text-muted float-right"><small>Forgot your password?</small></a> -->
|
|
<a href="#" id="resetLink" class="text-muted float-right"><small>Forgot your password?</small></a>
|
|
<label for="password">Password</label>
|
|
<div class="input-group input-group-merge">
|
|
<input class="form-control" type="password" name="password" id="password" required placeholder="Enter your password" autocomplete="off">
|
|
<div class="input-group-append" data-password="false">
|
|
<div class="input-group-text">
|
|
<span class="password-eye"></span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- <div class="form-group mb-3">
|
|
<div class="custom-control custom-checkbox">
|
|
<input type="checkbox" class="custom-control-input" id="checkbox-signin" checked>
|
|
<label class="custom-control-label" for="checkbox-signin">Remember me</label>
|
|
</div>
|
|
</div> -->
|
|
<?php if (isset($validationErrors)) : ?>
|
|
<span class="widget-simple text-center">
|
|
<div class="media-body align-self-center font-24 avatar-title">
|
|
<p style="color: #f1556c!important;" class="mt-0" style><?= $validationErrors; ?></p>
|
|
</div>
|
|
</span>
|
|
<?php endif; ?>
|
|
<div class="form-group mb-0 text-center">
|
|
<button class="btn btn-primary btn-block" type="submit"> Log In </button>
|
|
</div>
|
|
|
|
|
|
</form>
|
|
</div> <!-- end card-body -->
|
|
</div>
|
|
<!-- end card -->
|
|
|
|
<div class="row mt-3">
|
|
<div class="col-12 text-center">
|
|
<!-- <p> <a href="auth-recoverpw.html" class="text-muted ml-1">Forgot your password?</a></p> -->
|
|
<!-- <p class="text-muted">Don't have an account? <a href="auth-register.html" class="text-primary font-weight-medium ml-1">Sign Up</a></p> -->
|
|
</div> <!-- end col -->
|
|
</div>
|
|
<!-- end row -->
|
|
|
|
</div> <!-- end col -->
|
|
</div>
|
|
<!-- end row -->
|
|
</div>
|
|
<!-- end container -->
|
|
</div>
|
|
<!-- end page -->
|
|
|
|
<footer class="footer footer-alt">
|
|
<p> <?= date('Y') ?> © <?= "bigbamboodonation"; ?>.</p>
|
|
</footer>
|
|
|
|
<!-- Vendor js -->
|
|
<script src="<?= base_url() . "public/assets/js/vendor.min.js" ?>"></script>
|
|
|
|
<!-- App js -->
|
|
<script src="<?= base_url() . "public/assets/js/app.min.js" ?>"></script>
|
|
|
|
<script>
|
|
$(document).ready(function() {
|
|
// Fetch email value and set it as href for the reset link
|
|
$('#emailaddress').on('input', function() {
|
|
var emailValue = $(this).val();
|
|
$('#resetLink').attr('href', 'auth_confirm_mail?email='+emailValue);
|
|
});
|
|
});
|
|
</script>
|
|
|
|
</body>
|
|
|
|
</html>
|