mirror of
https://gitlab.com/nekoya/web.git
synced 2025-01-20 23:47:03 +01:00
Modif checkout page and css
This commit is contained in:
parent
386fe3b161
commit
df94006815
2 changed files with 330 additions and 2 deletions
222
checkout.html
222
checkout.html
|
@ -6,9 +6,227 @@
|
|||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>checkout</title>
|
||||
<link rel="stylesheet" href="stylecheckout.css">
|
||||
|
||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.6.0/dist/css/bootstrap.min.css" integrity="sha384-B0vP5xmATw1+K9KRQjQERJvTumQW0nPEzvF6L/Z6nronJ3oUOFUFpCjEUQouq2+l" crossorigin="anonymous">
|
||||
<link rel="shortcut icon" type="image/png" href="assets/favicon.png"/>
|
||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css">
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
<link href="https://fonts.googleapis.com/css2?family=Poppins&display=swap" rel="stylesheet">
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<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</a>
|
||||
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarTogglerDemo01"
|
||||
aria-controls="navbarTogglerDemo01" aria-expanded="false" aria-label="Toggle navigation">
|
||||
<span class="navbar-toggler-icon"></span>
|
||||
</button>
|
||||
<div class="collapse navbar-collapse" id="navbarTogglerDemo01">
|
||||
<ul class="navbar-nav mx-auto">
|
||||
<li class="nav-item active">
|
||||
<a class="nav-link" href="/">Home</a>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a class="nav-link disabled" href="/products-page.html" aria-disabled="true">Products</a>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a class="nav-link" href="/aboutus.html">About Us</a>
|
||||
</li>
|
||||
</ul>
|
||||
<span class="navbar-nav my-2 my-lg-0 text-white">
|
||||
<a href="/loginPage.html"><button type="button" class="btn btn-outline-success mt-auto mb-auto mr-3">Login</button></a>
|
||||
<i class="fas fa-shopping-cart mt-auto mb-auto"><span class="ml-2 mt-auto mb-auto">$999</span></i>
|
||||
</span>
|
||||
</div>
|
||||
</nav>
|
||||
|
||||
<div class="title">
|
||||
<h3>Shopping Cart</h3>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="full-body">
|
||||
<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">Qty</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 src="assets/sepatu.png" alt="placeholder image" class="img" height="80px" width="80px">
|
||||
<div class="info" >
|
||||
<p>Fashione Shoes</p>
|
||||
<p>Size : 8</p>
|
||||
<p>Qty : 1</p>
|
||||
</div></th>
|
||||
<td>1</td>
|
||||
<td>Rp 1.999.999,00</td>
|
||||
<td>Rp 1.999.999,00</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row" style="display: flex;"><img src="assets/sepatu.png" alt="placeholder image" class="img" height="80px" width="80px">
|
||||
<div class="info">
|
||||
<p>Fashione Shoes</p>
|
||||
<p>Size : 8</p>
|
||||
<p>Qty : 1</p>
|
||||
</div></th>
|
||||
<td>1</td>
|
||||
<td>Rp 1.999.999,00</td>
|
||||
<td>Rp 1.999.999,00</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row" style="display: flex;"><img src="assets/sepatu.png" alt="placeholder image" class="img" height="80px" width="80px">
|
||||
<div class="info" >
|
||||
<p>Fashione Shoes</p>
|
||||
<p>Size : 8</p>
|
||||
<p>Qty : 1</p>
|
||||
</div></th>
|
||||
<td>1</td>
|
||||
<td>Rp 1.999.999,00</td>
|
||||
<td>Rp 1.999.999,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: 30px;">
|
||||
<h3>SHIPPING DETAILS</h3>
|
||||
<p>Please enter your delivery address</p>
|
||||
<form style="border-top: 1px solid white;">
|
||||
<div class="form-group">
|
||||
<label for="contactInformation"><b>CONTACT INFORMATION</b></label>
|
||||
<div style="display: flex;">
|
||||
<input type="FName" class="form-control" id="exampleInputFName" aria-describedby="fnamehelp" placeholder="First Name">
|
||||
<input type="Lname" class="form-control" id="exampleInputLName" aria-describedby="lnamehelp" placeholder="Last Name">
|
||||
</div>
|
||||
<input type="PhoneNum" class="form-control" id="exampleInputPhoneNum" aria-describedby="PhoneNumber" placeholder="Phone Number">
|
||||
<small id="phoneHelp" class="form-text text-muted">We'll never share your Phone Number with anyone else.</small>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label for="contactInformation"><b>ADDRESS</b></label>
|
||||
<input type="Address1" class="form-control" id="exampleInputAddress1" aria-describedby="Address1" placeholder="Street Address ">
|
||||
<input type="Address2" class="form-control" id="exampleInputAddress2" aria-describedby="Address2" placeholder="Street Address 2 ">
|
||||
</div>
|
||||
|
||||
|
||||
<div class="input-group mb-3">
|
||||
<div class="input-group-prepend">
|
||||
<label class="input-group-text" for="inputGroupSelect01">Region</label>
|
||||
</div>
|
||||
<select class="custom-select" id="inputGroupSelect01">
|
||||
<option selected><Choose class=""></Choose></option>
|
||||
<option value="1">Indonesia</option>
|
||||
<option value="2">Japan</option>
|
||||
<option value="3">United Kingdom</option>
|
||||
</select>
|
||||
</div>
|
||||
|
||||
<div class="input-group mb-3">
|
||||
<div class="input-group-prepend">
|
||||
<label class="input-group-text" for="inputGroupSelect02">State/Province</label>
|
||||
</div>
|
||||
<select class="custom-select" id="inputGroupSelect02">
|
||||
<option selected>Choose...</option>
|
||||
<option value="1">DKI Jakarta</option>
|
||||
<option value="2">Kalimantan Barat</option>
|
||||
<option value="3">Jawab Barat</option>
|
||||
</select>
|
||||
</div>
|
||||
|
||||
<div class="input-group mb-3">
|
||||
<div class="input-group-prepend">
|
||||
<label class="input-group-text" for="inputGroupSelect03">City</label>
|
||||
</div>
|
||||
<select class="custom-select" id="inputGroupSelect03">
|
||||
<option selected>Choose...</option>
|
||||
<option value="1">Jakarta</option>
|
||||
<option value="2">Singkawang</option>
|
||||
<option value="3">Bogor</option>
|
||||
</select>
|
||||
</div>
|
||||
|
||||
<div class="input-group mb-3">
|
||||
<div class="input-group-prepend">
|
||||
<label class="input-group-text" for="inputGroupSelect04">District</label>
|
||||
</div>
|
||||
<select class="custom-select" id="inputGroupSelect04">
|
||||
<option selected>Choose...</option>
|
||||
<option value="1">Grogol</option>
|
||||
<option value="2">Sei-Wei</option>
|
||||
<option value="3">Puncak</option>
|
||||
</select>
|
||||
</div>
|
||||
|
||||
<div class="input-group mb-3">
|
||||
<div class="input-group-prepend">
|
||||
<label class="input-group-text" for="inputGroupSelect05">Sub District</label>
|
||||
</div>
|
||||
<select class="custom-select" id="inputGroupSelect05">
|
||||
<option selected>Choose...</option>
|
||||
<option value="1">...</option>
|
||||
<option value="2">...</option>
|
||||
<option value="3">...</option>
|
||||
</select>
|
||||
</div>
|
||||
|
||||
<div class="input-group mb-3">
|
||||
<div class="input-group-prepend">
|
||||
<label class="input-group-text" for="inputGroupSelect06">Portal Code</label>
|
||||
</div>
|
||||
<select class="custom-select" id="inputGroupSelect06">
|
||||
<option selected>Choose...</option>
|
||||
<option value="1">11450</option>
|
||||
<option value="2">79115</option>
|
||||
<option value="3">16111</option>
|
||||
</select>
|
||||
</div>
|
||||
|
||||
<small id="phoneHelp" class="form-text text-muted">Email : budi45@gmail.com</small>
|
||||
<div class="form-check">
|
||||
<input class="form-check-input" type="checkbox" value="" id="defaultCheck1">
|
||||
<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>
|
||||
|
||||
<button type="submit" class="btn btn-primary">Review & Pay</button>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js" integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj" crossorigin="anonymous"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/bootstrap@4.6.0/dist/js/bootstrap.bundle.min.js" integrity="sha384-Piv4xVNRyMGpqkS2by6br4gNJ7DXjqk09RmUpJ8jgGtD7zP9yug3goQfGII0yAns" crossorigin="anonymous"></script>
|
||||
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,110 @@
|
|||
.bg-color {
|
||||
background-color: #1b1c1e;
|
||||
}
|
||||
|
||||
.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;
|
||||
}
|
||||
|
||||
.button{
|
||||
color: white;
|
||||
background-color: green;
|
||||
margin-top: 15px;
|
||||
}
|
||||
|
||||
.full-body{
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.info{
|
||||
margin-left: 30px;
|
||||
}
|
||||
.titlesummary{
|
||||
text-align: center;
|
||||
border-bottom: 1px solid white;
|
||||
margin: 10px;
|
||||
}
|
||||
|
||||
@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: 6px ;
|
||||
}
|
||||
.img{
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
}
|
||||
.info{
|
||||
margin-left: 5px;
|
||||
}
|
||||
.titletr{
|
||||
word-break: keep-all;
|
||||
}
|
||||
.titletrdes{
|
||||
word-break: break-all;
|
||||
}
|
||||
.titlesummary{
|
||||
font-size: 10px;
|
||||
|
||||
}
|
||||
.body-right{
|
||||
width: 300px;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
Loading…
Reference in a new issue