-
Notifications
You must be signed in to change notification settings - Fork 0
/
admin_dashboard.html
239 lines (196 loc) · 14 KB
/
admin_dashboard.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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="A web application that helps store owners manage sales and product inventory records.">
<meta name="keywords" content="Store Manager">
<title>Store Manager | Welcome</title>
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css" integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU" crossorigin="anonymous">
<link rel="stylesheet" href="css/style.css">
<link rel="icon" type="image/ico" sizes="32x32" href="img/favicon.ico">
</head>
<body>
<nav class="navbar">
<span class="open-slide">
<a href="#" id="openslidemenu" onclick="openSlideMenu()">
<svg width="30" height="30">
<path d="M0,5 30,5" stroke="#ffffff"
stroke-width="5"/>
<path d="M0,14 30,14" stroke="#ffffff"
stroke-width="5"/>
<path d="M0,23 30,23" stroke="#ffffff"
stroke-width="5"/>
</svg>
</a></span>
<ul>
<li><a href="store_attendant_profile.html" style="padding-top: 10px"><div><img id="userimg" src="../assets/uploads/users/default-avatar.png"> </div></a></li>
<li id="shoppingcart"><a href="#"><label id="shoppingcartlabel">0</label ><img id="cartimage" src="img/cart.png"></a></li>
<li><a href="#"><div><input class="search" placeholder="Search Products" type="text"> <i id="searchimg" class="fas fa-search fa-2x"></i> </div></a></li>
<li id="appnameli"><a href="dashboard.html"><h1 id="appname"><span class="highlight">Store</span> Manager</h1></a></li>
</ul>
</nav>
<div id="side-menu" class="side-nav">
<a href="#" class="btn-close" onclick="closeSlideMenu()">×</a>
<li class="current"><a href="admin_dashboard.html">Dashboard</a></li>
<li><a href="admin_create_product.html">Create Product</a></li>
<li><a href="admin_view_products.html">View Products</a></li>
<li><a href="admin_create_sales_attendant.html">Create Sales Attendant</a></li>
<li><a href="admin_view_sales.html">View Sales</a></li>
<li><a href="admin_category.html">Category</a></li>
<li><a href="index.html">Logout</a></li>
</div>
<div id="main">
<div class="container">
<section id="topcards">
<div class="container topcardsgroup">
<div class="topcardsbox">
<div class="showcasecard c1">
<h3 style="margin-bottom: 50px;">Top Selling Product</h3>
<div class="" style="margin-bottom: 50px;">
<i class="fas fa-fire fa-4x"></i>
<h2 style="margin-bottom: 50px;">iPhone Xs</h2>
</div>
</div>
</div>
<div class="topcardsbox">
<div class="showcasecard c1" >
<h3 style="margin-bottom: 50px;">Total Products Sold </h3>
<div class="" style="margin-bottom: 50px;">
<i class="fas fa-chart-line fa-4x"></i>
<h2 style="margin-bottom: 50px;">850</h2>
</div>
</div>
</div>
<div class="topcardsbox">
<div class="showcasecard c1">
<h3 style="margin-bottom: 50px;">Total Goods Sold Worth</h3>
<div class="" style="margin-bottom: 50px;">
<i class="fas fa-chart-bar fa-4x"></i>
<h2 style="margin-bottom: 50px;">$30,322.53</h2>
</div>
</div>
</div>
</div>
</section>
</div>
<section id="productsection">
<div class="container">
<div class="cardgroup">
<div class="card">
<a href="view_product_details.html"><img src="img/gpixel2.png" class="cardimg"></a>
<div class="text-center cardbody" >
<h3 id="productname" data-name="Google Pixel 2">Google Pixel 2</h3>
<p>The Google Pixel 2 is powered by 1.9GHz octa-core </p>
<p>Quantity: 3</p>
<p id="productamount">Price: $649</p>
<input type="number" id="number" name="amount" placeholder="Quantity" >
<button class="button_1" onclick="addtocart('Google Pixel 2', '$649')">Add To Cart</button>
</div>
</div>
<div class="card">
<a href="view_product_details.html"><img src="img/gpixel3.png" class="cardimg"></a>
<div class="text-center cardbody" >
<h3 id="productname" data-name="Google Pixel 2">Google Pixel 3</h3>
<p>The Pixel 3 is the latest causality. Wireless charging is.. </p>
<p>Quantity: 3</p>
<p id="productamount">Price: $649</p>
<input type="number" id="number" name="amount" placeholder="Quantity" >
<button class="button_1" onclick="addtocart('Google Pixel 2', '$649')">Add To Cart</button>
</div>
</div>
<div class="card">
<a href="view_product_details.html"><img src="img/iphonexs.png" class="cardimg"></a>
<div class="text-center cardbody" >
<h3 id="productname" data-name="Google Pixel 2">Iphone XS</h3>
<p>The iPhone XS display has rounded corners that... </p>
<p>Quantity: 3</p>
<p id="productamount">Price: $1500</p>
<input type="number" id="number" name="amount" placeholder="Quantity" >
<button class="button_1" onclick="addtocart('Google Pixel 2', '$649')">Add To Cart</button>
</div>
</div>
<div class="card">
<a href="view_product_details.html"><img src="img/iphonex.png" class="cardimg"></a>
<div class="text-center cardbody" >
<h3 id="productname" data-name="Google Pixel 2">IPhone X</h3>
<p>The phone comes with a 5.80-inch touchscreen display </p>
<p>Quantity: 3</p>
<p id="productamount">Price: $890</p>
<input type="number" id="number" name="amount" placeholder="Amount" >
<button class="button_1" onclick="addtocart('Google Pixel 2', '$649')">Add To Cart</button>
</div>
</div>
<div class="card">
<a href="view_product_details.html"><img src="img/macbookair2018.png" class="cardimg"></a>
<div class="text-center cardbody" >
<h3 id="productname">MacBook Air 2018</h3>
<p>The MacBook Air 2018 drastically improves on the processor... </p>
<p>Stock: 3</p>
<p id="productamount">Price: $1,190</p>
<input type="number" id="number" name="amount" placeholder="Quantity" >
<button class="button_1" onclick="addtocart('Google Pixel 2', '$649')">Add To Cart</button>
</div>
</div>
<div class="card">
<a href="view_product_details.html"><img src="img/mackbookpro13inch.png" class="cardimg"></a>
<div class="text-center cardbody" >
<h3 id="productname" data-name="Google Pixel 2">13-inch MacBook Pro</h3>
<p>Turbo Boost up to 3.6GHz, Intel Iris Plus Graphics 640...</p>
<p>Stock: 34</p>
<p id="productamount">Price: $1,499</p>
<input type="number" id="number" name="amount" placeholder="Quantity" >
<button class="button_1" onclick="addtocart('Google Pixel 2', '$649')">Add To Cart</button>
</div>
</div>
<div class="card">
<a href="view_product_details.html"><img src="img/imac.png" class="cardimg"></a>
<div class="text-center cardbody" >
<h3 id="productname" data-name="Google Pixel 2">Iphone XS</h3>
<p>2.3GHz dual-core 7th-generation Intel Core i5 processor...</p>
<p>Stock: 90</p>
<p id="productamount">Price: $1500</p>
<input type="number" id="number" name="amount" placeholder="Quantity" >
<button class="button_1" onclick="addtocart('Google Pixel 2', '$649')">Add To Cart</button>
</div>
</div>
<div class="card">
<a href="view_product_details.html"><img src="img/lenovo14.png" class="cardimg"></a>
<div class="text-center cardbody" >
<h3 id="productname" data-name="Google Pixel 2">Lenovo flex 6</h3>
<p>Value-conscious without sacrificing performance, the stylish... </p>
<p>Stock: 300</p>
<p id="productamount">Price: $899</p>
<input type="number" id="number" name="amount" placeholder="Quantity" >
<button class="button_1" onclick="addtocart('Google Pixel 2', '$649')">Add To Cart</button>
</div>
</div>
</div>
</div>
</section>
</div>
<div id="myModal" class="modal">
<!-- Modal content -->
<div class="modal-content" id="cartmodaldiv">
<span class="close">×</span>
<table >
<thead>
<th>PRODUCT</th>
<th>AMOUNT</th>
<th>QUANTITY</th>
</thead>
<tbody id="carttablebody"></tbody>
</table>
<br>
<div class="text-center">
<button class="button_1">BUY</button>
<button class="button_1" id="clear" onclick="clearCart()">CLEAR</button>
</div>
</div>
</div>
<footer id="footer">
<p>Store Manager Copyright © 2018</p>
</footer>
<script src="js/main.js"></script>
</body>
</html>