forked from rvutd/mit-canteen-site
-
Notifications
You must be signed in to change notification settings - Fork 0
/
admin-side.html
146 lines (131 loc) · 5.94 KB
/
admin-side.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
<!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>Mit Canteen | Sie</title>
<!-- Page Icon -->
<link rel="Micosoft icon" href="assets/images/MIT LOGO.png">
<!-- Font Awesome -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.2/css/all.min.css"
integrity="sha512-HK5fgLBL+xu6dm/Ii3z4xhlSUyZgTT9tuc/hSrtw6uzJOvgRr2a9jyxxT1ely+B+xFAmJKVSTbpM/CuL7qxO8w=="
crossorigin="anonymous" />
<!-- Style Sheets -->
<link rel="stylesheet" href="assets/css/style.css">
<link rel="stylesheet" href="assets/css/utilities.css">
<link rel="stylesheet" href="assets/css/mobile.css">
<link rel="stylesheet" href="assets/css/animations.css">
<!-- Firebase Connectivity Using CDN -->
<script src="https://www.gstatic.com/firebasejs/8.3.2/firebase-app.js"></script>
<script src="https://www.gstatic.com/firebasejs/8.3.2/firebase-auth.js"></script>
<script src="https://www.gstatic.com/firebasejs/8.3.2/firebase-database.js"></script>
<!-- Sweet Alert Pop Modal -->
<script src="//cdn.jsdelivr.net/npm/sweetalert2@11"></script>
</head>
<body>
<!-- NavBar -->
<header class="navbar">
<div class="container flex text-center jc-ai-center">
<!-- Left Navigation -->
<div class="site-title flex align-item-center">
<div>
<a href="index.html"><h1><span class="clr-red">Mit</span> <span class="clr-green">Canteen Admin</span></h1></a>
</div>
<!-- Toggle Bars -->
<div class="toggle-bars mybar">
<div class="bars bar-1"></div>
<div class="bars bar-2"></div>
<div class="bars bar-3"></div>
</div>
</div>
<!-- Right Navigation -->
<nav class="site-nav flex left-nav align-item-center">
<ul class="flex">
<li><a href="order.html">Orders</a></li>
<li><a href="admin-side.html">Product Management</a></li>
<button class="btn" id="logout" style="padding: 10px 20px;">Log Out</button>
</ul>
</nav>
</div>
</header>
<!-- Mobile Navbar -->
<header class="mob-navbar">
<nav class="nav container">
<ul class="mob-ul">
<li><a href="orders.html">Orders</a></li>
<li><a href="admin-side.html">Product Management</a></li>
<button class="btn" id="logout" style="padding: 10px 20px;">Log Out</button>
</ul>
</nav>
</header>
<!-- Product Management -->
<section class="product-management">
<div class="container-min grid">
<div class="title md text-center">Product Management</div>
<hr>
<article class="choose-operation text-center">
<button class="btn p-1" id="add-product-menu">Add a Product to Menu</button>
<button class="btn p-1" id="remove-product-menu">Remove a Product from Menu</button>
</article>
</div>
</section>
<section class="add-product add-container">
<div class="container-min grid">
<div class="title md text-center">Add Product in Menu</div>
<hr>
<!-- Add Menu Item -->
<article class="menu-item text-center">
<img src="assets/images/sandwich1.jpg" alt="Product image">
<div class="item-info">
<figure>
<div class="flex align-item-center">
<input id="add-title" type="text" placeholder="Title of Food">
<input id="add-calories" type="text" placeholder="For Eg. 220 - 280 Kcal">
<input id="add-price" type="text" placeholder="Price" id="product-price">
</div>
</figure>
<div class="item-category my-1">
<select name="Categories" id="add-category">
<option value="Burger">Burger</option>
<option value="Maggie">Maggie</option>
<option value="Fries">Fries</option>
<option value="Beverages">Beverages</option>
<option value="Pasta">Pasta</option>
</select>
</div>
<div class="my-1 text-center">
<button class="btn">Add to Menu</button>
</div>
</div>
</article>
</div>
</section>
<section class="add-product remove remove-container">
<div class="container-min grid">
<div class="title md text-center">Remove a Product from Menu</div>
<hr>
<!-- Add Menu Item -->
<article class="menu-item text-center">
<img src="assets/images/sandwich1.jpg" alt="Product image">
<div class="item-info">
<figure>
<h2><input type="text" placeholder="Title of Food"></h2>
</figure>
<div class="my-1 text-center">
<button class="btn">Remove From Menu</button>
</div>
</div>
</article>
</div>
</section>
<!-- Page Animations -->
<script src="assets/js/animations.js"></script>
<!-- Menu & Admin Stuff -->
<script src="assets/js/main.js"></script>
<!-- Creative Features -->
<script src="assets/js/features.js"></script>
<!-- Controls User Stuff -->
<script src="assets/js/functioning.js"></script>
</body>
</html>