-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathadd_menu.html
116 lines (106 loc) · 6.24 KB
/
add_menu.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
<!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">
<link rel="stylesheet" href="./style/style.css">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Roboto&display=swap" rel="stylesheet">
<link rel="stylesheet" href="https://pro.fontawesome.com/releases/v5.10.0/css/all.css" integrity="sha384-AYmEC3Yw5cVb3ZcuHtOA93w35dYTsvhLPVnYs9eStHfGJvOvKxVfELGroGkvsg+p" crossorigin="anonymous"/>
<script src="./js/sidebar.js"></script>
<script src="./js/image.js"></script>
<script src="./js/select.js"></script>
<title>Add Menu || Hari</title>
</head>
<body>
<div class="sidebar" id="sidebar">
<a href="javascript:void(0)" class="desktop-view" style="text-decoration: none;" onclick="closeNav()"><i class="fas fa-times cross-side"></i></a>
<div href="#" class="brand">
<img class="brand-image" src="./images/nature-logo.png" width="50" height="50">
<h2 class="brand-name">Hari</h2>
</div>
<hr>
<div class="sidebar-links">
<ul>
<li><i class="fas fa-home" style="color:white;"></i> <a href="index.html" class="active">Home</a></li>
<li><i class="fas fa-hotel" style="color:white;"></i> <a href="add_hotel.html" class="">Hotel</a></li>
<li><i class="fas fa-bed"style="color:white;"></i> <a href="">Rooms</a></li>
<li><i class="fas fa-glass-martini" style="color:white;"></i> <a href="">Resturants</a></li>
<li><i class="fas fa-utensils" style="color:white;"></i> <a href="">Menu</a></li>
<li><i class="fas fa-couch" style="color:white;"></i> <a href="" class="">Table</a></li>
<li><i class="fas fa-warehouse" style="color:white;"></i> <a href="" class="">Hall</a></li>
<li><i class="fas fa-users" style="color:white;"></i> <a href="" class="">Customers</a></li>
<li><i class="fas fa-book" style="color:white;"></i> <a href="">Booking</a></li>
<li><i class="fas fa-comment" style="color:white;"></i> <a href="">Reviews</a></li>
<li><i class="fas fa-user" style="color:white;"></i> <a href="">Account</a></li>
</ul>
</div>
</div><!-- Sidebar -->
<div class="main-content" id="main">
<div class="topnav">
<div class="topnav-header">
<div class="dashboard-name">
<i class="fas fa-bars desktop icon-color" style="color:red" onclick="openNav()"></i>
<i class="fas fa-bars mobile" style="color:red" onclick="openNavMobile()"></i>
<h3 style="margin-left: 10px;">Dashboard</h3>
</div>
<div class="user">
<h4>Manish Regmi</h4>
<img src="./images/nature-logo.png" class="user-image" alt="User Image">
</div>
</div>
</div><!-- topnav -->
<div class="content-section">
<h3 style="color: red; text-align: center;" class="text-center">Add Menu</h3>
<div class="add-hotel-form">
<form action="">
<label for="cars">Choose Category:</label>
<select name="category" id="menuCategory" onchange="categorySelect()">
<option value="" disabled selected>Choose One:</option>
<option value="food">Food</option>
<option value="drinks">Drinks</option>
</select>
<div style="display: none;" id="food-sub-category">
<label for="cars">Choose Sub-Category:</label>
<select name="sub-category" id="sub-category">
<option disabled selected>Choose One:</option>
<option value="veg">Veg</option>
<option value="non-veg">Non-veg</option>
</select>
</div>
<div style="display: none;" id="drinks-sub-category">
<label for="cars">Choose Sub-Category:</label>
<select name="sub-category" id="sub-category">
<option disabled selected>Choose One:</option>
<option value="water">Water</option>
<option value="milk">Milk</option>
<option value="soft-drinks">Soft Drinks</option>
<option value="sleep-drinks">Sleep Drinks</option>
<option value="drinks">Hot Drinks</option>
<option value="food">Juice</option>
<option value="drinks">Alcoholic Drinks(Beer, Cider, Wine)</option>
<option value="food">Spirits(All Drinks with 20%+ Alcohol Level)</option>
</select>
</div>
<label for="lname">Name</label>
<input type="text" id="lname" name="lastname" placeholder="Item Name..">
<label for="lname">Price</label>
<input type="number" id="lname" name="lastname" placeholder="Item Price..">
<div>
<label for="lname" style="margin-top: 25px;">Item Image(Optional)</label>
<input type="file" id="lname" name="lastname"
onchange="hotelMenuImage1(this);"
placeholder="Back Image..">
<img id="hotelMenuImage-1" style="display: none;margin-bottom: 20px;" width="200" height="200" src="#" alt="your image" />
</div>
<label for="lname" style="margin-top: 25px;">Item Image(Optional)</label>
<textarea placeholder="About Item"></textarea>
<input type="submit" value="Add Item">
</form>
</div>
</div><!-- Content-section -->
</div><!-- Main-content -->
</body>
</html>