Beautify code on Bag Page

This commit is contained in:
Moe Poi ~ 2021-09-26 23:20:02 +07:00
parent bd6e612fbd
commit 49ef095040

View file

@ -1,5 +1,6 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta content="IE=edge" http-equiv="X-UA-Compatible">
@ -96,8 +97,7 @@
<nav class="navbar navbar-expand-lg navbar-dark comp-color ml-5 mr-5 nav-radius">
<a class="navbar-brand" href="#">Shopping Bag</a>
<button aria-controls="navbarTogglerDemo01" aria-expanded="false" aria-label="Toggle navigation"
class="navbar-toggler"
data-target="#navbarTogglerDemo01" data-toggle="collapse" type="button">
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">
@ -117,9 +117,11 @@
</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>
<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>
<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>
@ -131,8 +133,8 @@
<div class="card-body">
<div class="row">
<div class="col-sm-7 col-md-6 col-lg-4">
<img alt="placeholder image" class="img-fluid lazyload" src="assets/Product_1.webp" width="180px"
height="180px"/>
<img alt="placeholder image" class="img-fluid lazyload" src="assets/Product_1.webp"
width="180px" height="180px" />
</div>
<div class="col-sm-5 col-md-6 col-lg-8">
<h2>Fashione Shoes</h2>
@ -162,8 +164,8 @@
<div class="card-body">
<div class="row">
<div class="col-sm-7 col-md-6 col-lg-4">
<img alt="placeholder image" class="img-fluid lazyload" src="assets/Product_1.webp" width="180px"
height="180px"/>
<img alt="placeholder image" class="img-fluid lazyload" src="assets/Product_1.webp"
width="180px" height="180px" />
</div>
<div class="col-sm-5 col-md-6 col-lg-8">
<h2>Fashione Shoes</h2>
@ -172,8 +174,7 @@
<div style="display: flex;">
<span class="input-group-btn">
<button type="button" class="btn btn-default btn-number" style="color: white;"
onclick="minus('inputNum1')"><i
data-feather="minus-square"></i></button>
onclick="minus('inputNum1')"><i data-feather="minus-square"></i></button>
</span>
<input class="box" type="text" disabled="disabled" value="1"
class="form-control input-number" id="inputNum1" />
@ -194,8 +195,8 @@
<div class="card-body">
<div class="row">
<div class="col-sm-7 col-md-6 col-lg-4">
<img alt="placeholder image" class="img-fluid lazyload" src="assets/Product_1.webp" width="180px"
height="180px"/>
<img alt="placeholder image" class="img-fluid lazyload" src="assets/Product_1.webp"
width="180px" height="180px" />
</div>
<div class="col-sm-5 col-md-6 col-lg-8">
<h2>Fashione Shoes</h2>
@ -204,8 +205,7 @@
<div style="display: flex;">
<span class="input-group-btn">
<button type="button" class="btn btn-default btn-number" style="color: white;"
onclick="minus('inputNum2')"><i
data-feather="minus-square"></i></button>
onclick="minus('inputNum2')"><i data-feather="minus-square"></i></button>
</span>
<input class="box" type="text" disabled="disabled" value="1"
class="form-control input-number" id="inputNum2" />
@ -258,11 +258,9 @@
</div>
<script crossorigin="anonymous"
integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj"
<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"
<script crossorigin="anonymous" integrity="sha384-Piv4xVNRyMGpqkS2by6br4gNJ7DXjqk09RmUpJ8jgGtD7zP9yug3goQfGII0yAns"
src="https://cdn.jsdelivr.net/npm/bootstrap@4.6.0/dist/js/bootstrap.bundle.min.js"></script>
<script>
@ -289,4 +287,5 @@
feather.replace();
</script>
</body>
</html>