feat: initial import of the23 theme for lamp-link
This commit is contained in:
@@ -0,0 +1,65 @@
|
||||
<section class="bg-primary min-vh-100 pt-5">
|
||||
<div class="container-fluid d-flex flex-column">
|
||||
<div class="row align-items-center justify-content-center justify-content-lg-start min-vh-100">
|
||||
<div class="row justify-content-center px-0 px-sm-5">
|
||||
<div class="col-12 col-lg-5">
|
||||
<a href="<?php echo route('home') ?>" class="mb-5 mb-md-0 text-dark text-decoration-none text-center">
|
||||
<?php if(config('logo')): ?>
|
||||
<img alt="<?php echo config('title') ?>" src="<?php echo uploads(config('logo')) ?>" id="navbar-logo">
|
||||
<?php else: ?>
|
||||
<h1 class="h5 fw-bold"><?php echo config('sitename') ?></h1>
|
||||
<?php endif ?>
|
||||
</a>
|
||||
<div class="card border-0 p-5 shadow-sm mt-5">
|
||||
<div class="mb-3">
|
||||
<h6 class="mb-2 fw-bold"><?php ee('Enter your 2FA access code') ?></h6>
|
||||
<p class="text-muted mb-0"><?php ee("The access code can be found on the Authenticator app. Please enter the code shown for this website. If you lost your phone or can't use the app, please contact us.") ?></p>
|
||||
</div>
|
||||
<?php message() ?>
|
||||
<form method="post" action="<?php echo route('login.2fa.validate') ?>">
|
||||
<div class="my-4">
|
||||
<div class="form-floating">
|
||||
<input type="text" class="form-control" size="6" name="secret" id="input-code" placeholder="e.g.123456" data-mask="000 000" required>
|
||||
<label><?php ee('2FA Access Code') ?></label>
|
||||
</div>
|
||||
<a href="#" data-bs-toggle="modal" data-bs-target="#recovermodal" class="small text-muted float-end mt-1"><?php ee('Recover 2FA') ?></a>
|
||||
</div>
|
||||
<div class="mt-5">
|
||||
<?php echo csrf() ?>
|
||||
<div class="d-grid">
|
||||
<button type="submit" class="btn btn-primary py-2"><?php ee('Validate') ?></button>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
<div class="text-center mt-5">© <?php echo date("Y") ?> <a href="<?php echo config('url') ?>" class="fw-bold"><?php echo config('title') ?></a>. <?php ee('All Rights Reserved') ?></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
<div class="modal fade" id="recovermodal" data-bs-backdrop="static" data-bs-keyboard="false" tabindex="-1" aria-hidden="true">
|
||||
<div class="modal-dialog modal-dialog-centered">
|
||||
<div class="modal-content">
|
||||
<form action="<?php echo route('login.2fa.recover') ?>" method="post">
|
||||
<?php echo csrf() ?>
|
||||
<div class="modal-header">
|
||||
<h5 class="modal-title fw-bold"><?php ee('Reset 2FA') ?></h5>
|
||||
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<p><?php ee('To recover your account, you will need your secret key and access to the email address on the account. If you do not have access to the 2FA secret key, please contact us.') ?></p>
|
||||
<div class="form-group mb-3">
|
||||
<label for="email" class="form-label fw-bold d-block mb-2"><?php ee('Email') ?></label>
|
||||
<input type="email" name="email" id="email" placeholder="e.g. email@domain.com" class="form-control p-2">
|
||||
</div>
|
||||
<div class="form-group mb-3">
|
||||
<label for="secret" class="form-label fw-bold d-block mb-2"><?php ee('Secret Key') ?></label>
|
||||
<input type="text" name="secret" id="secret" class="form-control p-2" placeholder="e.g. ABCXYZ123456789">
|
||||
</div>
|
||||
<button type="submit" class="btn btn-success" class="btn btn-success"><?php ee('Reset') ?></button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -0,0 +1,73 @@
|
||||
<section class="bg-primary min-vh-100 pt-5">
|
||||
<div class="container-fluid d-flex flex-column">
|
||||
<div class="row align-items-center justify-content-center justify-content-lg-start min-vh-100">
|
||||
<div class="row justify-content-center px-0 px-sm-5">
|
||||
<div class="col-12 col-lg-5">
|
||||
<a href="<?php echo route('home') ?>" class="mb-5 mb-md-0 text-dark text-decoration-none text-center">
|
||||
<?php if(config('logo')): ?>
|
||||
<img alt="<?php echo config('title') ?>" src="<?php echo uploads(config('logo')) ?>" id="navbar-logo">
|
||||
<?php else: ?>
|
||||
<h1 class="h5 fw-bold"><?php echo config('sitename') ?></h1>
|
||||
<?php endif ?>
|
||||
</a>
|
||||
<div class="card border-0 p-5 shadow-sm mt-5">
|
||||
<div class="mb-3">
|
||||
<h6 class="mb-2 fw-bold"><?php ee('Email Verification') ?></h6>
|
||||
<p class="text-muted mb-4"><?php ee("A verification code has been sent to your email address. Please enter the 6-digit code to complete your login.") ?></p>
|
||||
</div>
|
||||
<?php message() ?>
|
||||
<form method="post" action="<?php echo route('login.email2fa.validate') ?>">
|
||||
<div class="my-4">
|
||||
<div class="form-floating">
|
||||
<input type="text" class="form-control p-3" name="code" id="code" data-mask="000 000" placeholder="000 000" required autocomplete="off">
|
||||
<label><?php ee('Email Verification Code') ?></label>
|
||||
</div>
|
||||
<div class="d-flex mt-2">
|
||||
<small class="text-muted ms-auto"><?php ee('Expires in 10 minutes') ?></small>
|
||||
</div>
|
||||
</div>
|
||||
<div class="mt-3">
|
||||
<?php echo csrf() ?>
|
||||
<div class="d-grid">
|
||||
<button type="submit" class="btn btn-primary py-2"><?php ee('Validate') ?></button>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
<form id="resend-form" method="post" action="<?php echo route('login.email2fa.resend') ?>" class="mt-3">
|
||||
<?php echo csrf() ?>
|
||||
<div class="d-flex justify-content-between">
|
||||
<button type="submit" class="btn btn-transparent p-0 text-primary text-decoration-none"><?php ee('Resend Code') ?></button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
<div class="text-center mt-5">© <?php echo date("Y") ?> <a href="<?php echo config('url') ?>" class="fw-bold"><?php echo config('title') ?></a>. <?php ee('All Rights Reserved') ?></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
<div class="modal fade" id="recovermodal" data-bs-backdrop="static" data-bs-keyboard="false" tabindex="-1" aria-hidden="true">
|
||||
<div class="modal-dialog modal-dialog-centered">
|
||||
<div class="modal-content">
|
||||
<form action="<?php echo route('login.2fa.recover') ?>" method="post">
|
||||
<?php echo csrf() ?>
|
||||
<div class="modal-header">
|
||||
<h5 class="modal-title fw-bold"><?php ee('Reset 2FA') ?></h5>
|
||||
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<p><?php ee('To recover your account, you will need your secret key and access to the email address on the account. If you do not have access to the 2FA secret key, please contact us.') ?></p>
|
||||
<div class="form-group mb-3">
|
||||
<label for="email" class="form-label fw-bold d-block mb-2"><?php ee('Email') ?></label>
|
||||
<input type="email" name="email" id="email" placeholder="e.g. email@domain.com" class="form-control p-2">
|
||||
</div>
|
||||
<div class="form-group mb-3">
|
||||
<label for="secret" class="form-label fw-bold d-block mb-2"><?php ee('Secret Key') ?></label>
|
||||
<input type="text" name="secret" id="secret" class="form-control p-2" placeholder="e.g. ABCXYZ123456789">
|
||||
</div>
|
||||
<button type="submit" class="btn btn-success" class="btn btn-success"><?php ee('Reset') ?></button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -0,0 +1,44 @@
|
||||
<section class="bg-primary min-vh-100">
|
||||
<div class="container-fluid d-flex flex-column">
|
||||
<div class="row align-items-center justify-content-center justify-content-lg-start min-vh-100">
|
||||
<div class="row justify-content-center px-0 px-sm-5">
|
||||
<div class="col-12 col-lg-5">
|
||||
<a href="<?php echo route('home') ?>" class="mb-5 mb-md-0 text-dark text-decoration-none text-center d-block">
|
||||
<?php if(config('logo')): ?>
|
||||
<?php if(config('altlogo') && (request()->cookie('darkmode') || themeSettings::isDark() ? ' data-theme="dark"' : '')): ?>
|
||||
<img alt="<?php echo config('title') ?>" src="<?php echo uploads(config('altlogo')) ?>" id="navbar-logo">
|
||||
<?php else: ?>
|
||||
<img alt="<?php echo config('title') ?>" src="<?php echo uploads(config('logo')) ?>" id="navbar-logo">
|
||||
<?php endif ?>
|
||||
<?php else: ?>
|
||||
<h1 class="h5 fw-bold"><?php echo config('sitename') ?></h1>
|
||||
<?php endif ?>
|
||||
</a>
|
||||
<div class="card border-0 p-5 shadow-sm mt-5">
|
||||
<div class="mb-3 text-center">
|
||||
<h5 class="fw-bold mb-2"><?php ee('Reset Password') ?></h5>
|
||||
<p class="text-muted mb-0"><?php ee("If you forgot your password, you can request a link to reset your password.") ?></p>
|
||||
</div>
|
||||
<?php message() ?>
|
||||
<form method="post" action="<?php echo route('forgot.send') ?>">
|
||||
<div class="my-4">
|
||||
<div class="form-floating">
|
||||
<input type="text" class="form-control" name="email" id="input-email" placeholder="name@domain">
|
||||
<label><?php ee('Email') ?></label>
|
||||
</div>
|
||||
</div>
|
||||
<div class="mt-4">
|
||||
<?php echo \Helpers\Captcha::display('reset') ?>
|
||||
<?php echo csrf() ?>
|
||||
<div class="d-grid">
|
||||
<button type="submit" class="btn btn-primary py-2"><?php ee('Reset Password') ?></button>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
<div class="text-center mt-5">© <?php echo date("Y") ?> <a href="<?php echo config('url') ?>" class="fw-bold"><?php echo config('title') ?></a>. <?php ee('All Rights Reserved') ?></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
@@ -0,0 +1,74 @@
|
||||
<section class="bg-primary min-vh-100 pt-5">
|
||||
<div class="container-fluid d-flex flex-column">
|
||||
<div class="row align-items-center justify-content-center justify-content-lg-start min-vh-100">
|
||||
<div class="row justify-content-center px-0 px-sm-5">
|
||||
<div class="col-12 col-lg-5">
|
||||
<a href="<?php echo route('home') ?>" class="mb-5 mb-md-0 text-dark text-decoration-none text-center d-block">
|
||||
<?php if(config('logo')): ?>
|
||||
<?php if(config('altlogo') && (request()->cookie('darkmode') || themeSettings::isDark() ? ' data-theme="dark"' : '')): ?>
|
||||
<img alt="<?php echo config('title') ?>" src="<?php echo uploads(config('altlogo')) ?>" id="navbar-logo">
|
||||
<?php else: ?>
|
||||
<img alt="<?php echo config('title') ?>" src="<?php echo uploads(config('logo')) ?>" id="navbar-logo">
|
||||
<?php endif ?>
|
||||
<?php else: ?>
|
||||
<h1 class="h5 fw-bold"><?php echo config('sitename') ?></h1>
|
||||
<?php endif ?>
|
||||
</a>
|
||||
<div class="card border-0 p-5 shadow-sm mt-5">
|
||||
<div class="text-center mb-3">
|
||||
<h4 class="fw-bold"><?php ee("Join Team") ?></h4>
|
||||
<p><?php ee("Join team and collaborate on everything") ?></p>
|
||||
</div>
|
||||
<?php message() ?>
|
||||
<form method="post" action="<?php echo route('acceptinvitation', [$token]) ?>">
|
||||
<div class="my-4">
|
||||
<div class="form-floating">
|
||||
<input type="email" class="form-control" name="email" disabled value="<?php echo $user->email ?>" id="input-email" placeholder="<?php ee('Please enter a email') ?>">
|
||||
<label><?php ee('Email') ?></label>
|
||||
</div>
|
||||
</div>
|
||||
<div class="my-4">
|
||||
<div class="form-floating">
|
||||
<input type="text" class="form-control" name="username" value="<?php echo old('username') ?>" id="input-username" placeholder="<?php ee('Please enter a username') ?>">
|
||||
<label><?php ee('Username') ?></label>
|
||||
</div>
|
||||
</div>
|
||||
<div class="my-4">
|
||||
<div class="form-floating">
|
||||
<input type="password" class="form-control" name="password" id="input-pass" placeholder="<?php ee('Please enter a valid password.') ?>">
|
||||
<label><?php ee('Password') ?></label>
|
||||
</div>
|
||||
</div>
|
||||
<div class="my-4">
|
||||
<div class="form-floating">
|
||||
<input type="password" class="form-control" name="cpassword" id="input-cpass" placeholder="<?php ee('Please confirm your password.') ?>">
|
||||
<label><?php ee('Confirm Password') ?></label>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-check my-4">
|
||||
<input class="form-check-input" type="checkbox" id="terms" name="terms" value="1">
|
||||
<?php if($page): ?>
|
||||
<label class="form-check-label" for="terms"><?php ee('I agree to the') ?> <a href="<?php echo route('page', $page->seo) ?>" target="_blank"><?php echo $page->name ?></a>.</label>
|
||||
<?php else: ?>
|
||||
<label class="custom-control-label" for="terms"><?php ee('I agree to the terms and conditions') ?>.</label>
|
||||
<?php endif ?>
|
||||
</div>
|
||||
<div class="mt-4">
|
||||
<?php echo \Helpers\Captcha::display('Register') ?>
|
||||
<?php echo csrf() ?>
|
||||
<div class="d-grid">
|
||||
<button type="submit" class="btn btn-primary py-2"><?php ee('Accept') ?></button>
|
||||
</div>
|
||||
</div>
|
||||
<p class="text-center mt-5">
|
||||
<?php ee("Already have an account?") ?> <a href="<?php echo route('login') ?>"><?php ee('Login') ?></a>
|
||||
</p>
|
||||
</form>
|
||||
</div>
|
||||
<div class="text-center mt-5">© <?php echo date("Y") ?> <a href="<?php echo config('url') ?>" class="fw-bold"><?php echo config('title') ?></a>. <?php ee('All Rights Reserved') ?></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
@@ -0,0 +1,113 @@
|
||||
<a href="<?php echo route('home') ?>" class="position-absolute top-0 start-0 text-dark text-decoration-none d-block ps-4 pt-4" title="<?php echo config('title') ?>">
|
||||
<?php if(config('logo')): ?>
|
||||
<?php if(config('altlogo') && (request()->cookie('darkmode') || themeSettings::isDark() ? ' data-theme="dark"' : '')): ?>
|
||||
<img alt="<?php echo config('title') ?>" src="<?php echo uploads(config('altlogo')) ?>" id="navbar-logo">
|
||||
<?php else: ?>
|
||||
<img alt="<?php echo config('title') ?>" src="<?php echo uploads(config('logo')) ?>" id="navbar-logo">
|
||||
<?php endif ?>
|
||||
<?php else: ?>
|
||||
<h1 class="h5 fw-bold"><?php echo config('sitename') ?></h1>
|
||||
<?php endif ?>
|
||||
</a>
|
||||
<section>
|
||||
<div class="container-fluid d-flex flex-column">
|
||||
<div class="row align-items-center justify-content-center justify-content-lg-start min-vh-100">
|
||||
<div class="col-sm-7 col-lg-6 col-xl-6 py-6 py-md-0">
|
||||
<div class="row justify-content-center">
|
||||
<div class="col-11 col-lg-10 col-xl-6">
|
||||
<div class="text-center mb-3">
|
||||
<h4 class="fw-bold"><?php ee('Welcome back') ?></h4>
|
||||
</div>
|
||||
<?php message() ?>
|
||||
<?php if(config("user") && !config("private") && !config("maintenance")): ?>
|
||||
<?php if(config('fb_connect') || config('tw_connect') || config('gl_connect')): ?>
|
||||
<div class="py-3 text-center">
|
||||
<span class="small fw-bold text-uppercase"><?php ee('Sign in with') ?></span>
|
||||
</div>
|
||||
<div class="d-flex justify-content-center mb-4">
|
||||
<?php if(config('fb_connect')): ?>
|
||||
<a href="<?php echo route('login.facebook') ?>" class="btn btn-block btn-icon border rounded-circle" title="<?php echo e("Sign in with") ?> Facebook">
|
||||
<img src="<?php echo assets('images/facebook.svg') ?>" alt="<?php echo e("Sign in with") ?> Facebook">
|
||||
</a>
|
||||
<?php endif ?>
|
||||
<?php if(config('gl_connect')): ?>
|
||||
<a href="<?php echo route('login.google') ?>" class="btn btn-block btn-icon border rounded-circle mx-3" title="<?php echo e("Sign in with") ?> Google" data-toggle="tooltip">
|
||||
<img src="<?php echo assets('images/google.svg') ?>" alt="<?php echo e("Sign in with") ?> Google" >
|
||||
</a>
|
||||
<?php endif ?>
|
||||
<?php if(config('tw_connect')): ?>
|
||||
<a href="<?php echo route('login.twitter') ?>" class="btn btn-block btn-icon border rounded-circle" title="<?php echo e("Sign in with") ?> X" data-toggle="tooltip">
|
||||
<img src="<?php echo assets('images/x.svg') ?>" class="p-1" alt="<?php echo e("Sign in with") ?> X">
|
||||
</a>
|
||||
<?php endif ?>
|
||||
<?php if($plugged = plug('sociallogin')): ?>
|
||||
<?php foreach($plugged as $provider): ?>
|
||||
<a href="<?php echo $provider['route'] ?>" class="btn btn-block btn-icon border rounded-circle" title="<?php echo e("Sign in with").' '.$provider['name'] ?>" data-toggle="tooltip">
|
||||
<img src="<?php echo $provider['icon'] ?>" alt="<?php echo e("Sign in with").' '.$provider['name'] ?>">
|
||||
</a>
|
||||
<?php endforeach ?>
|
||||
<?php endif ?>
|
||||
</div>
|
||||
<div class="text-center">
|
||||
<span class="text-xs text-uppercase"><?php ee('or') ?></span>
|
||||
</div>
|
||||
<?php endif ?>
|
||||
<?php endif ?>
|
||||
<div class="mt-1">
|
||||
<form method="post" action="<?php echo route('login.auth') ?>">
|
||||
<div class="my-4">
|
||||
<div class="form-floating">
|
||||
<input type="text" class="form-control" name="email" id="input-email" placeholder="name@domain">
|
||||
<label><?php ee('Email or username') ?></label>
|
||||
</div>
|
||||
<div class="d-flex mt-2 d-sm-none">
|
||||
<div class="ms-auto">
|
||||
<a href="<?php echo route('register') ?>" class="small text-muted"><?php ee("Don't have an account?") ?></a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="my-4">
|
||||
<div class="form-floating">
|
||||
<input type="password" class="form-control" name="password" id="input-pass" placeholder="Enter your password">
|
||||
<label><?php ee('Password') ?></label>
|
||||
</div>
|
||||
<div class="d-flex mt-2">
|
||||
<div class="ms-auto">
|
||||
<a href="<?php echo route('forgot') ?>" class="small text-muted"><?php ee('Forgot Password?') ?></a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-check my-4 text-start">
|
||||
<input class="form-check-input" type="checkbox" value="1" name="rememberme" id="rememberme">
|
||||
<label class="form-check-label" for="rememberme"><?php ee('Remember me') ?></label>
|
||||
</div>
|
||||
<div class="mt-4">
|
||||
<?php echo \Helpers\Captcha::display('login') ?>
|
||||
<?php echo csrf() ?>
|
||||
<div class="d-grid">
|
||||
<button type="submit" class="btn btn-primary py-2"><?php ee('Login') ?></button>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="text-center mt-5">© <?php echo date("Y") ?> <a href="<?php echo config('url') ?>" class="font-weight-bold" title="<?php echo config('title') ?>"><?php echo config('sitename') ?></a>. <?php ee('All Rights Reserved') ?></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="gradient-primary position-absolute h-100 top-0 end-0 zindex-10 col-lg-6 col-xl-6 d-none d-lg-flex flex-column justify-content-center">
|
||||
<div class="position-relative zindex-10 p-5">
|
||||
<div class="text-center text-white mx-auto">
|
||||
<h5 class="h5 mt-3 fw-bold"><?php ee("Don't have an account?") ?></h5>
|
||||
<p class="opacity-8">
|
||||
<?php ee('Start your marketing campaign now and reach your customers efficiently.') ?>
|
||||
</p>
|
||||
<?php if(config("user") && !config("private") && !config("maintenance")): ?>
|
||||
<a href="<?php echo route('register') ?>" class="btn btn-light text-primary px-5 rounded-pill shadow-sm"><?php ee('Register') ?></a>
|
||||
<?php endif ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
@@ -0,0 +1,110 @@
|
||||
<section class="bg-primary min-vh-100 pt-5">
|
||||
<div class="container-fluid d-flex flex-column">
|
||||
<div class="row align-items-center justify-content-center justify-content-lg-start min-vh-100">
|
||||
<div class="row justify-content-center px-0 px-sm-5">
|
||||
<div class="col-12 col-lg-5">
|
||||
<a href="<?php echo route('home') ?>" class="mb-5 mb-md-0 text-dark text-decoration-none text-center d-block" title="<?php echo config('title') ?>">
|
||||
<?php if(config('logo')): ?>
|
||||
<?php if(config('altlogo') && (request()->cookie('darkmode') || themeSettings::isDark() ? ' data-theme="dark"' : '')): ?>
|
||||
<img alt="<?php echo config('title') ?>" src="<?php echo uploads(config('altlogo')) ?>" id="navbar-logo">
|
||||
<?php else: ?>
|
||||
<img alt="<?php echo config('title') ?>" src="<?php echo uploads(config('logo')) ?>" id="navbar-logo">
|
||||
<?php endif ?>
|
||||
<?php else: ?>
|
||||
<h1 class="h5 fw-bold"><?php echo config('sitename') ?></h1>
|
||||
<?php endif ?>
|
||||
</a>
|
||||
<div class="card border-0 p-5 shadow-sm mt-5">
|
||||
<div class="text-center mb-3">
|
||||
<h4 class="fw-bold"><?php ee("Let's get you started right away!") ?></h4>
|
||||
</div>
|
||||
<?php if(config("user") && !config("private") && !config("maintenance")): ?>
|
||||
<?php if(config('fb_connect') || config('tw_connect') || config('gl_connect')): ?>
|
||||
<div class="py-3 text-center">
|
||||
<span class="small fw-bold text-uppercase"><?php ee('Sign in with') ?></span>
|
||||
</div>
|
||||
<div class="d-flex justify-content-center mb-5">
|
||||
<?php if(config('fb_connect')): ?>
|
||||
<a href="<?php echo route('login.facebook') ?>" class="btn btn-block btn-icon border rounded-circle" title="<?php echo e("Sign in with") ?> Facebook">
|
||||
<img src="<?php echo assets('images/facebook.svg') ?>" alt="<?php echo e("Sign in with") ?> Facebook">
|
||||
</a>
|
||||
<?php endif ?>
|
||||
<?php if(config('gl_connect')): ?>
|
||||
<a href="<?php echo route('login.google') ?>" class="btn btn-block btn-icon border rounded-circle mx-3" title="<?php echo e("Sign in with") ?> Google">
|
||||
<img src="<?php echo assets('images/google.svg') ?>" alt="<?php echo e("Sign in with") ?> Google">
|
||||
</a>
|
||||
<?php endif ?>
|
||||
<?php if(config('tw_connect')): ?>
|
||||
<a href="<?php echo route('login.twitter') ?>" class="btn btn-block btn-icon border rounded-circle" title="<?php echo e("Sign in with") ?> X">
|
||||
<img src="<?php echo assets('images/x.svg') ?>" class="p-1" alt="<?php echo e("Sign in with") ?> X">
|
||||
</a>
|
||||
<?php endif ?>
|
||||
</div>
|
||||
<div class="text-center">
|
||||
<span class="text-xs text-uppercase"><?php ee('or') ?></span>
|
||||
</div>
|
||||
<?php endif ?>
|
||||
<?php endif ?>
|
||||
<?php message() ?>
|
||||
<?php if(config('system_registration')): ?>
|
||||
<form method="post" action="<?php echo route('register.validate')?>">
|
||||
<?php if($bioalias = request()->bioalias): ?>
|
||||
<div class="my-4">
|
||||
<div class="form-floating">
|
||||
<input type="text" class="form-control" name="bioalias" value="<?php echo $bioalias ?>" id="input-bioalias" placeholder="<?php ee('Please enter a username') ?>" readonly="readonly">
|
||||
<label><?php ee('Bio Page Alias') ?></label>
|
||||
</div>
|
||||
</div>
|
||||
<?php endif ?>
|
||||
<div class="my-4">
|
||||
<div class="form-floating">
|
||||
<input type="text" class="form-control" name="username" value="<?php echo old('username') ?>" id="input-username" placeholder="<?php ee('Please enter a username') ?>">
|
||||
<label><?php ee('Username') ?></label>
|
||||
</div>
|
||||
</div>
|
||||
<div class="my-4">
|
||||
<div class="form-floating">
|
||||
<input type="email" class="form-control" name="email" value="<?php echo old('email') ?>" id="input-email" placeholder="<?php ee('Please enter a email') ?>">
|
||||
<label><?php ee('Email') ?></label>
|
||||
</div>
|
||||
</div>
|
||||
<div class="my-4">
|
||||
<div class="form-floating">
|
||||
<input type="password" class="form-control" name="password" id="input-pass" placeholder="<?php ee('Please enter a valid password.') ?>">
|
||||
<label><?php ee('Password') ?></label>
|
||||
</div>
|
||||
</div>
|
||||
<div class="my-4">
|
||||
<div class="form-floating">
|
||||
<input type="password" class="form-control" name="cpassword" id="input-cpass" placeholder="<?php ee('Please confirm your password.') ?>">
|
||||
<label><?php ee('Confirm Password') ?></label>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-check my-4 text-start">
|
||||
<input class="form-check-input" type="checkbox" id="terms" name="terms" value="1">
|
||||
<?php if($page): ?>
|
||||
<label class="form-check-label" for="terms"><?php ee('I agree to the') ?> <a href="<?php echo route('page', $page->seo) ?>" target="_blank"><?php echo $page->name ?></a>.</label>
|
||||
<?php else: ?>
|
||||
<label class="custom-control-label" for="terms"><?php ee('I agree to the terms and conditions') ?>.</label>
|
||||
<?php endif ?>
|
||||
</div>
|
||||
<div class="mt-4">
|
||||
<?php echo \Helpers\Captcha::display('Register') ?>
|
||||
<?php echo csrf() ?>
|
||||
<div class="d-grid">
|
||||
<button type="submit" class="btn btn-primary py-2"><?php ee('Register') ?></button>
|
||||
</div>
|
||||
</div>
|
||||
<p class="text-center mt-5">
|
||||
<?php ee("Already have an account?") ?> <a href="<?php echo route('login') ?>"><?php ee('Login') ?></a>
|
||||
</p>
|
||||
</form>
|
||||
<?php endif ?>
|
||||
</div>
|
||||
<div class="text-center mt-5">© <?php echo date("Y") ?> <a href="<?php echo config('url') ?>" class="fw-bold"><?php echo config('sitename') ?></a>. <?php ee('All Rights Reserved') ?></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
@@ -0,0 +1,49 @@
|
||||
<section class="bg-primary min-vh-100 pt-5">
|
||||
<div class="container-fluid d-flex flex-column">
|
||||
<div class="row align-items-center justify-content-center justify-content-lg-start min-vh-100">
|
||||
<div class="row justify-content-center px-0 px-sm-5">
|
||||
<div class="col-12 col-lg-5">
|
||||
<a href="<?php echo route('home') ?>" class="mb-5 mb-md-0 text-dark text-decoration-none text-center d-block">
|
||||
<?php if(config('logo')): ?>
|
||||
<?php if(config('altlogo') && (request()->cookie('darkmode') || themeSettings::isDark() ? ' data-theme="dark"' : '')): ?>
|
||||
<img alt="<?php echo config('title') ?>" src="<?php echo uploads(config('altlogo')) ?>" id="navbar-logo">
|
||||
<?php else: ?>
|
||||
<img alt="<?php echo config('title') ?>" src="<?php echo uploads(config('logo')) ?>" id="navbar-logo">
|
||||
<?php endif ?>
|
||||
<?php else: ?>
|
||||
<h1 class="h5 fw-bold"><?php echo config('sitename') ?></h1>
|
||||
<?php endif ?>
|
||||
</a>
|
||||
<div class="card border-0 p-5 shadow-sm mt-5">
|
||||
<div class="mb-3 text-center">
|
||||
<h5 class="fw-bold mb-2"><?php ee('Reset Password') ?></h5>
|
||||
</div>
|
||||
<?php message() ?>
|
||||
<form method="post" action="<?php echo route('reset.change', [$token]) ?>">
|
||||
<div class="my-4">
|
||||
<div class="form-floating">
|
||||
<input type="password" class="form-control" name="password" id="input-pass" placeholder="<?php ee('Please enter your password') ?>">
|
||||
<label><?php ee('Password') ?></label>
|
||||
</div>
|
||||
</div>
|
||||
<div class="my-4">
|
||||
<div class="form-floating">
|
||||
<input type="password" class="form-control" name="cpassword" id="input-pass" placeholder="<?php ee('Please confirm your password') ?>">
|
||||
<label><?php ee('Password') ?></label>
|
||||
</div>
|
||||
</div>
|
||||
<div class="mt-4">
|
||||
<?php echo \Helpers\Captcha::display('reset') ?>
|
||||
<?php echo csrf() ?>
|
||||
<div class="d-grid">
|
||||
<button type="submit" class="btn btn-primary py-2"><?php ee('Reset Password') ?></button>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
<div class="text-center mt-5">© <?php echo date("Y") ?> <a href="<?php echo config('url') ?>" class="fw-bold"><?php echo config('title') ?></a>. <?php ee('All Rights Reserved') ?></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
Reference in New Issue
Block a user