mirror of
https://gitlab.com/nekoya/web.git
synced 2025-03-20 13:59:01 +01:00
modif button and add notif page
This commit is contained in:
parent
3e62070625
commit
c9f8aafd01
3 changed files with 198 additions and 79 deletions
|
@ -275,6 +275,7 @@
|
|||
.none{
|
||||
text-decoration: none !important;
|
||||
color: white;
|
||||
width: 100%;
|
||||
}
|
||||
</style>
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/lazysizes/5.3.2/lazysizes.min.js"></script>
|
||||
|
@ -377,6 +378,7 @@
|
|||
<h3>SHIPPING DETAILS</h3>
|
||||
<p>Please enter your delivery address</p>
|
||||
<form style="border-top: 1px solid white;">
|
||||
|
||||
<div>
|
||||
<div class="form-group">
|
||||
<label for="contactInformation"><b>CONTACT INFORMATION</b></label>
|
||||
|
@ -430,7 +432,7 @@
|
|||
<div class="input-group-prepend">
|
||||
<label class="input-group-text" for="inputGroupSelect07">Shipping Methods</label>
|
||||
</div>
|
||||
<select class="custom-select" id="inputGroupSelect07" required>
|
||||
<select class="custom-select" id="inputGroupSelect07">
|
||||
<option selected>Choose...</option>
|
||||
<option value="1">JNT</option>
|
||||
<option value="2">JNE</option>
|
||||
|
@ -439,7 +441,7 @@
|
|||
</div>
|
||||
</form>
|
||||
<div style="display: flex; color: black;">
|
||||
<button class="btn btn-primary btn-pay" id="myBtn" type="submit"><a href="payment.html" class="none">Pay</a></button>
|
||||
<button class="btn btn-primary btn-pay" id="myBtn" type="submit"><a href="notifpayment.html" class="none">Pay</a></button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
91
product.html
91
product.html
|
@ -254,6 +254,10 @@
|
|||
outline: 0 !important;
|
||||
box-shadow: 0 0 0 0 rgba(0, 0, 0, 0) !important;
|
||||
}
|
||||
.none{
|
||||
text-decoration: none !important;
|
||||
color: white;
|
||||
}
|
||||
</style>
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/lazysizes/5.3.2/lazysizes.min.js"></script>
|
||||
</head>
|
||||
|
@ -316,94 +320,27 @@
|
|||
</div>
|
||||
<div class="sizeSepatu">
|
||||
<form>
|
||||
<h4>Sizes</h4>
|
||||
<input name="size" type="radio"> 43  
|
||||
<input name="size" type="radio"> 44  
|
||||
<input name="size" type="radio"> 45  
|
||||
</form>
|
||||
</div>
|
||||
|
||||
<br>
|
||||
|
||||
<div style="display: flex; color: black;">
|
||||
<button class="button button-bag" id="myBtn">Add to Bag</button>
|
||||
|
||||
<div class="modal" id="myModal">
|
||||
|
||||
<div class="modal-content"
|
||||
style="background-color: #212226; border-color: #212226; color: white">
|
||||
<span class="close close-posisition">×</span>
|
||||
<h2 class="title"><b>SUCCESSFULLY ADDED TO BAG</b></h2>
|
||||
<div class="konten">
|
||||
<img alt="placeholder image" class="img-fluid lazyload" height="200px"
|
||||
src="assets/Product_1.webp" width="200px">
|
||||
<div class="bodymodal" style="padding-left: 20px; padding-right: 20px;">
|
||||
<h3 class="titlemodal">Fashione Shoes White</h3>
|
||||
<br>
|
||||
<h5 class="modall"><b>Rp 1.999.999,00</b></h5>
|
||||
<P class="modall">Total : 1</P>
|
||||
</div>
|
||||
|
||||
<div class="bodymodal"
|
||||
style="padding-left: 20px; border-left: 1px solid black; padding-right: 20px;">
|
||||
<h5 class="titlemodal"><b>Your Bag</b></h5>
|
||||
<br>
|
||||
<div class="modall justify-content-between"
|
||||
style="border-bottom: 1px solid black ;">
|
||||
<p>Product Cost :</p>
|
||||
<p>Rp 1.999.999,00</p>
|
||||
</div>
|
||||
<div class="modall justify-content-between">
|
||||
<p>Total Product Cost :</p>
|
||||
<p>Rp 1.999.999,00</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="bodymodal" style="padding-left: 20px; border-left: 1px solid black;">
|
||||
<a href="bag.html">
|
||||
<button class="button button-checkout_1">Bag</button>
|
||||
</a>
|
||||
<a href="checkout.html">
|
||||
<button class="button button-checkout_2">Checkout</button>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div>
|
||||
<h4>Sizes</h4>
|
||||
<input name="size" type="radio"> 43  
|
||||
<input name="size" type="radio" checked> 44  
|
||||
<input name="size" type="radio"> 45  
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<br>
|
||||
<div style="display: flex; color: black;">
|
||||
<button class="button button-bag" id="myBtn" type="submit"><a href="successfulnotif.html" class="none">Add to Bag</a></button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
<br>
|
||||
<br>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<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"
|
||||
src="https://cdn.jsdelivr.net/npm/bootstrap@4.6.0/dist/js/bootstrap.bundle.min.js"></script>
|
||||
<script>
|
||||
var modal = document.getElementById("myModal");
|
||||
|
||||
var btn = document.getElementById("myBtn");
|
||||
|
||||
var span = document.getElementsByClassName("close")[0];
|
||||
|
||||
btn.onclick = function () {
|
||||
modal.style.display = "block";
|
||||
}
|
||||
|
||||
span.onclick = function () {
|
||||
modal.style.display = "none";
|
||||
}
|
||||
|
||||
window.onclick = function (event) {
|
||||
if (event.target == modal) {
|
||||
modal.style.display = "none";
|
||||
}
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
|
||||
</html>
|
180
successfulnotif.html
Normal file
180
successfulnotif.html
Normal file
|
@ -0,0 +1,180 @@
|
|||
<!doctype html>
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<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/webp" />
|
||||
<title>Successful Nptification</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">
|
||||
<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">
|
||||
<link href="https://unpkg.com/aos@2.3.1/dist/aos.css" rel="stylesheet">
|
||||
<style>
|
||||
body {
|
||||
font-family: 'Poppins', sans-serif;
|
||||
background-color: #1b1c1e;
|
||||
}
|
||||
|
||||
.nav-color {
|
||||
background-color: #212226;
|
||||
}
|
||||
|
||||
.nav-radius {
|
||||
border-bottom-left-radius: 20px;
|
||||
border-bottom-right-radius: 20px;
|
||||
}
|
||||
|
||||
.card {
|
||||
position: center;
|
||||
margin: auto;
|
||||
text-align: center;
|
||||
border-radius: 20px;
|
||||
background-color: #212226;
|
||||
}
|
||||
|
||||
.icon {
|
||||
position: center;
|
||||
margin: auto;
|
||||
width: 70%;
|
||||
height: 70%;
|
||||
}
|
||||
|
||||
.btn-pay {
|
||||
width: 100%;
|
||||
background-color: darkred;
|
||||
border-color: darkred;
|
||||
border-radius: 100px;
|
||||
position: center;
|
||||
margin: auto;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.btn-pay:hover {
|
||||
background-color: red;
|
||||
border-color: red;
|
||||
}
|
||||
|
||||
:focus {
|
||||
outline: 0 !important;
|
||||
box-shadow: 0 0 0 0 rgba(0, 0, 0, 0) !important;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 766px) {
|
||||
.card h2 {
|
||||
font-size: 7vw;
|
||||
}
|
||||
|
||||
.card h5 {
|
||||
font-size: 5vw;
|
||||
}
|
||||
|
||||
.navbar-brand {
|
||||
width: 11vw;
|
||||
height: 11vw;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@media screen and (min-width: 767px) {
|
||||
.card h2 {
|
||||
font-size: 4vw;
|
||||
}
|
||||
|
||||
.card h5 {
|
||||
font-size: 2vw;
|
||||
}
|
||||
|
||||
.navbar-brand {
|
||||
width: 8vw;
|
||||
height: 8vw;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@media screen and (min-width: 993px) {
|
||||
.card h2 {
|
||||
font-size: 3vw;
|
||||
}
|
||||
|
||||
.card h5 {
|
||||
font-size: 1.3vw;
|
||||
}
|
||||
|
||||
.navbar-brand {
|
||||
width: 6vw;
|
||||
height: 6vw;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@media screen and (min-width: 1400px) {
|
||||
.card h2 {
|
||||
font-size: 4vw;
|
||||
}
|
||||
|
||||
.card h5 {
|
||||
font-size: 2vw;
|
||||
}
|
||||
|
||||
.navbar-brand {
|
||||
width: 6vw;
|
||||
height: 6vw;
|
||||
}
|
||||
|
||||
:focus {
|
||||
outline: 0 !important;
|
||||
box-shadow: 0 0 0 0 rgba(0, 0, 0, 0) !important;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/lazysizes/5.3.2/lazysizes.min.js"></script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<nav class="navbar navbar-dark nav-color ml-5 mr-5 nav-radius">
|
||||
<a href="/"><img alt="Banner" class="navbar-brand lazyload" src="assets/logo_transparent.webp" style="margin-top: 0%;"></a>
|
||||
<ul class="navbar-nav">
|
||||
<li class="nav-item">
|
||||
<a style="color: white; font-size: 16pt;">Payment</a>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="collapse navbar-collapse" id="navbarTogglerDemo01"></div>
|
||||
</nav>
|
||||
|
||||
<br>
|
||||
|
||||
<div data-aos="fade-in" data-aos-delay="500" class="container">
|
||||
<div class="row">
|
||||
<div class="col">
|
||||
<div class="card col-md-6 col-lg-6 col-xl-8">
|
||||
<div class="card-header" style="color: white;">
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<h5 class="card-text" style="color: #dedede;">SUCCESSFULLY ADDED TO BAG</h5>
|
||||
<div style="display: flex;">
|
||||
<a href="bag.html" class="btn btn-primary btn-pay">Bag</a>
|
||||
<a href="checkout.html" class="btn btn-primary btn-pay">Checkout</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script src="https://unpkg.com/aos@next/dist/aos.js"></script>
|
||||
<script>
|
||||
AOS.init();
|
||||
</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"
|
||||
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>
|
||||
</body>
|
||||
|
||||
</html>
|
Loading…
Add table
Reference in a new issue