-
Notifications
You must be signed in to change notification settings - Fork 1
/
admin.html
288 lines (262 loc) · 10.5 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
<!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,viewport-fit=cover">
<title>Admin</title>
<link rel="stylesheet" href="https://unicons.iconscout.com/release/v4.0.0/css/line.css">
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800&display=swap" rel="stylesheet">
<link rel="stylesheet" href="admin.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
</head>
<style>
*{margin: 0; padding: 0;}
body{background: #f5f5f5; font-family: sans-serif;}
.form-wrap{ width: 320px; background: #ffffff; padding: 40px 20px; box-sizing: border-box; position: fixed; left: 50%; top: 50%; transform: translate(-50%, -50%);}
h1{text-align: center; color: rgb(27, 58, 233); font-weight: normal; margin-bottom: 25px;}
input{width: 100%; background: none; border: 1px solid rgb(5, 12, 144); border-radius: 3px; padding: 6px 15px; box-sizing: border-box; margin-bottom: 20px; font-size: 16px; color: rgb(0, 0, 0);}
input#item-name{
margin-bottom: 25px;
}
::placeholder{color: rgb(0, 0, 0);}
.add-item-box{
box-sizing: border-box;
position: fixed;
display: inline;
text-align: center;
left: 60%;
top: 50%;
transform: translate(-70%, -70%);
padding-block-start: 15em;
padding-right: 6em;
padding-left: 6em;
}
#item-name{
padding-block: 8px;
font-size: large;
text-align:center;
border-radius: 15px;
border-block-end-width: unset;
}
#item-id{
padding-block: 8px;
font-size: large;
text-align:center;
border-radius: 15px;
border-block-end-width: unset;
}
#item-img{
padding-block: 8px;
text-align: center;
font-size: large;
border-radius: 15px;
border-block-end-width: unset;
}
#item-price{
margin-bottom: 22px;
text-align: center;
border-radius: 15px;
border-block-end-width: unset;
}
#item-category{
padding-block: 8px;
font-size: large;
text-align: center;
margin-bottom: 30px;
width: 100%;
border: 1px solid rgb(5, 12, 144);
border-block-end-width: unset;
border-radius: 25px;
height: 40px;
}
#add-item-btn{
background-color: #042cbd;
border: none;
border-radius: 40px;
color: white;
font-weight: 700;
padding: 15px 32px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 16px;
cursor: pointer;
}
h3{
margin-bottom: 25px;
font-family: 'Aclonica', sans-serif;
font-size: xx-large;
text-align: center;
}
</style>
<body>
<!-- desktop view -->
<div class="container" id="container">
<div id="menu">
<div class="title">
<a href="user.html"><img src="user images/foodie hunter.png" alt=""></a>
</div>
<div class="menu-item">
<a href="#" >Home</a>
<a href="#" id="side-menu-orders">Your Orders</a>
<a href="#" id="side-menu-cart">Cart</a>
<a href="#" id="side-menu-checkout">Checkout</a>
</div>
</div>
<div id="food-container">
<div id="header">
<div class="add-box">
<i class="fa fa-map-marker your-address" id="add-address">Enter Your Address</i>
<p id="demo"></p>
</div>
<h4>Admin Portal</h4>
<div class="right">
<div class="util">
<!-- <i class="fa fa-cart-plus" id="cart-plus">Add items</i> -->
<i class="uil uil-create-dashboard add-item" style="font-family:Poppins,sans-serif; font-style: normal;">Add item</i>
</div>
<div class="user">
<i class="fa fa-user-circle" id="circle"> Account</i>
</div>
</div>
</div>
<div id="food-items" class="d-food-items">
<div id="biryani" class="d-biryani">
<p id="category-name">Biryani</p>
</div>
<div id="chicken" class="d-chicken">
<p id="category-name">Delicious Chicken </p>
</div>
<div id="paneer" class="d-paneer">
<p id="category-name">Paneer Mania</p>
</div>
<div id="vegetable" class="d-vegetable">
<p id="category-name">Pure Veg Dishes</p>
</div>
<div id="chinese" class="d-chinese">
<p id="category-name">Chinese Corner</p>
</div>
<div id="south-indian" class="d-south-indian">
<p id="category-name">South Indian</p>
</div>
</div>
<div id="cart-page" class="cart-toggle">
<p id="cart-title">Cart Items</p>
<p id="m-total-amount">Total Amout : 100</p>
<table>
<thead>
<td>Item</td>
<td>Name</td>
<td>Quantity</td>
<td>Price</td>
</thead>
<tbody id="table-body">
</tbody>
</table>
<div class="btn-box">
<button class="cart-btn">Checkout</button>
</div>
</div>
</div>
<div class="add-item-clicked">
<div class="add-item-box">
<div class="add-item-header">
<p>Proceed item</p>
<i class="uil uil-angle-left" id="close-add-item"></i>
</div>
<div class="add-item-body">
<div class="add-item-body-left">
<div class="add-item-body-left-top">
<p>Item Name</p>
<input type="text" id="item-name">
</div>
<div class="add-item-body-left-bottom">
<p>Item Price</p>
<input type="text" id="item-price">
</div>
</div>
<div class="add-item-body-right">
<div class="add-item-body-right-top">
<p>Item Quantity</p>
<input type="text" id="item-quantity">
</div>
<div class="add-item-body-right-bottom">
<p>Item Category</p>
<select id="item-category">
<option value="biryani">Biryani</option>
<option value="chicken">Chicken</option>
<option value="paneer">Paneer</option>
<option value="vegetable">Vegetable</option>
<option value="chinese">Chinese</option>
<option value="southIndian">South Indian</option>
</select>
</div>
</div>
</div>
<div class="add-item-footer">
<button class="add-item-btn">Add Item</button>
</div>
</div>
</div>
<div id="cart">
<div class="taste-header">
</div>
<div id="category-list">
<p class="item-menu">Hunting Begins Here</p>
<div class="border"></div>
</div>
<div id="checkout" class="cart-toggle">
<p id="total-item">Total Item : 5</p>
<p id="total-price"></p>
<p id="delievery">Free delievery on order of ₹500</p>
<button class="cart-btn">Checkout</button>
</div>
</div>
</div>
<!-- mobile view -->
<div id="mobile-view" class="mobile-view">
<div class="mobile-top">
<div class="logo-box">
<img src="user images/foodielogo.png" alt="" id="logo">
<i class="fa fa-map-marker your-address" id="m-add-address"> Your Address</i>
</div>
<div class="top-menu">
<!-- <i class="fa fa-cart-plus" id="m-cart-plus"> 0</i> -->
<i class="uil uil-create-dashboard"></i>
</div>
</div>
<div class="item-container">
<div class="category-header" id="category-header">
</div>
<div id="food-items" class="food-items">
<div id="biryani" class="m-biryani">
<p id="category-name">Biryani</p>
</div>
<div id="chicken" class="m-chicken">
<p id="category-name">Chicken Delicious</p>
</div>
<div id="paneer" class="m-paneer">
<p id="category-name">Paneer Mania</p>
</div>
<div id="vegetable" class="m-vegetable">
<p id="category-name">Pure Veg Dishes</p>
</div>
<div id="chinese" class="m-chinese">
<p id="category-name">Chinese Corner</p>
</div>
<div id="south-indian" class="m-south-indian">
<p id="category-name">South Indian</p>
</div>
</div>
</div>
<div class="mobile-footer">
<p>Home</p>
<p>Cart</p>
<p>Orders</p>
<p>Checkout</p>
</div>
</div>
<script src="admin.js" type="module"></script>
</body>
</html>