This commit is contained in:
D Shrat 2021-11-18 13:56:55 +07:00
commit 2335613b1a
10 changed files with 12 additions and 12 deletions

View file

@ -183,7 +183,7 @@ router.post("/login", async (req, res) => {
if (response[0].verify == 0) {
res.status(204);
res.json({
message: "Sorry You havent verified your email",
message: "Sorry You haven't verified your email",
});
} else {
let token = randtoken.generate(256);

View file

@ -48,17 +48,17 @@ router
} else if (data[0] == 204) {
res.render("pages/login", {
companyName: "SALAH",
error: "Please confirm your email",
error: "Please confim your account by checking your email",
});
} else if (data[0] == 205) {
res.render("pages/login", {
companyName: "SALAH",
error: "Sorry Your email is not registered in our system",
error: "Wrong Email or Password",
});
} else {
res.render("pages/login", {
companyName: "SALAH",
error: "Invalid Email or Password",
error: "Wrong Email or Password",
});
}
});

View file

@ -22,7 +22,7 @@
</div>
</div>
<div class="row justify-content-between">
<p>Estimate</p>
<p>Estimated Price</p>
<p id='total-price'>-</p>
</div>
<br style="display: block;content: ' '; margin: 1vw 0; line-height: 1vw;">

View file

@ -14,7 +14,7 @@
<lottie-player autoplay background="transparent" class="icon" loop speed="5" style="height: 300px;"
src="https://assets9.lottiefiles.com/packages/lf20_rlhnbbev.json"></lottie-player>
<div class="py-3 text" style="padding: 0% 5%; text-align: center;">
<a>Enter your New Password to receive instructions on how to login page.</a>
<a>Please Enter a new password to change the current one.</a>
</div>
<div class="card-body">
<form class="px-4 py-3">

View file

@ -49,7 +49,7 @@
</div>
<input aria-describedby="PhoneNumber" class="form-control" id="phoneNum"
placeholder="Phone Number" type="PhoneNum" required>
<small class="form-text text-muted" id="phoneHelp">We'll never share your Phone Number with
<small class="form-text text-muted" id="phoneHelp">We'll never share your private information with
anyone
else.</small>

View file

@ -14,7 +14,7 @@
<lottie-player autoplay background="transparent" class="icon" loop speed="1"
src="https://assets9.lottiefiles.com/packages/lf20_xvrofzfk.json"></lottie-player>
<div class="py-3 text" style="padding: 0% 5%; text-align: center;">
<a>Enter your email to receive instructions on how to reset your password.</a>
<a>Enter your email to receive a link to reset your password.</a>
</div>
<div class="card-body">
<form class="px-4 py-3">

View file

@ -18,7 +18,7 @@
<lottie-player style="display: -webkit-box;-webkit-box-pack: center;" autoplay background="transparent" class="icon" loop speed="1"
src="https://assets1.lottiefiles.com/packages/lf20_gzlupphk.json"></lottie-player>
<div class="card-body">
<h5 class="card-text" style="color: cyan;">An error has occured... Make sure to check if you have empty fields, or if your email has been login before. Click the button below to get back to the login page.</h5>
<h5 class="card-text" style="color: cyan;">An error has occured... Make sure to check if you have empty fields. Click the button below to get back to the login page.</h5>
<br style="display: block;content: ' ';margin: 1vw 0;line-height: 1vw;">
<a class="btn btn-primary" href="login">Login</a>
</div>

View file

@ -15,7 +15,7 @@
<div class="card-header" style="color: white;">
</div>
<div class="card-body">
<h5 class="card-text" style="color: #dedede;">Your order has been added to the transaction list.
<h5 class="card-text" style="color: #dedede;">Your order has been received.
Wanna see how to pay?</h5>
<a href="payment" class="btn btn-primary btn-pay">How to Pay</a>
</div>

View file

@ -14,7 +14,7 @@
<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>
<a>A series of numbers Has Been Sent to kel*****@gmail.com</a>
</div>
<br>
<div class="input-container d-flex flex-row justify-content-center mt-2">

View file

@ -15,7 +15,7 @@
<div class="card-header" style="color: white;">
</div>
<div class="card-body">
<h5 class="card-text" style="color: #dedede;">SUCCESSFULLY ADDED TO BAG</h5>
<h5 class="card-text" style="color: #dedede;">Added to your shopping bag !</h5>
<div style="display: flex;">
<a href="bag" class="btn btn-primary btn-pay">Bag</a>
<a href="checkout" class="btn btn-primary btn-pay">Checkout</a>