-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
126 lines (118 loc) · 4.32 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
<!DOCTYPE html>
<html lang="en">
<head>
<script src="https://cdnjs.cloudflare.com/ajax/libs/pouchdb/7.2.2/pouchdb.min.js"></script>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>PracticeBooker</title>
<link href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css" rel="stylesheet">
<link
href="https://fonts.googleapis.com/css?family=Poppins&display=swap"
rel="stylesheet"
/>
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.1/css/all.min.css"
integrity="sha256-mmgLkCYLUQbXn0B1SRqzHar6dCnv9oZFPEC1g1cwlkk="
crossorigin="anonymous"
/>
<link rel="stylesheet" href="./style.css" />
</head>
<body>
<header>
<h1>
UMass Department of Music and Dance
</h1>
<h2>
Practice Room Scheduler
</h2>
</header>
<!--Drop Down Menus for Room and Time-->
<div class="header-container">
<div class="header">Search By Room Number</div>
<div class="dropdown-container">
<select class="dropdown" id="dropdown1">
<option value="158">Room 158</option>
<option value="159">Room 159</option>
<option value="160">Room 160</option>
<option value="161">Room 161</option>
<option value="162">Room 162</option>
<option value="163">Room 163</option>
<option value="164">Room 164</option>
<option value="165">Room 165</option>
<option value="166">Room 166</option>
<option value="167">Room 167</option>
<option value="168">Room 168</option>
<option value="169">Room 169</option>
<option value="170">Room 170</option>
<!-- Add more options as needed -->
</select>
<button class="submit-button" onclick="animateSearchByRoom()">Submit</button>
</div>
</div>
<div class="header-container">
<div class="header">Search By Time</div>
<div class="dropdown-container">
<select class="dropdown" id="dropdown2">
<option value="8:00 AM">8:00 AM</option>
<option value="9:00 AM">9:00 AM</option>
<option value="10:00 AM">10:00 AM</option>
<option value="11:00 AM">11:00 AM</option>
<option value="12:00 PM">12:00 PM</option>
<option value="1:00 PM">1:00 PM</option>
<option value="2:00 PM">2:00 PM</option>
<option value="3:00 PM">3:00 PM</option>
<option value="4:00 PM">4:00 PM</option>
<option value="5:00 PM">5:00 PM</option>
<option value="6:00 PM">6:00 PM</option>
<option value="7:00 PM">7:00 PM</option>
<option value="8:00 PM">8:00 PM</option>
<option value="9:00 PM">9:00 PM</option>
<option value="10:00 APM">10:00 PM</option>
<!-- Add more options as needed -->
</select>
<button class="submit-button1" onclick="animateSearchByTime()">Submit</button>
</div>
</div>
<!--Calendar and Date-->
<div class="calendar">
</div>
<div class="date">
<header>February 18, 2024</header>
</div>
<!--Table-->
<table id="schedule">
<thead id="schedule-head">
<tr>
<th>Time</th>
<th>Room 158</th>
<th>Room 159</th>
<th>Room 160</th>
<th>Room 161</th>
<th>Room 162</th>
<th>Room 163</th>
<th>Room 164</th>
<th>Room 165</th>
<th>Room 166</th>
<th>Room 167</th>
<th>Room 168</th>
<th>Room 169</th>
<th>Room 170</th>
</tr>
</thead>
<tbody id="schedule-body">
<!-- Data will be added here -->
</tbody>
</table>
<div class="container-submit">
<div class="button-container">
<button class="booking-button" onclick="submitBooking(true)">Book</button>
<button class="booking-button" onclick="submitBooking(false)">Unbook</button>
<button class="booking-button" onclick=" resetTitleAsRoomNumber();
resetheader();">Home</button>
</div>
</div>
<script src="./app.js">
</script>
</body>
</html>