-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhome.html
289 lines (287 loc) · 9.98 KB
/
home.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
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<title>Procuct Management System</title>
<link
rel="stylesheet"
href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css"
integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T"
crossorigin="anonymous"
/>
<link
rel="stylesheet"
href="https://use.fontawesome.com/releases/v5.7.2/css/all.css"
integrity="sha384-fnmOCqbTlWIlj8LyTjo7mOUStjsKC4pOpQbqyi7RrhN7udi9RwhKkMHpvLbHG9Sr"
crossorigin="anonymous"
/>
<link rel="stylesheet" href="css/style.css" />
</head>
<body>
<header>
<nav class="navbar navbar-expand-lg px-4">
<a class="navbar-brand" href="home.html"
><img src="img/logo.svg" alt=""
/></a>
<button
class="navbar-toggler"
type="button"
data-toggle="collapse"
data-target="#myNav"
>
<span class="toggler-icon"><i class="fas fa-bars"></i></span>
</button>
<div class="collapse navbar-collapse" id="myNav">
<ul class="navbar-nav mx-auto text-capitalize">
<li class="nav-item">
<!-- -->
</li>
</ul>
<ul class="navbar-nav mx-auto text-capitalize">
<li class="nav-item">
<a class="nav-link " href="#">Logout</a>
</li>
</ul>
</div>
</nav>
<!-- banner -->
<div class="container-fluid">
<div class="row max-height justify-content-center align-items-center">
<div class="col-10 mx-auto banner text-center">
<h1 class="text-capitalize">
welcome to <strong class="banner-title ">ProdMag</strong>
</h1>
<a href="#store" class="btn banner-link text-uppercase my-2"
>inventory</a
>
</div>
</div>
</div>
</header>
<!-- welcome -->
<section class="about py-5" id="about">
<div class="container">
<div class="row">
<div class="col-10 mx-auto col-md-6 my-5">
<h1 class="text-capitalize">
Welcome <strong class="banner-title ">David</strong>
</h1>
<p class="my-4 text-muted w-75">
ProdMag helps your keep track of your next business sales and
product, by our inbuilt automated system, that helps your record a
new product for sale, with our flexible system for re-editing a
product in stock, To view your inventory click here
</p>
<a
href="inventory.html"
class="btn btn-outline-secondary btn-black text-uppercase "
>see full stock</a
>
</div>
<div class="col-10 mx-auto col-md-6 align-self-center my-5">
<div class="about-img__container">
<img src="img/sweets-1.jpeg" class="img-fluid" alt="" />
</div>
</div>
</div>
</div>
</section>
<!-- store -->
<section id="store" class="store py-5">
<div class="container">
<!-- section title -->
<div class="row">
<div class="col-10 mx-auto col-sm-6 text-center">
<h1 class="text-capitalize">
Add
<a
class="nav-link"
href="#"
data-toggle="modal"
data-target="#exampleModal"
><strong class="banner-title ">Product</strong></a
>
</h1>
</div>
</div>
<!-- end of section title -->
<!--filter buttons -->
<div class="row">
<div
class=" col-lg-8 mx-auto d-flex justify-content-around my-2 sortBtn flex-wrap"
>
<a
href="#"
class="btn btn-outline-secondary btn-black text-uppercase filter-btn m-2"
data-filter="cakes"
id="computing"
>computing</a
>
<a
href="#"
class="btn btn-outline-secondary btn-black text-uppercase filter-btn m-2"
id="grocery"
>grocery</a
>
<a
href="#"
class="btn btn-outline-secondary btn-black text-uppercase filter-btn m-2"
id="fashion"
>fashion</a
>
<a
href="#"
class="btn btn-outline-secondary btn-black text-uppercase filter-btn m-2"
id="electronics"
>electronics</a
>
</div>
</div>
<!-- search box -->
<div class="row">
<div class="col-10 mx-auto col-md-6">
<form>
<div class="input-group mb-3">
<div class="input-group-prepend ">
<span class="input-group-text search-box" id="search-icon"
><i class="fas fa-search"></i
></span>
</div>
<input
type="text"
class="form-control"
placeholder="search by product name...."
id="search-item"
required
/>
</div>
</form>
</div>
</div>
<!--end of filter buttons -->
<!-- store items-->
<div class="row" class="store-items" id="store-items"></div>
<!--end of single store item-->
<!-- single item -->
</div>
</section>
<!--end of store items -->
<!--start of registration modal -->
<!-- Modal -->
<div
class="modal fade"
id="exampleModal"
tabindex="-1"
role="dialog"
aria-labelledby="exampleModalLabel"
aria-hidden="true"
>
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="exampleModalLabel">Product details</h5>
<button
type="button"
class="close"
data-dismiss="modal"
aria-label="Close"
>
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<form method="post">
<div class="form-group">
<label for="formGroupExampleInput">Name</label>
<input
type="text"
class="form-control"
id="name"
placeholder="Name of product"
required
/>
<label for="formGroupExampleInput">Price</label>
<input
type="text"
class="form-control"
id="price"
placeholder="Price of product $34"
required
/>
<label for="formGroupExampleInput">Quantity</label>
<input
type="text"
class="form-control"
id="prodQaun"
placeholder="Quantity of the product 34"
required
/>
<label for="formGroupExampleInput">Product description</label>
<input
type="text"
class="form-control"
id="describe"
placeholder="A little discription of the product"
required
/>
<label for="formGroupExampleInput">Image for product</label>
<input
type="text"
class="form-control"
id="imgLnk"
placeholder="Please input an online resource of product image here"
required
/>
<div class="form-group">
<label for="exampleFormControlSelect1"
>Product category</label
>
<select class="form-control" id="catId">
<option>computing</option>
<option>grocery</option>
<option>fashion</option>
<option>electronics</option>
</select>
</div>
</div>
</form>
</div>
<div class="modal-footer">
<button
type="button"
class="btn btn-secondary"
data-dismiss="modal"
>
Close
</button>
<button
id="newProduct"
type="button"
class="btn btn-primary"
data-dismiss="modal"
>
Save product
</button>
</div>
</div>
</div>
</div>
<!--end of registration modal -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.js"></script>
<script
src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js"
integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1"
crossorigin="anonymous"
></script>
<script
src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js"
integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM"
crossorigin="anonymous"
></script>
<script src="https://unpkg.com/sweetalert/dist/sweetalert.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/sweetalert2@8"></script>
<script src="js/main.js"></script>
</body>
</html>