web/checkout.html
2021-11-02 10:02:20 +07:00

479 lines
No EOL
16 KiB
HTML

<!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.0" name="viewport">
<meta name="theme-color" content="#2f0001">
<title>Checkout</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="assets/favicon.webp" rel="shortcut icon" type="image/png" />
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css" 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">
<style>
.bg-color {
background-color: #1b1c1e;
}
.form-control {
background-color: #212226;
color: white;
}
.form-control:valid {
background-color: #212226;
color: white;
}
.custom-select {
background-color: #212226;
color: white;
}
.input-group-text {
background-color: #212226;
color: white;
}
.comp-color {
background-color: #212226;
}
.nav-radius {
border-bottom-left-radius: 20px;
border-bottom-right-radius: 20px;
}
.title {
color: white;
font-family: 'Poppins', sans-serif;
display: flex;
margin-top: 15px;
margin-left: 48px;
justify-content: left;
text-align: left;
background-color: #1b1c1e;
}
.bag-list {
display: flex;
color: white;
border-bottom: 1px solid white;
background-color: #1b1c1e;
font-family: 'Poppins', sans-serif;
margin-bottom: 1%;
justify-content: left;
text-align: left;
}
.body-right {
margin-right: 48px;
color: white;
width: 30%;
height: 100%;
}
.body-left {
margin-left: 48px;
margin-right: 48px;
}
.full-body {
display: flex;
}
.info {
margin-left: 30px;
}
.titlesummary {
text-align: center;
border-bottom: 1px solid white;
margin: 10px;
}
.modal {
display: none;
position: fixed;
z-index: 1;
padding-top: 100px;
left: 0;
top: 0;
width: 100%;
height: 100%;
overflow: auto;
background-color: rgb(0, 0, 0);
background-color: rgba(0, 0, 0, 0.4);
}
.modal-content {
background-color: #fefefe;
margin: auto;
padding: 20px;
border: 1px solid #888;
width: 80%;
}
.close {
color: #aaaaaa;
float: right;
font-size: 28px;
font-weight: bold;
}
.close:hover,
.close:focus {
color: #000;
text-decoration: none;
cursor: pointer;
}
@media only screen and (max-width: 1000px) {
.full-body {
display: grid !important;
}
.body-right {
margin-left: 48px;
width: 500px;
}
}
@media (max-width: 600px) {
.full-body {
font-size: 7px;
}
.img {
width: 30px;
height: 30px;
}
.info {
margin-left: 5px;
}
.titletr {
word-break: keep-all;
}
.titletrdes {
word-break: normal;
}
.titlesummary {
font-size: 10px;
}
.body-right {
width: 504px;
}
.body-left {
width: 504px;
}
}
@media (max-width: 541px) {
.body-right {
width: 444px;
}
.body-left {
width: 444px;
}
}
@media (max-width: 412px) {
.body-right {
width: 315px;
}
.body-left {
width: 315px;
}
}
@media (max-width: 415px) {
.body-right {
width: 318px;
}
.body-left {
width: 318px;
}
}
@media (max-width: 376px) {
.body-right {
width: 280px;
}
.body-left {
width: 280px;
}
}
@media (max-width: 361px) {
.body-right {
width: 264px;
}
.body-left {
width: 264px;
}
}
@media (max-width: 321px) {
.body-right {
width: 224px;
}
.body-left {
width: 224px;
}
}
@media (max-width: 281px) {
.body-right {
width: 184px;
}
.body-left {
width: 184px;
}
}
.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;
}
.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>
</head>
<body class="bg-color">
<nav class="navbar navbar-expand-lg navbar-dark comp-color ml-5 mr-5 nav-radius">
<a class="navbar-brand" href="#">Checkout Page</a>
<button aria-controls="navbarTogglerDemo01" aria-expanded="false" aria-label="Toggle navigation"
class="navbar-toggler" data-target="#navbarTogglerDemo01" data-toggle="collapse" type="button">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarTogglerDemo01">
<ul class="navbar-nav mx-auto">
<li class="nav-item">
<a class="nav-link" href="index.html">Home</a>
</li>
<li class="nav-item active">
<a aria-disabled="true" class="nav-link disabled" href="product-list.html">Products</a>
</li>
<li class="nav-item">
<a class="nav-link" href="about-us.html">About Us</a>
</li>
<li class="nav-item">
<a class="nav-link" href="faq.html">FAQ</a>
</li>
</ul>
<span class="navbar-nav my-2 my-lg-0 text-white">
<div class="my-4">
<a href="login.html"><button class="btn btn-outline-success mt-auto mb-auto mr-3"
type="button">Login</button></a>
</div>
<a href="bag.html" class="mt-auto mb-auto" style="color: inherit;"><i class="fas fa-shopping-cart"><span
class="ml-2 mt-auto mb-auto">Rp 999.999</span></i></a>
</span>
</div>
</nav>
<br>
<br>
<div class="full-body justify-content-center">
<div class="body-left">
<table class="table" style="color: white; margin-right: 48px;">
<thead>
<tr class="titletr">
<th scope="col">Item</th>
<th scope="col">Item Price</th>
<th scope="col">Sub Total</th>
</tr>
</thead>
<tbody>
<tr class="titletrdes">
<th scope="row" style="display: flex;"><img alt="placeholder image" class="img lazyload"
height="80px" src="assets/Product_1.webp" width="80px">
<div class="info">
<p>Fashione Shoes</p>
<p>Size : 44</p>
<p>Qty : 1</p>
</div>
</th>
<td>Rp 1.999.999,00</td>
<td>Rp 1.999.999,00</td>
</tr>
<tr>
<th scope="row" style="display: flex;"><img alt="placeholder image" class="img lazyload"
height="80px" src="assets/Product_1.webp" width="80px">
<div class="info">
<p>Fashione Shoes</p>
<p>Size : 44</p>
<p>Qty : 1</p>
</div>
</th>
<td>Rp 1.999.999,00</td>
<td>Rp 1.999.999,00</td>
</tr>
<tr>
<th scope="row" style="display: flex;"><img alt="placeholder image" class="img lazyload"
height="80px" src="assets/Product_1.webp" width="80px">
<div class="info">
<p>Fashione Shoes</p>
<p>Size : 44</p>
<p>Qty : 1</p>
</div>
</th>
<td>Rp 1.999.999,00</td>
<td>Rp 1.999.999,00</td>
</tr>
<tr style="border-bottom: 1px solid white;">
<th>Total Price</th>
<td></td>
<td>Rp 5.999.997,00</td>
</tr>
</tbody>
</table>
</div>
<div class="body-right" style="margin-left: 48px;">
<div class="card" style="background-color: #212226 ; border-radius: 20px; padding: 20px;">
<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>
<div style="display: flex;">
<input aria-describedby="fnamehelp" class="form-control" id="exampleInputFName"
placeholder="First Name" type="FName" required>
<input aria-describedby="lnamehelp" class="form-control" id="exampleInputLName"
placeholder="Last Name" type="Lname" required>
</div>
<input aria-describedby="PhoneNumber" class="form-control" id="exampleInputPhoneNum"
placeholder="Phone Number" type="PhoneNum" required>
<small class="form-text text-muted" id="phoneHelp">We'll never share your Phone Number with
anyone
else.</small>
</div>
<div class="form-group">
<label for="contactInformation"><b>ADDRESS</b></label>
<input aria-describedby="Address1" class="form-control" id="exampleInputAddress1"
placeholder="Street Address " type="Address1" required>
<input aria-describedby="Address2" class="form-control" id="exampleInputAddress2"
placeholder="Street Address 2 " type="Address2" >
<input aria-describedby="region" class="form-control" id="exampleInputregion"
placeholder="Region" type="region" required>
<input aria-describedby="province" class="form-control" id="exampleInputprovince"
placeholder="Province" type="province" required>
<input aria-describedby="city" class="form-control" id="exampleInputcity"
placeholder="City" type="city" required>
<input aria-describedby="district" class="form-control" id="exampleInputdistrict"
placeholder="District" type="district" required>
<input aria-describedby="subdistrict" class="form-control" id="exampleInputsubdistrict"
placeholder="Subdistrict" type="subdistrict" required>
<input aria-describedby="portalcode" class="form-control" id="exampleInputportalcode"
placeholder="Portalcode" type="portalcode" required>
</div>
<small class="form-text text-muted" id="phoneHelp">Email : budi45@gmail.com</small>
<div class="form-check">
<input class="form-check-input" id="defaultCheck1" type="checkbox" value="" required>
<label class="form-check-label" for="defaultCheck1">
My Billing and Shipping information are the same
</label>
</div>
</form>
<h3 style="margin-top: 20px;">SHIPPING METHODS</h3>
<form style="border-top: 1px solid white;">
<div class="input-group mb-3">
<div class="input-group-prepend">
<label class="input-group-text" for="inputGroupSelect07">Shipping Methods</label>
</div>
<select class="custom-select" id="inputGroupSelect07">
<option selected>Choose...</option>
<option value="1">JNT</option>
<option value="2">JNE</option>
<option value="3">SICEPAT</option>
</select>
</div>
</form>
<div style="display: flex; color: black;">
<button class="btn btn-primary btn-pay" id="myBtn" type="submit"><a href="notifpayment.html" class="none">Pay</a></button>
</div>
</div>
</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>