-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathadmin.html
More file actions
296 lines (296 loc) · 10.3 KB
/
Copy pathadmin.html
File metadata and controls
296 lines (296 loc) · 10.3 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<link rel="stylesheet" href="./styles/admin.css" />
<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>UBORIC</title>
<script
src="https://kit.fontawesome.com/9ee73fa7e8.js"
crossorigin="anonymous"
></script>
</head>
<body>
<div id="hari_container">
<div id="hari_admin_sidebar">
<div>
<div id="hari_admin_to_homepage">
<img
src="https://i.ibb.co/YhqGBny/IMG-20221109-002722-757-01.jpg"
alt="image is broken"
/>
</div>
</div>
<div id="hari_admin_order_btn">
<div>
<svg
xmlns:xlink="http://www.w3.org/1999/xlink"
width="18"
height="18"
viewBox="0 0 24 24"
fill="none"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M12 3V21"
stroke="#111827"
stroke-width="1.5px"
stroke-linecap="round"
stroke-linejoin="round"
fill="none"
></path>
<path
d="M17 6H9.5C8.57174 6 7.6815 6.31607 7.02513 6.87868C6.36875 7.44129 6 8.20435 6 9C6 9.79565 6.36875 10.5587 7.02513 11.1213C7.6815 11.6839 8.57174 12 9.5 12H14.5C15.4283 12 16.3185 12.3161 16.9749 12.8787C17.6313 13.4413 18 14.2044 18 15C18 15.7956 17.6313 16.5587 16.9749 17.1213C16.3185 17.6839 15.4283 18 14.5 18H6"
stroke="#111827"
stroke-width="1.5px"
stroke-linecap="round"
stroke-linejoin="round"
fill="none"
></path>
</svg>
</div>
<p>Orders</p>
</div>
<div id="hari_admin_products_btn">
<div>
<svg
xmlns:xlink="http://www.w3.org/1999/xlink"
width="18"
height="18"
viewBox="0 0 24 24"
fill="coral"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M20.4843 14.1202L14.1264 20.4797C13.9617 20.6447 13.7661 20.7755 13.5509 20.8648C13.3356 20.9541 13.1048 21 12.8717 21C12.6387 21 12.4079 20.9541 12.1926 20.8648C11.9773 20.7755 11.7817 20.6447 11.617 20.4797L4 12.8696V4H12.8673L20.4843 11.619C20.8146 11.9514 21 12.401 21 12.8696C21 13.3383 20.8146 13.7879 20.4843 14.1202V14.1202Z"
stroke="coral"
stroke-width="1.5px"
stroke-linecap="round"
stroke-linejoin="round"
fill="none"
></path>
<path
d="M9 9H9.01006"
stroke="coral"
stroke-width="1.5px"
stroke-linecap="round"
stroke-linejoin="round"
fill="none"
></path>
</svg>
</div>
<p>Products</p>
</div>
</div>
<div id="hari_admin_data">
<div id="hari_admin_right_upper">
<div>
<svg
xmlns:xlink="http://www.w3.org/1999/xlink"
width="24"
height="24"
viewBox="0 0 24 24"
fill="none"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M12 21C16.9706 21 21 16.9706 21 12C21 7.02944 16.9706 3 12 3C7.02944 3 3 7.02944 3 12C3 16.9706 7.02944 21 12 21Z"
stroke="#111827"
stroke-width="1.5px"
stroke-linecap="round"
stroke-linejoin="round"
fill="none"
></path>
<path
d="M9.08594 9.03573C9.32104 8.36739 9.78509 7.80383 10.3959 7.44486C11.0067 7.08588 11.7248 6.95466 12.4231 7.07444C13.1214 7.19421 13.7548 7.55725 14.211 8.09925C14.6673 8.64126 14.917 9.32725 14.9159 10.0357C14.9159 12.0357 11.9159 13.0357 11.9159 13.0357"
stroke="#111827"
stroke-width="1.5px"
stroke-linecap="round"
stroke-linejoin="round"
fill="none"
></path>
<path
d="M11.9961 16.4316H12.0061"
stroke="#111827"
stroke-width="2px"
stroke-linecap="round"
stroke-linejoin="round"
fill="none"
></path>
</svg>
</div>
<div>
<svg
xmlns:xlink="http://www.w3.org/1999/xlink"
width="24"
height="24"
viewBox="0 0 24 24"
fill="none"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M14 20C13.7968 20.3042 13.505 20.5566 13.154 20.7321C12.803 20.9076 12.4051 21 12 21C11.5949 21 11.197 20.9076 10.846 20.7321C10.495 20.5566 10.2032 20.3042 10 20"
stroke="#111827"
stroke-width="1.5px"
stroke-linecap="round"
stroke-linejoin="round"
fill="none"
></path>
<path
d="M17.3333 8.2C17.3333 6.82087 16.7714 5.49823 15.7712 4.52304C14.771 3.54786 13.4145 3 12 3C10.5855 3 9.22896 3.54786 8.22876 4.52304C7.22857 5.49823 6.66667 6.82087 6.66667 8.2C6.66667 14.2667 4 16 4 16H20C20 16 17.3333 14.2667 17.3333 8.2Z"
stroke="#111827"
stroke-width="1.5px"
stroke-linecap="round"
stroke-linejoin="round"
fill="none"
></path>
</svg>
</div>
</div>
<!-- A -->
<div id="hari_admin_right_lower_a">
<div id="hari_admin_right_lower_a_inner">
<p id="name_of_admin_option">Orders</p>
<div id="hari_filter_orders">
<p>Filter</p>
<button>Completed</button> <button>Pending</button>
</div>
<table id="hari_admin_order_table">
<thead>
<tr>
<th>Order</th>
<th>Date Added</th>
<th>Customer</th>
<th>Title</th>
<th>Fulfillment</th>
<th>Payment Status</th>
<th>Total</th>
</tr>
</thead>
<tbody id="tbody">
<tr>
<td>#1</td>
<td>20Sep 2021</td>
<td>Lebron James</td>
<td>Jacket</td>
<td>partially_returned</td>
<td>paid</td>
<td>Rs 160.00</td>
</tr>
</tbody>
</table>
</div>
</div>
<!-- B -->
<div id="hari_admin_right_lower_b">
<div id="hari_admin_right_lower_b_inner">
<div id="hari_admin_products_top_bar">
<p>Products</p>
<div id="add_products_bar">
<div id="add_products_btn">
<i class="fa-solid fa-plus"></i>
<p>Add Products</p>
</div>
</div>
</div>
<div id="hari_filter_orders">
<p>Filter</p>
<button>Unpublished</button>
</div>
<table id="hari_admin_order_table">
<thead>
<tr>
<th>Category</th>
<th>Availabliy</th>
<th>Inventory</th>
</tr>
</thead>
<tbody>
<tr>
<td>Clothing</td>
<td>Available</td>
<td id="hari_inventory_quantity"></td>
</tr>
</tbody>
</table>
<!-- appending added data -->
<div id="ak-append-con">
<div><h3 id="ak-text">Recent Added Products</h3></div>
<div id="ak-pro-append"></div>
</div>
</div>
</div>
<!-- C -->
<div id="hari_admin_right_lower_c">
<div id="hari_admin_right_lower_c_inner">
<div id="desc_box_a">
<h3>General</h3>
<p>To start selling, all you need, price, and image</p>
</div>
<!-- ALL INPUT -->
<div id="hari_addProduct_box_a">
<input type="text" id="title_of_product" placeholder="Title" />
<input
type="text"
id="category_of_product"
placeholder="Category"
/>
</div>
<!-- -->
<div id="hari_addProduct_desc_a">
<p>
Give your product a short and clear description. 120-160
characters is the recommended length for search engines.
</p>
</div>
<!-- -->
<div id="hari_addProduct_box_b">
<input
type="text"
id="subtitle_of_product"
placeholder="Subtitle"
/>
</div>
<!-- -->
<div id="hari_addProduct_box_c">
<input
type="text"
id="sizes_of_product"
placeholder="Sizes (Seperated with space)"
/>
</div>
<!-- -->
<!-- -->
<div id="hari_addProduct_box_d">
<input
type="text"
id="striked_price_of_product"
placeholder="Striked price"
/>
<input
type="text"
id="discount_of_product"
placeholder="Discount"
/>
<input type="text" id="price_of_product" placeholder="Price" />
</div>
<!-- -->
<div id="hari_addProduct_img_box_e">
<label id="img_of_product">
<input type="file" id="choose_image" />
Choose Image
</label>
</div>
<!-- -->
<div id="hari_submit_data_button">Submit Data</div>
<!-- -->
</div>
</div>
<!-- -->
</div>
</div>
</body>
</html>
<script src="./scripts/admin.js"></script>
<script src="./Scripts/append.js"></script>