-
Notifications
You must be signed in to change notification settings - Fork 0
/
admin.html
582 lines (523 loc) · 21.4 KB
/
admin.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
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Welcome Admin</title>
<link rel="icon" href="./images/favicon.jpeg" type="image/icon type">
<link rel="icon" href="" type="image/icon type">
<link rel="stylesheet" href="./styles/admin.css" />
<link rel="stylesheet" href="./styles/style.css">
<link rel="stylesheet" href="./styles/admin_productsDashboard.css">
<link rel="stylesheet" href="./styles/admin_orderTracking.css">
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=Lato&family=Rubik&display=swap"
rel="stylesheet"
/>
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.3.0/css/all.min.css"
integrity="sha512-SzlrxWUlpfuzQ+pcUCosxcglQRNAq/DZjVsC0lE40xsADsfeQoEypE+enwcOiGjk/bSuGGKHEyjSoQ1zVisanQ=="
crossorigin="anonymous"
referrerpolicy="no-referrer"
/>
<link href="https://unpkg.com/aos@2.3.1/dist/aos.css" rel="stylesheet">
</head>
<body>
<!-- welcome admin popup -->
<div class="wecome-popup">
<div class="welcome-text">
Welcome Admin <i class="fa-solid fa-face-smile"></i>
</div>
</div>
<!-- want to add new product popup -->
<div class="hii-admin-main">
<div class="hii-admin-popup">
<img src="./images/hiiAdmin.png" alt="" id="hii-admin-logo">
<div class="hii-admin-content">
<i class="fa-solid fa-circle-xmark" id="close-hii-admin"></i>
<p class="hii-admin-title">hii Admin</p>
<p>Want to add new product ?</p>
<button id="add-by-hi">ADD NEW PRODUCT</button>
</div>
</div>
</div>
<span id="dashboardScroll"></span>
<nav class="topNav">
<div class="name-logo-container">
<i class="fa-solid fa-bars" id="openMenu"></i>
<img src="./images/magna_logo_black.png" alt="" class="magna" onclick="logOutAdmin()">
</div>
<div class="nav-right-container">
<div>
<img
src="https://png.pngitem.com/pimgs/s/128-1280822_check-mark-box-clip-art-blue-admin-icon.png"
alt=""
class="admin-logo"
/>
<p>Welcome Admin</p>
<button id="log-out" onclick="logOutAdmin()">LOG OUT</button>
</div>
</div>
</nav>
<!-- popup add product form -->
<section class="form-popup-section">
<div class="popup-form">
<i class="fa-solid fa-circle-xmark" id="close-popup-form"></i>
<form id="add-product">
<input type="text" placeholder="Name" id="name" required />
<input type="text" placeholder="Image" id="image" style="width: 100%;" required />
<input type="text" placeholder="Color Icon" id="colorIcon" style="width: 100%;" required />
<select id="category" required>
<option value="tshirt">tshirt</option>
<option value="pants_shorts">pants_shorts</option>
<option value="hoodie">hoodie</option>
</select>
<input type="number" placeholder="Price" id="price" required />
<input type="text" placeholder="special" id="special" />
<textarea id="sale_message" cols="30" rows="5" placeholder="sale-message" ></textarea>
<button id="add-product" type="submit" style="background-color: #181824;">ADD</button>
</form>
</div>
</section>
<!-- hamburger -->
<section class="left-section">
<div class="logo-container">
<img src="./images/Magnawhite.png" alt="" class="magna magnaWhite" onclick="logOutAdmin()">
<i class="fa-solid fa-xmark" id="closeMenu"></i>
</div>
<div class="links-container">
<ul>
<li><a href="#dashboardScroll"><i class="fa-solid fa-cube"></i>Dashboard</a></li>
<li><a href="#usersScroll"><i class="fa-solid fa-users"></i>Users</a></li>
<li><a href="#admin_product"><i class="fa-solid fa-industry"></i></i>Products</a></li>
<li><a href="#order-tracking-page"><i class="fa-solid fa-truck-fast"></i>Orders</a></li>
<li id="open-form"><a href="#"><i class="fa-solid fa-circle-plus"></i>Add New Product</a></li>
<li id="open-form"><a href="#outTeam"><i class="fa-brands fa-teamspeak"></i>Our Team</a></li>
</ul>
</div>
<p id="settings"><i class="fa-sharp fa-solid fa-gear"></i>Settings<i class="fa-sharp fa-solid fa-angle-down"></i></p>
<p class="logoutHam" onclick="logOutAdmin()"> <i class="fa-solid fa-right-from-bracket"></i> Log Out </p>
</section>
<div class="dashboard-navigation">
<nav>
<p>Overview dashboard</p>
<span class="date-container">
18 Feb 2023 - <span id="date"> 27 Feb 2023</span>
</span>
</nav>
<hr class="lining" />
</div>
<section class="dashboard-section">
<div class="main-container">
<div class="main-left-section">
<div class="total-users-container" data-aos="fade-right" data-aos-duration="500" data-aos-delay="500">
<i class="fa-solid fa-users"></i>
<div class="count-card">
<p class="total-count" id="total-users-count">0</p>
<p class="total-count-title">Total Users</p>
</div>
</div>
<div class="total-users-container" data-aos="fade-right" data-aos-duration="500" data-aos-delay="500">
<i class="fa-solid fa-cart-shopping"></i>
<div class="count-card">
<p class="total-count" id="total-orders">0</p>
<p class="total-count-title">Total Orders</p>
</div>
</div>
<div class="total-users-container" data-aos="fade-right" data-aos-duration="500" data-aos-delay="500">
<i class="fa-solid fa-bag-shopping"></i>
<div class="count-card">
<p class="total-count" id="total-available-products">0</p>
<p class="total-count-title">Available Products</p>
</div>
</div>
</div>
<section class="right-section">
<span class="total-sale">Total Sale Price :- <span id="totalPrice">0</span></span>
<div class="cards-container"></div>
</section>
</div>
</section>
<section class="charts-section">
<div class="chart-container">
<table id="sales-chart-table"></table>
<table id="price-chart-table"></table>
</div>
<div class="most-active-users-container">
<p class="most-active-users-tag">Most Active Users</p>
<div class="users-details-container" id="most-active-users-details-container">
<div class="cards-title active-user-card-title">
<p class="most-acive-user-p">User</p>
<p class="most-acive-user-p">Id</p>
<p class="most-acive-user-p">Name</p>
<p class="most-acive-user-p">Total Orders</p>
<p class="most-acive-user-p">Total Price</p>
</div>
<div class="card animatedCard active-user-card-title" data-aos-delay="100" data-aos-duration="1000">
<img src="https://cdn-icons-png.flaticon.com/512/190/190670.png" alt="" class="active-user-avatar">
<p class="most-acive-user-p">#magna_21</p>
<p class="most-acive-user-p">Afroz Khan</p>
<p class="most-acive-user-p">34</p>
<p class="most-acive-user-p">423423</p>
</div>
</div>
</div>
</section>
<!-- users dettils -->
<section class="users-section" id="usersScroll">
<div class="users-details-container" id="users-details-container">
</div>
</section>
<!-- admin products hanler -->
<section id="admin_product">
<!-- popup box -->
<section class="editProduct-popup-section">
<div id="editPopup">
<i class="fa-solid fa-circle-xmark" id="close-popup-Editform"></i>
<form id="edit-product">
<label for="name">NAME: </label>
<input type="text" placeholder="Name" id="name">
<label for="image">IMAGE</label>
<input type="text" placeholder="Enter Image Link" id="image">
<label for="category">CATEGORY</label>
<input type="text" placeholder="Category" id="category">
<label for="tag">SPECIAL TAG</label>
<input type="text" placeholder="Special Tag" id="tag">
<label for="price">PRICE</label>
<input type="number" placeholder="Price" id="price">
<input type="submit" id="editProduct" value="SUBMIT">
</form>
</div>
</section>
<!-- header -->
<!-- content -->
<h1 class="headings">PRODUCT MANAGEMENT</h1>
<div class="swipper_container" data-aos="zoom-in">
<!-- Slides -->
<div class="swiper-slide">
<img
src="https://images.dxl.com/is/image/CasualMale/221011_DXL_PLP_CAROUSELS_4384_Polos_rugbys"
alt=""
/>
<p>Polos & Rugbys</p>
</div>
<div class="swiper-slide" id="tshirts">
<img
src="https://images.dxl.com/is/image/CasualMale/221011_DXL_PLP_CAROUSELS_4384_tshirt"
alt=""
/>
<p>T-Shirts</p>
</div>
<div class="swiper-slide">
<img
src="https://images.dxl.com/is/image/CasualMale/221011_DXL_PLP_CAROUSELS_4384_Casual_shirts"
alt=""
/>
<p>Casual Shirts</p>
</div>
<div class="swiper-slide">
<img
src="https://images.dxl.com/is/image/CasualMale/221011_DXL_PLP_CAROUSELS_4384_Graphic_Tees"
alt=""
/>
<p>Graphic Tees</p>
</div>
<div class="swiper-slide" id="hoodies">
<img
src="https://images.dxl.com/is/image/CasualMale/221011_DXL_PLP_CAROUSELS_4384_Sweatshirts"
alt=""
/>
<p>Hoodies & Sweatshirts</p>
</div>
<div class="swiper-slide">
<img
src="https://images.dxl.com/is/image/CasualMale/221011_DXL_PLP_CAROUSELS_4384_DressShirts"
alt=""
/>
<p>Dress Shirts</p>
</div>
<div class="swiper-slide">
<img
src="https://images.dxl.com/is/image/CasualMale/221011_DXL_PLP_CAROUSELS_4384_Workwear"
alt=""
/>
<p>Workwear Shirts</p>
</div>
<div class="swiper-slide" id="pants">
<img
src="https://images.dxl.com/is/image/CasualMale/221011_DXL_PLP_CAROUSELS_4384_Casual_Pants"
alt=""
/>
<p>Pants & Shorts</p>
</div>
</div>
</div>
</div>
</div>
<h1 class="headings">PRODUCT LIST</h1>
<div class="functions">
<div class="searchFunc">
<label for="search">Search</label>
<input type="text" placeholder="Search by Name or Category" id="search">
<!-- <input type="submit" id="searchSub"> -->
<i class="fa fa-search" aria-hidden="true" id="search_icon"></i>
</div>
<select name="Price" id="sortByPrice">
<option value="default">SORT BY PRICE</option>
<option value="Low to High">Low to High</option>
<option value="High to Low">High to Low</option>
</select>
</div>
<div id="displayContainer" data-aos="zoom-in">
<!-- -->
<!-- appending all products data here -->
</div>
<div class="paginationContainer">
<div id="pagination"></div>
</div>
</section>
<script src="./scripts/admin_productsDashboard.js"></script>
<!-- order tracking page starts -->
<section id="order-tracking-page">
<h1>ORDER MANAGEMENT</h1>
<nav>
<p id="all">All Orders</p>
<p id="pending">Dispatch Pending</p>
<p id="initiated">Dispatch Initiated</p>
<p id="allcompleted">Order Completed</p>
<p id="requested">Return/Exchange Requested</p>
</nav>
<hr>
<div class="functions">
<div class="searchFunc">
<label for="search">Search</label>
<input type="text" placeholder="Search by ID, Name or Order Details" id="search">
<input type="submit" id="searchSub">
<i class="fa fa-search" aria-hidden="true" id="search_icon"></i>
</div>
</div>
<table>
<thead>
<th>Customer ID</th>
<th>Customer</th>
<th style="width:30%">Order Details</th>
<th>Estimated Delivery Date</th>
<th>Order Total</th>
<th>Order Status</th>
<th>Payment Mode</th>
<!-- <th>Update Status</th> -->
</thead>
<tbody>
</tbody>
</table>
<!-- popup box -->
<section class="popupSection">
<div id="updatePopup">
<i class="fa-solid fa-circle-xmark" id="close-popup-updateform"></i>
<form id="update-order">
<h3>Update Order Status</h3>
<div class="radio">
<div>
<input type="radio" name="order-status" id="dispatchPending" value="Dispatch Pending">
<label for="dispatchPending">Dispatch Pending</label>
</div>
<div>
<input type="radio" name="order-status" id="dispatchInitiated" value="Dispatch Initiated">
<label for="dispatchInitiated">Dispatch Initiated</label>
</div>
<div>
<input type="radio" name="order-status" id="completed" value="Completed">
<label for="completed">Completed</label>
</div>
<div>
<input type="radio" name="order-status" id="request" value="Return/Exchange Requested">
<label for="request">Return/Exchange Requested</label>
</div>
</div>
<label for="completed">Estimated Date of Delivery: </label>
<input type="date" id="date-of-order">
<input type="submit" id="updateProduct" value="SUBMIT">
</form>
</div>
</section>
</section>
<script src="./scripts/admin_orderTracking.js"></script>
<!-- order page ends -->
<section class="employees-section" id="outTeam">
<p class="ourTeam">Our Team</p>
<div class="employees-container">
<div class="employeeCard" data-aos="zoom-in" data-aos-delay="50" data-aos-duration="500">
<img
src="./images/kinjal.jpg"
alt=""
/>
<p class="employeeName">Kinjal Momaya</p>
<p class="postTitle">Software Engineer
<p class="postSubtitle">Fullstack Developer</p>
</p>
<p class="role">
Server APIs, Admin product page, Orders Dashboard, Edit and Delete operations
</p>
<p class="email">kinjalmomaya99@gmail.com</p>
</div>
<div class="employeeCard" data-aos="zoom-out" data-aos-delay="100" data-aos-duration="1000">
<img
src="./images/gaurav.jpg"
alt=""
/>
<p class="employeeName">Gaurav Shukla</p>
<p class="postTitle">Software Engineer
<p class="postSubtitle">Fullstack Developer</p>
</p>
<p class="role">
Product page, Add to Cart, Filters, Login and SignUp forms, Navigation bar
</p>
<p class="email">gauravshukla.ec1022@gmail.com</p>
</div>
<div class="employeeCard" data-aos="zoom-in" data-aos-delay="100" data-aos-duration="700">
<img
src="./images/akaka.jpeg"
alt=""
/>
<p class="employeeName">Afroz Khan</p>
<p class="postTitle">Software Engineer
<p class="postSubtitle">Fullstack Developer</p>
</p>
<p class="role">
JSON files, Admin dashboard, Admin users, Admin employees, Add new product operation
</p>
<p class="email">afrozsaifi80@gmail.com</p>
</div>
<div class="employeeCard" data-aos="zoom-out" data-aos-delay="100" data-aos-duration="1000">
<img
src="./images/hemant.jpg"
alt=""
/>
<p class="employeeName">Hemant Singh Bangari</p>
<p class="postTitle">Software Engineer
<p class="postSubtitle">Fullstack Developer</p>
</p>
<p class="role">
Cart page, View product page, Checkout order operation, Order Status
</p>
<p class="email">hemant2307sb@gmail.com</p>
</div>
<div class="employeeCard" data-aos="zoom-in" data-aos-delay="100" data-aos-duration="1000">
<img
src="./images/sweta.jpg"
alt=""
/>
<p class="employeeName">Sweta Singh</p>
<p class="postTitle">Software Engineer
<p class="postSubtitle">Fullstack Developer</p>
</p>
<p class="role">
Home page footer
</p>
<p class="email">sweta235410@gmail.com</p>
</div>
</div>
</section>
<section class="footer-section">
<footer>
<div class="row">
<div class="col-3">
<div class="link-cat" onclick="footerToggle(this)">
<span class="footer-toggle"></span>
<span class="footer-cat">CUSTOMER SUPPORT</span>
</div>
<ul class="footer-cat-links">
<li><a href=""><span>Curbside Pickup</span></a></li>
<li><a href=""><span>DXL Deals</span></a></li>
<li><a href=""><span>DXL Rewards Club</span></a></li>
<li><a href=""><span>Find a Wish List</span></a></li>
<li><a href=""><span>Shipping & Delivery</span></a></li>
</ul>
</div>
<div class="col-3">
<div class="link-cat" onclick="footerToggle(this)">
<span class="footer-toggle"></span>
<span class="footer-cat">CONTACT US</span>
</div>
<ul class="footer-cat-links">
<li><a href=""><span>Customer Service</span></a></li>
<li><a href=""><span>Chat Now</span></a></li>
<li><a href=""><span>Email Us</span></a></li>
<li><a href=""><span>1.855.746.7395</span></a></li>
<li><a href=""><span>Find a Store</span></a></li>
</ul>
</div>
<div class="col-3">
<div class="link-cat" onclick="footerToggle(this)">
<span class="footer-toggle"></span>
<span class="footer-cat">Quick Links</span>
</div>
<ul class="footer-cat-links">
<li><a href=""><span>Reviews</span></a></li>
<li><a href=""><span>Terms & Condition</span></a></li>
<li><a href=""><span>Disclaimer</span></a></li>
<li><a href=""><span>Site Map</span></a></li>
</ul>
</div>
<div class="col-3" id="newsletter">
<span>SIGN UP FOR OUR VERY BEST DEALS</span>
<form id="subscribe">
<input type="email" id="subscriber-email" placeholder="Enter Email Address"/>
<input type="submit" value="Subscribe" id="btn-scribe"/>
</form>
<div class="social-links social-2">
<a href=""><i class="fab fa-facebook-f"></i></a>
<a href=""><i class="fab fa-twitter"></i></a>
<a href=""><i class="fab fa-linkedin-in"></i></a>
<a href=""><i class="fab fa-instagram"></i></a>
<a href=""><i class="fab fa-tumblr"></i></a>
<a href=""><i class="fab fa-reddit-alien"></i></a>
</div>
<div id="address">
<span>Office Location</span>
<ul>
<li>
<i class="far fa-building"></i>
<div>Los Angeles<br/>
(310) 390-3845
5905 Sepulveda Boulevard
Culver City, CA 90230</div>
</li>
<li>
<i class="fas fa-gopuram"></i>
<div>Delhi<br/>
Office 150B, Behind Sana Gate Char Bhuja Tower, Station Road, Delhi</div>
</li>
</ul>
</div>
</div>
<div class="social-links social-1 col-6">
<a href=""><i class="fab fa-facebook-f"></i></a>
<a href=""><i class="fab fa-twitter"></i></a>
<a href=""><i class="fab fa-linkedin-in"></i></a>
<a href=""><i class="fab fa-instagram"></i></a>
<a href=""><i class="fab fa-tumblr"></i></a>
<a href=""><i class="fab fa-reddit-alien"></i></a>
</div>
</div>
<div id="copyright">
All Rights Reserved 2011-2023
</div>
<div id="owner">
<span>
Destination XL Group, Inc. All Rights Reserved.
</span>
</div>
</footer>
</section>
</body>
<script src="./scripts/admin.js"></script>
<script src="https://unpkg.com/aos@2.3.1/dist/aos.js"></script>
<script>
AOS.init();
</script>
</html>