-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
155 lines (147 loc) · 5.17 KB
/
index.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
<!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">
<a href="#">
<h1>Welcome to Our Restaurant</h1>
</a>
<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>
</header>
<main id="main-content">
<section id="staff-management">
<h2>Staff Management</h2>
<div class="container">
<h3>Manage Roles</h3>
<input type="text" id="roleInput" placeholder="Enter a new role" />
<button id="addRoleBtn">Add Role</button>
<h4>Staff Roles:</h4>
<ul id="roleList"></ul>
<p id="roleCount">Total unique roles: 0</p>
<p id="roleCheckResult"></p>
</div>
</section>
<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>
<section id="special-announcement">
<h2>Daily Special Announcement</h2>
<div class="container">
<p id="specialAnnouncement"></p>
<h3>Uppercase Announcement:</h3>
<p id="uppercaseAnnouncement"></p>
<h3>Updated Special Announcement:</h3>
<p id="updatedSpecial"></p>
<h3>Words Array:</h3>
<p id="wordsArray"></p>
<h3>No Spaces Announcement:</h3>
<p id="noSpacesAnnouncement"></p>
<h3>Hyphenated Announcement:</h3>
<p id="hyphenatedAnnouncement"></p>
</div>
</section>
<section id="customer-booking">
<h2>Customer Booking System</h2>
<div class="container">
<h3>Book a Table</h3>
<input type="text" id="customerName" placeholder="Enter your name" />
<button id="bookTableBtn">Book Table</button>
<h4>Booking Details:</h4>
<ul id="bookingList"></ul>
<p id="bookingCount">Total Bookings: 0</p>
</div>
</section>
<section id="customer-management">
<h2>Customer Management</h2>
<div class="container">
<h3>Customer Array Operations</h3>
<button id="generateResultsBtn">Generate Customer Results</button>
<h4>Customer Greetings:</h4>
<pre id="greetingsOutput"></pre>
<h4>Filtered Customers:</h4>
<pre id="filteredOutput"></pre>
<h4>Total Characters:</h4>
<p id="totalCharactersOutput"></p>
<h4>Reversed Customer Names:</h4>
<pre id="reversedOutput"></pre>
</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/staffManagementScript.js"></script>
<script src="js/restaurantStatusScript.js"></script>
<script src="js/specialAnnouncementScript.js"></script>
<script src="js/customerBookingScript.js"></script>
<script src="js/customerManagementScript.js"></script>
</body>
</html>