1
0
Fork 0
mirror of https://gitlab.com/nekoya/web.git synced 2025-04-25 13:41:18 +02:00

Beautify code on OTP Page

This commit is contained in:
Moe Poi ~ 2021-09-26 23:20:57 +07:00
parent b539a70313
commit 4e93a935dd

150
otp.html
View file

@ -6,10 +6,10 @@
<meta content="IE=edge" http-equiv="X-UA-Compatible">
<meta content="width=device-width, initial-scale=1" name="viewport">
<meta name="theme-color" content="#2f0001">
<link href="assets/favicon.webp" rel="shortcut icon" type="image/png"/>
<link href="assets/favicon.webp" rel="shortcut icon" type="image/png" />
<title>2-Factor Verification</title>
<link crossorigin="anonymous" href="https://cdn.jsdelivr.net/npm/bootstrap@4.6.0/dist/css/bootstrap.min.css"
integrity="sha384-B0vP5xmATw1+K9KRQjQERJvTumQW0nPEzvF6L/Z6nronJ3oUOFUFpCjEUQouq2+l" rel="stylesheet">
integrity="sha384-B0vP5xmATw1+K9KRQjQERJvTumQW0nPEzvF6L/Z6nronJ3oUOFUFpCjEUQouq2+l" rel="stylesheet">
<link href="https://fonts.googleapis.com" rel="preconnect">
<link crossorigin href="https://fonts.gstatic.com" rel="preconnect">
<link href="https://fonts.googleapis.com/css2?family=Poppins&display=swap" rel="stylesheet">
@ -89,7 +89,9 @@
}
@media screen and (max-width: 425px) {
.card a, input {
.card a,
input {
font-size: 3vw;
}
@ -99,7 +101,9 @@
}
@media screen and (min-width: 426px) {
.card a, input {
.card a,
input {
font-size: 2vw;
}
@ -109,7 +113,9 @@
}
@media screen and (min-width: 767px) {
.card a, input {
.card a,
input {
font-size: 2vw;
}
@ -119,7 +125,9 @@
}
@media screen and (min-width: 993px) {
.card a, input {
.card a,
input {
font-size: 1vw;
}
@ -129,7 +137,9 @@
}
@media screen and (min-width: 1400px) {
.card a, input {
.card a,
input {
font-size: 1vw;
}
@ -173,84 +183,76 @@
</head>
<body>
<nav class="navbar navbar-dark nav-color ml-5 mr-5 nav-radius">
<img alt="Banner" class="navbar-brand lazyload" src="assets/logo_transparent.webp" style="margin-top: 0%;" width="5%">
<ul class="navbar-nav">
<li class="nav-item">
<a style="color: white; font-size: 16pt;">2-Factor Verification</a>
</li>
</ul>
<div class="collapse navbar-collapse" id="navbarTogglerDemo01"></div>
</nav>
<nav class="navbar navbar-dark nav-color ml-5 mr-5 nav-radius">
<img alt="Banner" class="navbar-brand lazyload" src="assets/logo_transparent.webp" style="margin-top: 0%;"
width="5%">
<ul class="navbar-nav">
<li class="nav-item">
<a style="color: white; font-size: 16pt;">2-Factor Verification</a>
</li>
</ul>
<div class="collapse navbar-collapse" id="navbarTogglerDemo01"></div>
</nav>
<div class="container">
<div class="row">
<div class="col">
<div class="card text-white col-md-9 col-lg-6 col-xl-5">
<h1 class="card-header text-white">OTP VERIFICATION</h1>
<lottie-player autoplay background="transparent"
class="icon"
loop speed="1"
src="https://assets2.lottiefiles.com/packages/lf20_zztlhuue.json"></lottie-player>
<div class="py-3 text" style="padding: 0% 5%; text-align: center;">
<a>A String of OTP Code Has Been Sent to kel*****@gmail.com</a>
</div>
<br>
<div class="input-container d-flex flex-row justify-content-center mt-2">
<input class="m-1 text-center form-control rounded" id='ist' maxlength="1"
onkeyup="clickEvent(this,'sec')"
type="text">
<input class="m-1 text-center form-control rounded" id="sec" maxlength="1"
onkeyup="clickEvent(this,'third')"
type="text">
<input class="m-1 text-center form-control rounded" id="third" maxlength="1"
onkeyup="clickEvent(this,'fourth')"
type="text">
<input class="m-1 text-center form-control rounded" id="fourth" maxlength="1"
onkeyup="clickEvent(this,'fifth')"
type="text">
<input class="m-1 text-center form-control rounded" id="fifth" maxlength="1"
onkeyup="clickEvent(this,'sixth')"
type="text">
<input class="m-1 text-center form-control rounded" id="sixth" maxlength="1" type="text">
</div>
<div class="text-resend">
<small>
Didn't Get An Email?? &nbsp;
<a class="text-decoration-none" href="forgot-password.html">Resend Code</a>
</small>
</div>
<div class="container">
<div class="row">
<div class="col">
<div class="card text-white col-md-9 col-lg-6 col-xl-5">
<h1 class="card-header text-white">OTP VERIFICATION</h1>
<lottie-player autoplay background="transparent" class="icon" loop speed="1"
src="https://assets2.lottiefiles.com/packages/lf20_zztlhuue.json"></lottie-player>
<div class="py-3 text" style="padding: 0% 5%; text-align: center;">
<a>A String of OTP Code Has Been Sent to kel*****@gmail.com</a>
</div>
<br>
<div class="input-container d-flex flex-row justify-content-center mt-2">
<input class="m-1 text-center form-control rounded" id='ist' maxlength="1"
onkeyup="clickEvent(this,'sec')" type="text">
<input class="m-1 text-center form-control rounded" id="sec" maxlength="1"
onkeyup="clickEvent(this,'third')" type="text">
<input class="m-1 text-center form-control rounded" id="third" maxlength="1"
onkeyup="clickEvent(this,'fourth')" type="text">
<input class="m-1 text-center form-control rounded" id="fourth" maxlength="1"
onkeyup="clickEvent(this,'fifth')" type="text">
<input class="m-1 text-center form-control rounded" id="fifth" maxlength="1"
onkeyup="clickEvent(this,'sixth')" type="text">
<input class="m-1 text-center form-control rounded" id="sixth" maxlength="1" type="text">
</div>
<div class="text-resend">
<small>
Didn't Get An Email?? &nbsp;
<a class="text-decoration-none" href="forgot-password.html">Resend Code</a>
</small>
</div>
<div class="mt-3 mb-5">
<button class="btn btn-success px-4 verify-btn" style="width: 65%;">Verify</button>
<div class="mt-3 mb-5">
<button class="btn btn-success px-4 verify-btn" style="width: 65%;">Verify</button>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<script>
function clickEvent(first, last) {
if (first.value.length) {
document.getElementById(last).focus();
<script>
function clickEvent(first, last) {
if (first.value.length) {
document.getElementById(last).focus();
}
}
}
</script>
<script>
feather.replace()
</script>
<script crossorigin="anonymous"
integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj"
</script>
<script>
feather.replace()
</script>
<script crossorigin="anonymous" integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj"
src="https://code.jquery.com/jquery-3.5.1.slim.min.js">
</script>
<script crossorigin="anonymous"
integrity="sha384-Piv4xVNRyMGpqkS2by6br4gNJ7DXjqk09RmUpJ8jgGtD7zP9yug3goQfGII0yAns"
</script>
<script crossorigin="anonymous" integrity="sha384-Piv4xVNRyMGpqkS2by6br4gNJ7DXjqk09RmUpJ8jgGtD7zP9yug3goQfGII0yAns"
src="https://cdn.jsdelivr.net/npm/bootstrap@4.6.0/dist/js/bootstrap.bundle.min.js">
</script>
<script src="https://unpkg.com/@lottiefiles/lottie-player@latest/dist/lottie-player.js"></script>
</script>
<script src="https://unpkg.com/@lottiefiles/lottie-player@latest/dist/lottie-player.js"></script>
</body>
</html>