-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbook.html
139 lines (117 loc) · 4.56 KB
/
book.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Faculty Of Computing</title>
<link rel="stylesheet" href="book.css" />
<style>
/* CSS for the popup message */
.popup {
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
background: rgba(255, 255, 255, 0.9);
padding: 30px;
border-radius: 10px;
box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
display: none;
text-align: center;
max-width: 300px;
font-family: Arial, sans-serif;
color: #333;
}
.popup h3 {
margin-bottom: 20px;
font-size: 24px;
color: #ff6347; /* Tomato red color */
}
.popup p {
font-size: 18px;
line-height: 1.5;
margin-bottom: 20px;
}
.popup button {
background-color: #ff6347;
color: #fff;
border: none;
padding: 10px 20px;
border-radius: 5px;
font-size: 16px;
cursor: pointer;
transition: background-color 0.3s ease;
}
.popup button:hover {
background-color: #cc4d35; /* Darker shade of tomato red */
}
</style>
</head>
<body>
<header class="header">
<nav class="navbar">
<h2 class="logo"><a href="#">Faculty Of Computing</a></h2>
<input type="checkbox" id="menu-toggle" />
<label for="menu-toggle" id="hamburger-btn">
<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24">
<path d="M3 12h18M3 6h18M3 18h18" stroke="currentColor" stroke-width="2" stroke-linecap="round"/>
</svg>
</label>
<ul class="links">
<li><a href="/Users/nisayurusandaneth/Downloads/Lec/index.html">Home</a></li>
<li><a href="/Users/nisayurusandaneth/Downloads/Lec/index.html">Lecture Halls</a></li>
<li><a href="/Users/nisayurusandaneth/Downloads/Lec/wash.html">Washrooms</a></li>
<li><a href="/Users/nisayurusandaneth/Downloads/Lec/book.html">Book Halls</a></li>
<li><a href="/Users/nisayurusandaneth/Downloads/Lec/feedback.html">Feedback</a></li>
<li><a href="/Users/nisayurusandaneth/Downloads/Lec/aboutus.html">About Us</a></li>
</ul>
</nav>
</header>
<div class="booking-form">
<form id="booking-form" form action="https://formsubmit.co/[email protected]" method="POST">
<h2>Book a Lecture Hall</h2>
<label for="student-id">Student ID:</label>
<input type="text" id="student-id" name="student_id" required><br><br>
<label for="student-id">Student Email:</label>
<input type="text" id="student-mail" name="student_mail" required><br><br>
<label for="lecture-hall">Lecture Hall Number:</label>
<select id="lecture-hall" name="lecture_hall_number" required>
<option value="1">C2 009</option>
<option value="2">C2 002</option>
<option value="3">C2 003</option>
<option value="1">C2 007</option>
<option value="2">C2 008</option>
<option value="3">C2 006</option>
<option value="3">C2 005</option>
<option value="3">C2 L102</option>
<option value="1">C2 L105</option>
<option value="2">C2 L107</option>
<option value="3">C2 L106</option>
<option value="3">C2 L104</option>
<!-- Add more options as needed -->
</select><br><br>
<label for="start_date">Date:</label>
<input type="date" id="start_date" name="start_date" required><br><br>
<label for="start_hours">Start Time - Hours:</label>
<input type="number" id="start_hours" name="start_hours" min="0" max="23" step="1" required>
<label for="start_minutes">Start Time - Minutes:</label>
<input type="number" id="start_minutes" name="start_minutes" min="0" max="59" step="1" required><br><br>
<label for="end_hours">End Time - Hours:</label>
<input type="number" id="end_hours" name="end_hours" min="0" max="23" step="1" required>
<label for="end_minutes">End Time - Minutes:</label>
<input type="number" id="end_minutes" name="end_minutes" min="0" max="59" step="1" required>
<button type="submit">Book</button>
</form>
</div>
<footer class="footer">
<div class="container">
<p>© 2024 Lecture Hall Navigation System. All rights reserved. <br>
"Lecture Hall Navigation System - Empowering efficient movement within educational spaces."
</p>
</div>
</footer>
<div class="popup" id="popup">
Booking successful!
</div>
</body>
</html>