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>
|
||||
Reference in New Issue
Block a user