-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrestaurant-status.html
94 lines (90 loc) · 2.93 KB
/
restaurant-status.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Restaurant Management System</title>
<link rel="stylesheet" href="style.css" />
</head>
<body>
<header>
<div class="header-container">
<h1>Welcome to Our Restaurant</h1>
<nav>
<ul class="header-sections">
<li>
<a href="./staff-management.html">Staff Management</a>
</li>
<li>
<a href="./restaurant-status.html">Restaurant Status</a>
</li>
<li>
<a href="./special-announcement.html">Daily Special</a>
</li>
<li>
<a href="./customer-booking.html">Customer Booking</a>
</li>
<li>
<a href="./customer-management.html">Customer Management</a>
</li>
</ul>
</nav>
</div>
<div class="header-subtitle">
<p>Your satisfaction is our priority!</p>
</div>
<a href="./index.html">
<h3>Back to Home</h3>
</a>
</header>
<main id="main-content">
<section id="restaurant-status">
<h2>Restaurant Status</h2>
<div class="container">
<h3>Manage Restaurant Status</h3>
<div>
<label for="openingTime">Opening Time:</label>
<input type="time" id="openingTime" />
</div>
<div>
<label for="closingTime">Closing Time:</label>
<input type="time" id="closingTime" />
</div>
<div>
<label for="dishName">Add Available Dish:</label>
<input type="text" id="dishName" placeholder="Enter dish name" />
<button id="addDishBtn">Add Dish</button>
</div>
<h4>Available Dishes:</h4>
<ul id="dishList"></ul>
<h4>Check Restaurant Status:</h4>
<div>
<label for="currentTime">Current Time:</label>
<input type="time" id="currentTime" />
<button id="checkStatusBtn">Check Status</button>
<p id="statusResult"></p>
</div>
</div>
</section>
</main>
<footer>
<div class="footer-container">
<p>© 2024 Our Restaurant. All rights reserved.</p>
<div class="footer-links">
<a href="./staff-management.html">Staff</a>
<a href="./restaurant-status.html">Status</a>
<a href="./special-announcement.html">Specials</a>
<a href="./customer-booking.html">Bookings</a>
<a href="./customer-management.html">Customers</a>
</div>
</div>
</footer>
<div id="errorModal" class="modal">
<div class="modal-content">
<span class="close-btn">×</span>
<p id="errorMessage"></p>
</div>
</div>
<script src="js/restaurantStatusScript.js"></script>
</body>
</html>