forked from kunalb28/shopping-cart-html
-
Notifications
You must be signed in to change notification settings - Fork 0
/
category-list.html
217 lines (211 loc) · 8.14 KB
/
category-list.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
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<!-- Bootstrap CSS -->
<link
href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css"
rel="stylesheet"
integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3"
crossorigin="anonymous"
/>
<link rel="stylesheet" href="./style.css" />
<title>Category List</title>
</head>
<body>
<!--Main Navigation-->
<header>
<!-- Sidebar -->
<nav
class="d-lg-block sidebar collapse position-fixed top-0 start-0 bottom-0 bg-white"
>
<div class="position-sticky">
<div class="list-group list-group-flush mx-3 mt-4">
<ul class="nav nav-pills flex-column mb-auto">
<li>
<a
href="order-list.html"
class="nav-link text-dark"
aria-current="page"
>
Orders
</a>
</li>
<li class="">
<a href="product.html" class="nav-link text-dark"> Products </a>
</li>
<li>
<a href="customer.html" class="nav-link text-dark"> User </a>
</li>
<li class="nav-item">
<a
href="category-list.html"
class="nav-link active"
aria-current="page"
>
Category
</a>
</li>
</ul>
</div>
</div>
</nav>
<!-- Sidebar -->
<!-- Navbar -->
<nav
id="main-navbar"
class="navbar navbar-expand-lg navbar-light bg-white fixed-top"
>
<!-- Container wrapper -->
<div class="container-fluid">
<h2>Admin</h2>
<div class="nav-item user-dropdown position-relative pe-4 dropdown">
<a
class="nav-link p-0 overflow-hidden rounded-circle"
href="#"
id="navbarDropdown"
role="button"
data-bs-toggle="dropdown"
aria-expanded="false"
>
<img src="./male-04.jpeg" width="40" height="40" />
</a>
<div class="card position-absolute end-0">
<ul class="nav flex-column mb-3">
<li class="nav-item">
<a class="nav-link text-secondary" href="#">Profile</a>
</li>
<li class="nav-item">
<a class="nav-link text-secondary" href="#">Logout</a>
</li>
</ul>
</div>
</div>
</div>
<!-- Container wrapper -->
</nav>
<!-- Navbar -->
</header>
<!--Main Navigation-->
<!--Main layout-->
<main style="margin-top: 58px">
<div class="container pt-4">
<div class="mb-5">
<h3>Category Lists</h3>
</div>
<div class="mb-4">
<div class="row">
<div class="col-md-5">
<form class="d-none d-md-flex input-group w-auto my-auto">
<input
autocomplete="off"
type="search"
class="form-control rounded"
placeholder="Search"
style="min-width: 225px"
/>
<span class="input-group-text border-0">Search</span>
</form>
</div>
<div class="col-md-7">
<div class="text-end">
<a href="add-category.html" class="btn btn-primary">
Create Category
</a>
</div>
</div>
</div>
</div>
<table class="table table-hover">
<thead>
<tr>
<th scope="col">Id</th>
<th scope="col">Image</th>
<th scope="col">Title</th>
<th scope="col">Description</th>
<th scope="col" class="text-end">Actions</th>
</tr>
</thead>
<tbody>
<tr>
<th scope="row" class="align-middle">1</th>
<td class="align-middle">
<div class="img-container">
<img
src="https://www.shore.co.uk/media/catalog/product/cache/1/image/9df78eab33525d08d6e5fb8d27136e95/C/T/CTESC4RUa.jpg"
alt="product"
class="img-fluid"
width="120"
height="120"
/>
</div>
</td>
<td class="align-middle" width="20%">T-shirt</td>
<td class="align-middle" width="30%">Lorem ipsum, dolor sit amet consectetur adipisicing elit. Doloribus soluta sequi quos reiciendis ipsum assumenda tempore, distinctio, error eaque, rem adipisci pariatur recusandae! Ipsam atque neque laboriosam accusantium dolorum quisquam.</td>
<td class="align-middle text-end">
<a href="add-category.html" class="btn btn-primary">Edit</a>
<button type="button" class="btn btn-danger">Delete</button>
</td>
</tr>
<tr>
<th scope="row" class="align-middle">2</th>
<td class="align-middle">
<div class="img-container">
<img
src="https://www.shore.co.uk/media/catalog/product/cache/1/image/9df78eab33525d08d6e5fb8d27136e95/C/T/CTESC4RUa.jpg"
alt="product"
class="img-fluid"
width="120"
height="120"
/>
</div>
</td>
<td class="align-middle"width="20%">Shirt</td>
<td class="align-middle" width="30%">Lorem ipsum, dolor sit amet consectetur adipisicing elit. Doloribus soluta sequi quos reiciendis ipsum assumenda tempore, distinctio, error eaque, rem adipisci pariatur recusandae! Ipsam atque neque laboriosam accusantium dolorum quisquam.</td>
<td class="align-middle text-end">
<a href="add-category.html" class="btn btn-primary">Edit</a>
<button type="button" class="btn btn-danger">Delete</button>
</td>
</tr>
<tr>
<th scope="row" class="align-middle">3</th>
<td class="align-middle">
<div class="img-container">
<img
src="https://www.shore.co.uk/media/catalog/product/cache/1/image/9df78eab33525d08d6e5fb8d27136e95/C/T/CTESC4RUa.jpg"
alt="product"
class="img-fluid"
width="120"
height="120"
/>
</div>
</td>
<td class="align-middle" width="20%">Shoes</td>
<td class="align-middle" width="30%">Lorem ipsum, dolor sit amet consectetur adipisicing elit. Doloribus soluta sequi quos reiciendis ipsum assumenda tempore, distinctio, error eaque, rem adipisci pariatur recusandae! Ipsam atque neque laboriosam accusantium dolorum quisquam.</td>
<td class="align-middle text-end">
<a href="add-category.html" class="btn btn-primary">Edit</a>
<button type="button" class="btn btn-danger">Delete</button>
</td>
</tr>
</tbody>
</table>
<div class="text-end mb-4">
<nav aria-label="Page navigation example">
<ul class="pagination justify-content-end">
<li class="page-item">
<a class="page-link" href="#">Previous</a>
</li>
<li class="page-item"><a class="page-link" href="#">1</a></li>
<li class="page-item"><a class="page-link" href="#">2</a></li>
<li class="page-item"><a class="page-link" href="#">3</a></li>
<li class="page-item"><a class="page-link" href="#">Next</a></li>
</ul>
</nav>
</div>
</div>
</main>
<!--Main layout-->
</body>
</html>