mirror of
https://gitlab.com/nekoya/web.git
synced 2024-12-23 15:00:41 +01:00
commit
This commit is contained in:
parent
eee523b4bd
commit
192c8b8b67
1 changed files with 167 additions and 192 deletions
359
bag.html
359
bag.html
|
@ -4,7 +4,7 @@
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<meta content="IE=edge" http-equiv="X-UA-Compatible">
|
<meta content="IE=edge" http-equiv="X-UA-Compatible">
|
||||||
<meta content="width=device-width, initial-scale=1.0" name="viewport">
|
<meta content="width=device-width, initial-scale=1.0" name="viewport">
|
||||||
<title>Bag</title>
|
<title>bag</title>
|
||||||
<link crossorigin="anonymous" href="https://cdn.jsdelivr.net/npm/bootstrap@4.6.0/dist/css/bootstrap.min.css"
|
<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="assets/favicon.png" rel="shortcut icon" type="image/png"/>
|
<link href="assets/favicon.png" rel="shortcut icon" type="image/png"/>
|
||||||
|
@ -14,10 +14,9 @@
|
||||||
<script src="https://unpkg.com/feather-icons"></script>
|
<script src="https://unpkg.com/feather-icons"></script>
|
||||||
<link href="https://fonts.googleapis.com/css2?family=Poppins&display=swap" rel="stylesheet">
|
<link href="https://fonts.googleapis.com/css2?family=Poppins&display=swap" rel="stylesheet">
|
||||||
<style>
|
<style>
|
||||||
* {
|
*{
|
||||||
font-family: 'Poppins', sans-serif;
|
font-family: 'Poppins', sans-serif;
|
||||||
}
|
}
|
||||||
|
|
||||||
.bg-color {
|
.bg-color {
|
||||||
background-color: #1b1c1e;
|
background-color: #1b1c1e;
|
||||||
}
|
}
|
||||||
|
@ -30,19 +29,16 @@
|
||||||
border-bottom-left-radius: 20px;
|
border-bottom-left-radius: 20px;
|
||||||
border-bottom-right-radius: 20px;
|
border-bottom-right-radius: 20px;
|
||||||
}
|
}
|
||||||
|
.full-body{
|
||||||
.full-body {
|
|
||||||
margin-left: 48px;
|
margin-left: 48px;
|
||||||
display: flex;
|
display: flex;
|
||||||
color: white;
|
color: white;
|
||||||
word-break: break-all;
|
word-break: break-all;
|
||||||
}
|
}
|
||||||
|
.title{
|
||||||
.title {
|
|
||||||
margin-left: 48px;
|
margin-left: 48px;
|
||||||
color: white;
|
color: white;
|
||||||
}
|
}
|
||||||
|
|
||||||
.button {
|
.button {
|
||||||
color: white;
|
color: white;
|
||||||
background-color: green;
|
background-color: green;
|
||||||
|
@ -57,40 +53,35 @@
|
||||||
.container input {
|
.container input {
|
||||||
justify-content: left;
|
justify-content: left;
|
||||||
}
|
}
|
||||||
|
.card{
|
||||||
.card {
|
background-color: #212226;
|
||||||
background-color: #212226;
|
color: white;
|
||||||
color: white;
|
|
||||||
border-radius: 10px;
|
border-radius: 10px;
|
||||||
display: flex;
|
display: flex;
|
||||||
}
|
}
|
||||||
|
.bag{
|
||||||
.bag {
|
|
||||||
color: white;
|
color: white;
|
||||||
margin-left: 48px;
|
margin-left: 48px;
|
||||||
margin-right: 48px;
|
margin-right: 48px;
|
||||||
}
|
}
|
||||||
|
.box{
|
||||||
.box {
|
|
||||||
width: 100px;
|
width: 100px;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (max-width: 980px) {
|
@media(max-width: 980px){
|
||||||
.summary {
|
.summary{
|
||||||
margin-top: 20px;
|
margin-top: 20px;
|
||||||
}
|
}
|
||||||
|
.des{
|
||||||
.des {
|
|
||||||
display: grid;
|
display: grid;
|
||||||
}
|
}
|
||||||
|
.bag{
|
||||||
.bag {
|
|
||||||
word-break: break-all;
|
word-break: break-all;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (max-width: 320px) {
|
@media(max-width: 320){
|
||||||
.box {
|
.box{
|
||||||
width: 10px;
|
width: 10px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -98,172 +89,156 @@
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body class="bg-color">
|
<body class="bg-color">
|
||||||
<nav class="navbar navbar-expand-lg navbar-dark comp-color ml-5 mr-5 nav-radius">
|
<nav class="navbar navbar-expand-lg navbar-dark comp-color ml-5 mr-5 nav-radius">
|
||||||
<a class="navbar-brand" href="#">Shopping Bag</a>
|
<a class="navbar-brand" href="#">Shopping Bag</a>
|
||||||
<button aria-controls="navbarTogglerDemo01" aria-expanded="false" aria-label="Toggle navigation"
|
<button aria-controls="navbarTogglerDemo01" aria-expanded="false" aria-label="Toggle navigation" class="navbar-toggler"
|
||||||
class="navbar-toggler"
|
|
||||||
data-target="#navbarTogglerDemo01" data-toggle="collapse" type="button">
|
data-target="#navbarTogglerDemo01" data-toggle="collapse" type="button">
|
||||||
<span class="navbar-toggler-icon"></span>
|
<span class="navbar-toggler-icon"></span>
|
||||||
</button>
|
</button>
|
||||||
<div class="collapse navbar-collapse" id="navbarTogglerDemo01">
|
<div class="collapse navbar-collapse" id="navbarTogglerDemo01">
|
||||||
<ul class="navbar-nav mx-auto">
|
<ul class="navbar-nav mx-auto">
|
||||||
<li class="nav-item">
|
<li class="nav-item">
|
||||||
<a class="nav-link" href="/">Home</a>
|
<a class="nav-link" href="/">Home</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="nav-item active">
|
<li class="nav-item active">
|
||||||
<a aria-disabled="true" class="nav-link disabled" href="product-list.html">Products</a>
|
<a aria-disabled="true" class="nav-link disabled" href="product-list.html">Products</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="nav-item">
|
<li class="nav-item">
|
||||||
<a class="nav-link" href="about-us.html">About Us</a>
|
<a class="nav-link" href="about-us.html">About Us</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="nav-item">
|
<li class="nav-item">
|
||||||
<a class="nav-link" href="faq.html">FAQ</a>
|
<a class="nav-link" href="faq.html">FAQ</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
<span class="navbar-nav my-2 my-lg-0 text-white">
|
<span class="navbar-nav my-2 my-lg-0 text-white">
|
||||||
<div class="my-4">
|
<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>
|
<a href="login.html"><button class="btn btn-outline-success mt-auto mb-auto mr-3" type="button">Login</button></a>
|
||||||
</div>
|
</div>
|
||||||
<i class="fas fa-shopping-cart mt-auto mb-auto"><span class="ml-2 mt-auto mb-auto">$999</span></i>
|
<i class="fas fa-shopping-cart mt-auto mb-auto"><span class="ml-2 mt-auto mb-auto">$999</span></i>
|
||||||
</span>
|
</span>
|
||||||
</div>
|
|
||||||
</nav>
|
|
||||||
|
|
||||||
<div class="title">
|
|
||||||
<h3>Shopping Bag</h3>
|
|
||||||
</div>
|
|
||||||
<div class="bag">
|
|
||||||
<div class="row">
|
|
||||||
<div class="col-lg-8">
|
|
||||||
<div class="card">
|
|
||||||
<div class="card-body">
|
|
||||||
<div class="row">
|
|
||||||
<div class="col-sm-6 col-md-4 col-lg-2">
|
|
||||||
<img alt="placeholder image" class="img-fluid" src="assets/sepatu.png" width="180px"
|
|
||||||
height="180px"/>
|
|
||||||
</div>
|
|
||||||
<div class="col-sm-6 col-md-8 col-lg-10">
|
|
||||||
<p>Fashione Shoes</p>
|
|
||||||
<p>Size : 8</p>
|
|
||||||
<p>Qty</p>
|
|
||||||
<div style="display: flex;">
|
|
||||||
<span class="input-group-btn">
|
|
||||||
<button type="button" class="btn btn-default btn-number" style="color: white;"
|
|
||||||
onclick="minus('inputNum')"><i data-feather="minus-square"></i></button>
|
|
||||||
</span>
|
|
||||||
<input class="box" type="text" disabled="disabled" value="1"
|
|
||||||
class="form-control input-number" id="inputNum1"/>
|
|
||||||
<span class="input-group-btn">
|
|
||||||
<button type="button" class="btn btn-default btn-number" style="color: white;"
|
|
||||||
onclick='add("inputNum")'><i data-feather="plus-square"></i></button>
|
|
||||||
</span>
|
|
||||||
</div>
|
|
||||||
<br>
|
|
||||||
<p>Rp 1.999.999,00</p>
|
|
||||||
<a href=""><u>REMOVE</u></a>
|
|
||||||
<br><br>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="card">
|
|
||||||
<div class="card-body">
|
|
||||||
<div class="row">
|
|
||||||
<div class="col-sm-6 col-md-4 col-lg-2">
|
|
||||||
<img alt="placeholder image" class="img-fluid" src="assets/sepatu.png" width="180px"
|
|
||||||
height="180px"/>
|
|
||||||
</div>
|
|
||||||
<div class="col-sm-6 col-md-8 col-lg-10">
|
|
||||||
<p>Fashione Shoes</p>
|
|
||||||
<p>Size : 8</p>
|
|
||||||
<p>Qty</p>
|
|
||||||
<div style="display: flex;">
|
|
||||||
<span class="input-group-btn">
|
|
||||||
<button type="button" class="btn btn-default btn-number" style="color: white;"
|
|
||||||
onclick="minus('inputNum')"><i data-feather="minus-square"></i></button>
|
|
||||||
</span>
|
|
||||||
<input class="box" type="text" disabled="disabled" value="1"
|
|
||||||
class="form-control input-number" id="inputNum2"/>
|
|
||||||
<span class="input-group-btn">
|
|
||||||
<button type="button" class="btn btn-default btn-number" style="color: white;"
|
|
||||||
onclick='add("inputNum")'><i data-feather="plus-square"></i></button>
|
|
||||||
</span>
|
|
||||||
</div>
|
|
||||||
<br>
|
|
||||||
<p>Rp 1.999.999,00</p>
|
|
||||||
<a href=""><u>REMOVE</u></a>
|
|
||||||
<br><br>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="card">
|
|
||||||
<div class="card-body">
|
|
||||||
<div class="row">
|
|
||||||
<div class="col-sm-6 col-md-4 col-lg-2">
|
|
||||||
<img alt="placeholder image" class="img-fluid" src="assets/sepatu.png" width="180px"
|
|
||||||
height="180px"/>
|
|
||||||
</div>
|
|
||||||
<div class="col-sm-6 col-md-8 col-lg-10">
|
|
||||||
<p>Fashione Shoes</p>
|
|
||||||
<p>Size : 8</p>
|
|
||||||
<p>Qty</p>
|
|
||||||
<div style="display: flex;">
|
|
||||||
<span class="input-group-btn">
|
|
||||||
<button type="button" class="btn btn-default btn-number" style="color: white;"
|
|
||||||
onclick="minus('inputNum')"><i data-feather="minus-square"></i></button>
|
|
||||||
</span>
|
|
||||||
<input class="box" type="text" disabled="disabled" value="1"
|
|
||||||
class="form-control input-number" id="inputNum3"/>
|
|
||||||
<span class="input-group-btn">
|
|
||||||
<button type="button" class="btn btn-default btn-number" style="color: white;"
|
|
||||||
onclick='add("inputNum")'><i data-feather="plus-square"></i></button>
|
|
||||||
</span>
|
|
||||||
</div>
|
|
||||||
<br>
|
|
||||||
<p>Rp 1.999.999,00</p>
|
|
||||||
<a href=""><u>REMOVE</u></a>
|
|
||||||
<br><br>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
|
</nav>
|
||||||
|
|
||||||
<div class="col-lg-4">
|
<div class="title">
|
||||||
<div class="summary">
|
<h3>Shopping Bag</h3>
|
||||||
|
</div>
|
||||||
|
<div class="bag">
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-lg-8">
|
||||||
<div class="card">
|
<div class="card">
|
||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
<div class="row" style="border-bottom: 1px solid white;">
|
<div class="row">
|
||||||
<div class="col-lg-12">
|
<div class="col-sm-6 col-md-4 col-lg-2">
|
||||||
<h5 style="text-align: center;"><b>Order Summary</b></h5>
|
<img alt="placeholder image" class="img-fluid" src="assets/sepatu.png" width="180px" height="180px"/>
|
||||||
|
</div>
|
||||||
|
<div class="col-sm-6 col-md-8 col-lg-10">
|
||||||
|
<p>Fashione Shoes</p>
|
||||||
|
<p>Size : 8</p>
|
||||||
|
<p>Qty</p>
|
||||||
|
<div style="display: flex;">
|
||||||
|
<span class="input-group-btn">
|
||||||
|
<button type="button" class="btn btn-default btn-number" style="color: white;" onclick="minus('inputNum')"><i data-feather="minus-square"></i></button>
|
||||||
|
</span>
|
||||||
|
<input class="box" type="text" disabled="disabled" value="1" class="form-control input-number" id="inputNum" />
|
||||||
|
<span class="input-group-btn">
|
||||||
|
<button type="button" class="btn btn-default btn-number" style="color: white;" onclick='add("inputNum")'><i data-feather="plus-square"></i></button>
|
||||||
|
</span>
|
||||||
|
</div><br>
|
||||||
|
<p>Rp 1.999.999,00</p>
|
||||||
|
<a href=""><u>REMOVE</u></a>
|
||||||
|
<br><br>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="row justify-content-between">
|
</div>
|
||||||
<p>Sub Total</p>
|
</div>
|
||||||
<p>1.999.999,00</p>
|
<div class="card">
|
||||||
|
<div class="card-body">
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-sm-6 col-md-4 col-lg-2">
|
||||||
|
<img alt="placeholder image" class="img-fluid" src="assets/sepatu.png" width="180px" height="180px"/>
|
||||||
|
</div>
|
||||||
|
<div class="col-sm-6 col-md-8 col-lg-10">
|
||||||
|
<p>Fashione Shoes</p>
|
||||||
|
<p>Size : 8</p>
|
||||||
|
<p>Qty</p>
|
||||||
|
<div style="display: flex;">
|
||||||
|
<span class="input-group-btn">
|
||||||
|
<button type="button" class="btn btn-default btn-number" style="color: white;" onclick="minus('inputNum')"><i data-feather="minus-square"></i></button>
|
||||||
|
</span>
|
||||||
|
<input class="box" type="text" disabled="disabled" value="1" class="form-control input-number" id="inputNum" />
|
||||||
|
<span class="input-group-btn">
|
||||||
|
<button type="button" class="btn btn-default btn-number" style="color: white;" onclick='add("inputNum")'><i data-feather="plus-square"></i></button>
|
||||||
|
</span>
|
||||||
|
</div><br>
|
||||||
|
<p>Rp 1.999.999,00</p>
|
||||||
|
<a href=""><u>REMOVE</u></a>
|
||||||
|
<br><br>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="row justify-content-between" style="border-bottom: 1px solid white;">
|
</div>
|
||||||
<p>Shipping</p>
|
</div>
|
||||||
<p>-</p>
|
<div class="card">
|
||||||
|
<div class="card-body">
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-sm-6 col-md-4 col-lg-2">
|
||||||
|
<img alt="placeholder image" class="img-fluid" src="assets/sepatu.png" width="180px" height="180px"/>
|
||||||
|
</div>
|
||||||
|
<div class="col-sm-6 col-md-8 col-lg-10">
|
||||||
|
<p>Fashione Shoes</p>
|
||||||
|
<p>Size : 8</p>
|
||||||
|
<p>Qty</p>
|
||||||
|
<div style="display: flex;">
|
||||||
|
<span class="input-group-btn">
|
||||||
|
<button type="button" class="btn btn-default btn-number" style="color: white;" onclick="minus('inputNum')"><i data-feather="minus-square"></i></button>
|
||||||
|
</span>
|
||||||
|
<input class="box" type="text" disabled="disabled" value="1" class="form-control input-number" id="inputNum" />
|
||||||
|
<span class="input-group-btn">
|
||||||
|
<button type="button" class="btn btn-default btn-number" style="color: white;" onclick='add("inputNum")'><i data-feather="plus-square"></i></button>
|
||||||
|
</span>
|
||||||
|
</div><br>
|
||||||
|
<p>Rp 1.999.999,00</p>
|
||||||
|
<a href=""><u>REMOVE</u></a>
|
||||||
|
<br><br>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="row justify-content-between">
|
</div>
|
||||||
<p>Estimate</p>
|
</div>
|
||||||
<p>1.999.999,00</p>
|
</div>
|
||||||
|
|
||||||
|
<div class="col-lg-4">
|
||||||
|
<div class="summary">
|
||||||
|
<div class="card">
|
||||||
|
<div class="card-body">
|
||||||
|
<div class="row" style="border-bottom: 1px solid white;">
|
||||||
|
<div class="col-lg-12">
|
||||||
|
<h5 style="text-align: center;"><b>Order Summary</b></h5>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="row justify-content-between">
|
||||||
|
<p>Sub Total</p>
|
||||||
|
<p>1.999.999,00</p>
|
||||||
|
</div>
|
||||||
|
<div class="row justify-content-between" style="border-bottom: 1px solid white;">
|
||||||
|
<p>Shipping</p>
|
||||||
|
<p>-</p>
|
||||||
|
</div>
|
||||||
|
<div class="row justify-content-between">
|
||||||
|
<p>Estimate</p>
|
||||||
|
<p>1.999.999,00</p>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<a href="checkout.html" style="margin-left: 48px;">
|
||||||
|
<button class="button">Checkout</button>
|
||||||
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<a href="checkout.html" style="margin-left: 48px;">
|
|
||||||
<button class="button">Checkout</button>
|
|
||||||
</a>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<script crossorigin="anonymous"
|
<script crossorigin="anonymous"
|
||||||
integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj"
|
integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj"
|
||||||
src="https://code.jquery.com/jquery-3.5.1.slim.min.js"></script>
|
src="https://code.jquery.com/jquery-3.5.1.slim.min.js"></script>
|
||||||
|
@ -271,28 +246,28 @@
|
||||||
integrity="sha384-Piv4xVNRyMGpqkS2by6br4gNJ7DXjqk09RmUpJ8jgGtD7zP9yug3goQfGII0yAns"
|
integrity="sha384-Piv4xVNRyMGpqkS2by6br4gNJ7DXjqk09RmUpJ8jgGtD7zP9yug3goQfGII0yAns"
|
||||||
src="https://cdn.jsdelivr.net/npm/bootstrap@4.6.0/dist/js/bootstrap.bundle.min.js"></script>
|
src="https://cdn.jsdelivr.net/npm/bootstrap@4.6.0/dist/js/bootstrap.bundle.min.js"></script>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
function add(id) {
|
function add(id) {
|
||||||
var inputCount = document.getElementById(id);
|
var inputCount = document.getElementById(id);
|
||||||
console.log("I got clicked");
|
console.log("I got clicked");
|
||||||
if (inputCount.value < 9) {
|
if (inputCount.value < 9) {
|
||||||
inputCount.value++;
|
inputCount.value++;
|
||||||
} else {
|
} else {
|
||||||
alert("MAX product reach");
|
alert("MAX product reach");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function minus(id) {
|
function minus(id) {
|
||||||
var inputCount = document.getElementById(id);
|
var inputCount = document.getElementById(id);
|
||||||
console.log("Minus got clicked");
|
console.log("Minus got clicked");
|
||||||
if (inputCount.value > 1) {
|
if (inputCount.value > 1) {
|
||||||
inputCount.value--;
|
inputCount.value--;
|
||||||
} else {
|
} else {
|
||||||
alert("Remove this item");
|
alert("Remove this item");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
feather.replace();
|
feather.replace();
|
||||||
</script>
|
</script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
Loading…
Reference in a new issue