suresh
This commit is contained in:
parent
14c7e64ded
commit
82771e0e9a
@ -20,7 +20,7 @@ class App extends BaseConfig
|
|||||||
// public string $baseURL = 'https://mprkv.co.in/devbook';
|
// public string $baseURL = 'https://mprkv.co.in/devbook';
|
||||||
|
|
||||||
public string $baseURL = 'http://localhost/golf_backend';
|
public string $baseURL = 'http://localhost/golf_backend';
|
||||||
// public string $baseURL = 'http://localhost:88/golf_backend';
|
// public string $baseURL = 'http://localhost:88/golf_backend';
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -117,11 +117,11 @@
|
|||||||
<form method="post" action="<?= base_url()."register"; ?>" role="form" class="parsley-examples">
|
<form method="post" action="<?= base_url()."register"; ?>" role="form" class="parsley-examples">
|
||||||
<h1>Create Account</h1>
|
<h1>Create Account</h1>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-6 mb-3">
|
<div class="col-12 col-lg-6 mb-3">
|
||||||
<label for="username">First Name</label>
|
<label for="username">First Name</label>
|
||||||
<input type="text" class="form-control" required parsley-type="text" name="name" placeholder="First Name" id="username"/>
|
<input type="text" class="form-control" required parsley-type="text" name="name" placeholder="First Name" id="username"/>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-6 mb-3">
|
<div class="col-12 col-lg-6 mb-3">
|
||||||
<label for="username">Last Name</label>
|
<label for="username">Last Name</label>
|
||||||
<input type="text" class="form-control" required parsley-type="text" name="last_name" placeholder="Last Name" id="lastname"/>
|
<input type="text" class="form-control" required parsley-type="text" name="last_name" placeholder="Last Name" id="lastname"/>
|
||||||
</div>
|
</div>
|
||||||
@ -166,15 +166,16 @@
|
|||||||
</div>
|
</div>
|
||||||
<button class="signup-btn" type="submit">Register</button>
|
<button class="signup-btn" type="submit">Register</button>
|
||||||
</form>
|
</form>
|
||||||
|
<button class="login-btn mobile-logintbn" id="signIn1">Sign In</button>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="form-container sign-in-container">
|
<div class="form-container sign-in-container">
|
||||||
|
|
||||||
<form method="post" action="<?= base_url(); ?>">
|
<form method="post" action="<?= base_url(); ?>">
|
||||||
|
|
||||||
<h1>Sign in</h1>
|
<div class="col-12">
|
||||||
|
<h1>Sign in</h1>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<?php if(session()->getTempdata('mail_success')):?>
|
<?php if(session()->getTempdata('mail_success')):?>
|
||||||
@ -188,9 +189,6 @@
|
|||||||
<?php endif;?>
|
<?php endif;?>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<?php if(session()->getTempdata('error')):?>
|
<?php if(session()->getTempdata('error')):?>
|
||||||
|
|
||||||
<div class="alert alert-danger" >
|
<div class="alert alert-danger" >
|
||||||
@ -205,7 +203,7 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
<div class="row">
|
<div class="row w-100">
|
||||||
|
|
||||||
<div class="col-12 mb-3">
|
<div class="col-12 mb-3">
|
||||||
|
|
||||||
@ -216,7 +214,7 @@
|
|||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="col-12 mb-3">
|
<div class="col-12 mb-3 pwd">
|
||||||
|
|
||||||
<label for="newpassword">Password</label>
|
<label for="newpassword">Password</label>
|
||||||
|
|
||||||
@ -234,6 +232,8 @@
|
|||||||
|
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
|
<button class="login-btn mobile-signupbtn" id="signUp1">Sign Up</button>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="overlay-container">
|
<div class="overlay-container">
|
||||||
@ -280,8 +280,12 @@
|
|||||||
|
|
||||||
const signUpButton = document.getElementById('signUp');
|
const signUpButton = document.getElementById('signUp');
|
||||||
|
|
||||||
|
const signUpButton1 = document.getElementById('signUp1');
|
||||||
|
|
||||||
const signInButton = document.getElementById('signIn');
|
const signInButton = document.getElementById('signIn');
|
||||||
|
|
||||||
|
const signInButton1 = document.getElementById('signIn1');
|
||||||
|
|
||||||
const container = document.getElementById('myaccount');
|
const container = document.getElementById('myaccount');
|
||||||
|
|
||||||
|
|
||||||
@ -292,12 +296,24 @@ signUpButton.addEventListener('click', () => {
|
|||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
|
signUpButton1.addEventListener('click', () => {
|
||||||
|
|
||||||
|
container.classList.add("right-panel-active");
|
||||||
|
|
||||||
|
});
|
||||||
|
|
||||||
signInButton.addEventListener('click', () => {
|
signInButton.addEventListener('click', () => {
|
||||||
|
|
||||||
container.classList.remove("right-panel-active");
|
container.classList.remove("right-panel-active");
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
|
signInButton1.addEventListener('click', () => {
|
||||||
|
|
||||||
|
container.classList.remove("right-panel-active");
|
||||||
|
|
||||||
|
});
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
<script>
|
<script>
|
||||||
var country_code = $('#country_code').val();
|
var country_code = $('#country_code').val();
|
||||||
|
|||||||
@ -1264,6 +1264,42 @@ body.checkout .select2-container--default .select2-selection--single .select2-s
|
|||||||
transform: translateX(20%);
|
transform: translateX(20%);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media (max-width:768px) {
|
||||||
|
.overlay-container{
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
.sign-in-container form{
|
||||||
|
height: auto;
|
||||||
|
}
|
||||||
|
.account-width .sign-up-container{
|
||||||
|
transform: translateX(100%);
|
||||||
|
}
|
||||||
|
.mobile-signupbtn, .mobile-logintbn{
|
||||||
|
border:2px solid var(--blue-color)!important;
|
||||||
|
color:var(--blue-color)!important;
|
||||||
|
}
|
||||||
|
.mobile-signupbtn:hover, .mobile-logintbn:hover{
|
||||||
|
border:2px solid var(--pink-color)!important;
|
||||||
|
background:var(--pink-color)!important;
|
||||||
|
color:#ffffff!important;
|
||||||
|
}
|
||||||
|
.account-width.right-panel-active .sign-up-container{
|
||||||
|
transform: translateX(0%);
|
||||||
|
}
|
||||||
|
.form-container{
|
||||||
|
width:100%!important;
|
||||||
|
}
|
||||||
|
.sign-in-container .col-12{
|
||||||
|
padding:0;
|
||||||
|
}
|
||||||
|
.sign-in-container .col-12.pwd{
|
||||||
|
margin-bottom:20px!important;
|
||||||
|
}
|
||||||
|
.forget-pwd, .signin-btn{
|
||||||
|
margin-bottom:20px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/*-----Recovery Account-----*/
|
/*-----Recovery Account-----*/
|
||||||
.recovery-account {
|
.recovery-account {
|
||||||
box-shadow: 0 14px 28px rgba(0,0,0,0.15);
|
box-shadow: 0 14px 28px rgba(0,0,0,0.15);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user