This repository has been archived by the owner on Mar 30, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsearch.html
114 lines (97 loc) · 3.88 KB
/
search.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
<!DOCTYPE html>
<html lang="en">
<head>
<title>Search Courses</title>
<link rel="stylesheet" href="styles/style.css"/>
<script src="scripts/search.js" defer></script>
<script src="https://kit.fontawesome.com/3816b98563.js" crossorigin="anonymous"></script>
</head>
<!--Navigation Bar-->
<div id="nav">
<a href="index.html" class="nav-logo right"><img src="assets/logo.png" width="150"></a>
<a href="drop.html" class="nav-item left">DROP</a>
<a href="search.html" class="nav-item left">SEARCH</a>
<a href="index.html" class="nav-item left">MY CLASS SCHEDULE</a>
</div>
<body>
<div class= "row1">
<div class="scol">
<h2>Search Classes</h2>
</div>
<div class="scol floatright">
<button id="searchBtn" onclick="searchButtonPressed()">Search</button>
</div>
</div>
<hr>
<div class= "row1">
<div class="scol">
<h2>Course Number</h2>
</div>
<input id='courseNumberSearch' class="textbox" type="text">
</div>
<div class= "row1">
<div class="scol">
<h2 >Course Name</h2>
</div>
<input id='courseNameSearch' class="textbox" type="text">
</div>
<div id="searchResults" class="hidden">
<hr>
<br>
<h3 id="courseFullName"></h3>
<div position='absolute' bottom='0px'>
<div class ="subrow">
<div class="col">Open <i class="fas fa-check"> </i></div>
<div class="col">Closed <i class="fas fa-times"></i></div>
<div class="col">Waitlisted <i class="fas fa-list"></i></div>
</div>
</div>
<div class="classSchedule">
<table id='resultList'>
<tr>
<th id='sectionCol'>Section</th>
<th>Schedule</th>
<th id="roomCol">Room</th>
<th>Instructor</th>
<th id="statusCol">Status</th>
<th id="selectCol"></th>
</tr>
<!-- sample table rows
<tr>
<td>01</td>
<td>MWF 4:00PM - 4:50PM</td>
<td>5 - 222</td>
<td>M. Wilson</td>
<td id='openStatus'>✓</td>
<td id="selectCol"><button id="selectBtn">Select</button></td>
</tr>
<tr>
<td>02</td>
<td>TTh 12:00PM - 1:50PM</td>
<td>6 - 234</td>
<td>F. Smith</td>
<td id='closedStatus'>■</td>
<td><button id="selectBtn">Select</button></td>
</tr>
<tr>
<td>03</td>
<td>MW 10:00AM - 11:50AM</td>
<td>5 - 222</td>
<td>F. Smith</td>
<td id='waitlistStatus'>▲</td>
<td><button id="selectBtn">Select</button></td>
</tr>
<tr>
<td>04</td>
<td>TuTh 10:00AM - 11:50AM</td>
<td>5 - 222</td>
<td>F. Smith</td>
<td id='openStatus'>✓</td>
<td><button id="selectBtn">Select</button></td>
</tr>
-->
</table>
</div>
</div>
</body>
</html>