-
Notifications
You must be signed in to change notification settings - Fork 0
/
productList.html
181 lines (173 loc) · 10.8 KB
/
productList.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Product List</title>
<title>Product Details</title><link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-T3c6CoIi6uLrA9TneNEoa7RxnatzjcDSCmG1MXxSR1GAsXEV/Dwwykc2MPK8M2HN" crossorigin="anonymous">
<link rel="stylesheet" href="css/common.css">
<link rel="stylesheet" href="css/productList.css">
</head>
<body>
<div id="productList">
<!-- navbar -->
<nav id="header">
<div class="container">
<div class="row">
<div class="header-wrapper d-flex justify-content-between">
<div class="logo d-inline-block">
<a href="index.html" class="text-decoration-none">Shop Cart</a>
</div>
<div class="user-actions d-flex flex-row">
<a href="cart.html" >Cart</a>
<div class="user-intro" id="userIntro">Hii User</div>
<div class="logout-btn" id="logoutBtn">Logout</div>
</div>
</div>
</div>
</div>
</nav>
<div class="container">
<div class="row">
<h2 class="product-list-title text-center">All Products</h2>
<div class="product-list-wrapper d-flex flex-row ">
<!-- sidebar -->
<div class="product-list-sidebar d-flex flex-column">
<div class="sidebar-title">Search Product</div>
<div class="sidebar-search form-group">
<input type="text" placeholder="Search by name" class="form-control" id="searchInput">
</div>
<div class="sidebar-title fw-bold">Categories</div>
<div id="categoryList">
<a href="#" class="d-flex text-decoration-none">Electronics</a>
<a href="#" class="d-flex text-decoration-none">Kitchenware</a>
<a href="#" class="d-flex text-decoration-none">Women outfit</a>
<a href="#" class="d-flex text-decoration-none">Sports</a>
<a href="#" class="d-flex text-decoration-none">Gamings</a>
</div>
<div class="sidebar-title">Filter by price</div>
<div class="price-filter">
<div class="price-filter-select d-flex flex-row justify-content-between">
<div class="form-group">
<select name="minPrice" class="form-select" id="minPrice">
<option value="0">0</option>
<option value="1000">1000</option>
<option value="2000">2000</option>
<option value="5000">5000</option>
<option value="10000">10000</option>
<option value="20000">20000</option>
</select>
</div>
<div class="form-group">
<select name="mixPrice" class="form-select" id="mixPrice">
<option value="0">0</option>
<option value="1000">1000</option>
<option value="2000">2000</option>
<option value="5000">5000</option>
<option value="10000">10000</option>
<option value="20000">20000</option>
</select>
</div>
</div>
<div class="price-filter-title d-flex flex-row justify-content-start">
<div id="price-filter-level-min">Max price</div>
<div id="price-filter-filter-label-max">Min price</div>
</div>
</div>
<button class="btn btn-danger clear-filter" id="clear">Clear Filters</button>
</div>
<div class="product-list-box" id="productList">
<!-- list of products -->
<a href="productDetails.html" target="_blank" class="product-item text-decoration-none d-inline-block">
<div class="product-img">
<img src="img/product.jpg" alt="">
</div>
<div class="product-name text-center">Some product</div>
<div class="product-price text-center">₹ 1000</div>
</a>
<a href="productDetails.html" target="_blank" class="product-item text-decoration-none d-inline-block">
<div class="product-img">
<img src="img/product.jpg" alt="">
</div>
<div class="product-name text-center">Some product</div>
<div class="product-price text-center">₹ 1000</div>
</a>
<a href="productDetails.html" target="_blank" class="product-item text-decoration-none d-inline-block">
<div class="product-img">
<img src="img/product.jpg" alt="">
</div>
<div class="product-name text-center">Some product</div>
<div class="product-price text-center">₹ 1000</div>
</a>
<a href="productDetails.html" target="_blank" class="product-item text-decoration-none d-inline-block">
<div class="product-img">
<img src="img/product.jpg" alt="">
</div>
<div class="product-name text-center">Some product</div>
<div class="product-price text-center">₹ 1000</div>
</a>
<a href="productDetails.html" target="_blank" class="product-item text-decoration-none d-inline-block">
<div class="product-img">
<img src="img/product.jpg" alt="">
</div>
<div class="product-name text-center">Some product</div>
<div class="product-price text-center">₹ 1000</div>
</a>
<a href="productDetails.html" target="_blank" class="product-item text-decoration-none d-inline-block">
<div class="product-img">
<img src="img/product.jpg" alt="">
</div>
<div class="product-name text-center">Some product</div>
<div class="product-price text-center">₹ 1000</div>
</a>
<a href="productDetails.html" target="_blank" class="product-item text-decoration-none d-inline-block">
<div class="product-img">
<img src="img/product.jpg" alt="">
</div>
<div class="product-name text-center">Some product</div>
<div class="product-price text-center">₹ 1000</div>
</a>
<a href="productDetails.html" target="_blank" class="product-item text-decoration-none d-inline-block">
<div class="product-img">
<img src="img/product.jpg" alt="">
</div>
<div class="product-name text-center">Some product</div>
<div class="product-price text-center">₹ 1000</div>
</a>
<a href="productDetails.html" target="_blank" class="product-item text-decoration-none d-inline-block">
<div class="product-img">
<img src="img/product.jpg" alt="">
</div>
<div class="product-name text-center">Some product</div>
<div class="product-price text-center">₹ 1000</div>
</a>
<a href="productDetails.html" target="_blank" class="product-item text-decoration-none d-inline-block">
<div class="product-img">
<img src="img/product.jpg" alt="">
</div>
<div class="product-name text-center">Some product</div>
<div class="product-price text-center">₹ 1000</div>
</a>
<a href="productDetails.html" target="_blank" class="product-item text-decoration-none d-inline-block">
<div class="product-img">
<img src="img/product.jpg" alt="">
</div>
<div class="product-name text-center">Some product</div>
<div class="product-price text-center">₹ 1000</div>
</a>
<a href="productDetails.html" target="_blank" class="product-item text-decoration-none d-inline-block">
<div class="product-img">
<img src="img/product.jpg" alt="">
</div>
<div class="product-name text-center">Some product</div>
<div class="product-price text-center">₹ 1000</div>
</a>
</div>
</div>
</div>
</div>
</div>
<script src="https://cdn.jsdelivr.net/npm/@popperjs/[email protected]/dist/umd/popper.min.js" integrity="sha384-I7E8VVD/ismYTF4hNIPjVp/Zjvgyol6VFvRkX/vR+Vc4jQkC+hVqc2pM8ODewa9r" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.min.js" integrity="sha384-BBtl+eGJRgqQAUMxJ7pMwbEyER4l1g+O15P+16Ep7Q9Q+zqX6gSbd85u4mG4QzX+" crossorigin="anonymous"></script>
</body>
</html>