-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathadd_new_product.html
More file actions
191 lines (154 loc) · 6.62 KB
/
add_new_product.html
File metadata and controls
191 lines (154 loc) · 6.62 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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Jalikoa_upload_new_product</title>
</head>
<link rel="stylesheet" href="./assets/css/fontawesome.min.css">
<link rel="stylesheet" href="./assets/css/addnewproductcss.css">
<link rel="stylesheet" href="./assets/css/styles.css">
<link rel="stylesheet" href="./assets/css/sidebar.css">
<link rel="shortcut icon" href="./assets/svgs/credit_card_39dp_000000_FILL0_wght200_GRAD0_opsz40.svg" type="image/x-icon">
<body>
<header>
<div class="logo">
<p><span>Jalikoa</span></p>
</div>
<div class="others_plus_not">
<span><svg xmlns="http://www.w3.org/2000/svg" width="30" height="30" stroke="rgba(96,96,96,0.1)" viewBox="0 0 24 24"><path d="M0 0h24v24H0z" fill="none"/> <path d="M12 22c1.1 0 2-.9 2-2h-4c0 1.1.9 2 2 2zm6-6v-5c0-3.07-1.64-5.64-4.5-6.32V4c0-.55-.45-1-1-1s-1 .45-1 1v.68C7.64 5.36 6 7.93 6 11v5l-2 2v1h16v-1l-2-2z" fill="#000"/>
</svg></span>
<span class="profDet">
</span>
</div>
</header>
<!---This is the begginning of the sidebar from the admin side ----->
<div id="sidebar">
<h4 class="acc-logo">Admin</h4>
<div class="main-sidebar-content">
<div class="sidebar-opt-active">
<img src="./assets/svgs/home_24dp_FILL0_wght400_GRAD0_opsz24.svg" alt="">
<span><a href="#">Home</a></span>
</div>
<div class="sidebar-opt">
<img src="./assets/svgs/account_circle_24dp_FILL0_wght400_GRAD0_opsz24.svg" alt="">
<span><a href="#">Account settings</a></span>
</div>
<div class="sidebar-opt">
<img src="./assets/svgs/shopping_cart_24dp_FILL0_wght400_GRAD0_opsz24.svg" alt="">
<span><a href="#">Cart</a></span>
</div>
<div class="sidebar-opt">
<img src="./assets/svgs/payments_24dp_FILL0_wght400_GRAD0_opsz24.svg" alt="">
<span><a href="#">Orders</a></span>
</div>
<div class="sidebar-opt">
<img src="./assets/svgs/user-plus.svg" alt="">
<span><a href="#">Admin assist</a></span>
</div>
<div class="sidebar-opt">
<img src="./assets/svgs/how_to_reg_24dp_FILL0_wght400_GRAD0_opsz24.svg" alt="">
<span><a href="#">Users</a></span>
</div>
<div class="sidebar-opt">
<img src="./assets/svgs/stockpot_24dp_FILL0_wght400_GRAD0_opsz24.svg" alt="">
<span><a href="#">Products</a></span>
</div>
<div class="sidebar-opt">
<img src="./assets/svgs/inventory_24dp_FILL0_wght400_GRAD0_opsz24.svg" alt="">
<span><a href="#">products stock</a></span>
</div>
<div class="sidebar-opt">
<img src="./assets/svgs/monitoring_39dp_000000_FILL0_wght200_GRAD0_opsz40.svg" alt="">
<span><a href="#">Analytics</a></span>
</div>
<div class="sidebar-opt">
<img src="./assets/svgs/trending_up_39dp_000000_FILL0_wght200_GRAD0_opsz40.svg" alt="">
<span><a href="#">History</a></span>
</div>
<div class="sidebar-opt">
<img src="./assets/svgs/sell_24dp_FILL0_wght400_GRAD0_opsz24.svg" alt="">
<span><a href="#">Sales</a></span>
</div>
<div class="sidebar-opt">
<img src="./assets/svgs/inventory_2_24dp_FILL0_wght400_GRAD0_opsz24.svg" alt="">
<span><a href="#">Optimise site</a></span>
</div>
</div>
</div>
<div class="container">
<div class="maain">
<h5>Add new Product</h5>
<div class="inputs-container">
<div class="input_container">
<span>Name:</span>
<input type="text" name="name" id="name" placeholder="Name" required></div>
<div class="input_container">
<span>Price1:</span>
<input type="number" name="price1" id="price" placeholder="Initial Price" required></div>
<div class="input_container">
<span>Price2:</span>
<input type="number" name="price2" id="price" placeholder="Current Price" required></div>
<div class="input_container">
<span>Details:</span>
<input type="text" name="description" id="description" placeholder="Description" required></div>
<input type="file" name="image1" id="img1" required>
<input type="file" name="image2" id="img2" required>
<br>
<div class="catagory_inpt">
<select name="category" id="category">
<option value=>Category</option>
<option value="Men's">Men's</option>
<option value="Women's">Women's</option>
<option value="Mechanics">Mechanics</option>
<option value="Electricals">Electricals</option>
<option value="Computers">Computers</option>
</select>
</div>
<div class="filebtns">
<button onclick="file1()">Upload Image1</button>
<button onclick="file2()">Upload Image2</button>
</div>
<center><fieldset id="imgresults">
<legend><span class="boxlabel">Uploads</span></legend>
<div id="image1">
</div>
<div id="image2">
</div>
</fieldset></center>
<center><input style="width:80px;margin-top:10px;" class="addproduct fa-beat" type="submit" value="Add"></center>
</div>
</div>
<!---This is the begginning of the other division in the admin page that is suppose to display other things such as the sale analytics---->
<div id="analytics">
<div class="products-div-analytics">
<div class="product-card">
</div>
</div>
<div class="recent-activity-analytics">
<h4>Recent Activity</h4>
<div class="pausediv purple"></div>
<div class="history-card">
Added new assist
<br>
<span>Todays <sub>5:05 am</sub> </span>
</div>
<div class="pausediv green"></div>
<div class="history-card">
Added new assist
</div>
<div class="pausediv red"></div>
<div class="history-card">
Added new assist
</div>
<div class="pausediv blue"></div>
</div>
</div>
</div>
<footer id="footerr">
<span><svg xmlns="http://www.w3.org/2000/svg" height="30px" viewBox="0 -960 960 960" width="30px" fill="#78B518"><path d="M240-200h120v-240h240v240h120v-360L480-740 240-560v360Zm-80 80v-480l320-240 320 240v480H520v-240h-80v240H160Zm320-350Z" /></svg></span>
<span><svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 -960 960 960" width="24px" fill="#78B518"><path d="M480-160q-33 0-56.5-23.5T400-240q0-33 23.5-56.5T480-320q33 0 56.5 23.5T560-240q0 33-23.5 56.5T480-160Zm0-240q-33 0-56.5-23.5T400-480q0-33 23.5-56.5T480-560q33 0 56.5 23.5T560-480q0 33-23.5 56.5T480-400Zm0-240q-33 0-56.5-23.5T400-720q0-33 23.5-56.5T480-800q33 0 56.5 23.5T560-720q0 33-23.5 56.5T480-640Z" /></svg></span>
</footer>
</body>
<script src="./assets/js/addnewproducthandler.js"></script>
</html>