-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
450 lines (394 loc) · 24.1 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
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>UCI WebReg</title>
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon" />
<link rel="icon" href="./images/logo.png">
<!-- Bootstrap 5 CDN -->
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet">
<!-- Font Awesome 5 CDN -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css" />
<!-- Style CSS -->
<link rel="stylesheet" href="css/style.css">
<link rel="stylesheet" href="css/responsive-style.css">
<link rel="stylesheet" href = "css/homepage.css">
<link rel="stylesheet" href = "css/bag-window.css">
<link rel="stylesheet" href = "css/class-list.css">
<link rel="stylesheet" href = "css/chatButton.css">
<link rel="stylesheet" href = "css/advanced.css">
<link rel="stylesheet" href = "css/frontPage.css">
<link rel="stylesheet" href = "css/suggestedClass.css">
<link rel="stylesheet" href = "css/studyList.css">
<link rel="stylesheet" href = "css/notifyPopUp.css">
<link rel="stylesheet" href = "css/auto-enroll-btn.css">
<link rel="stylesheet" href = "css/chat-box.css">
<link rel="stylesheet" href = "css/info.css">
<link rel="stylesheet" href = "css/dropPopUp.css">
</head>
<body class="home">
<input id="slideBar" type="range" min="80" max="140" value="110" smooth=yes>
<!-- Navbar Section Start -->
<header id="full_nav">
<div class="header fixed-top">
<div class="container">
<nav class="navbar navbar-expand-lg">
<a class="navbar-brand" href="index.html">
<img src="./images/logo.png" alt="UCI log">
<p>UCI WebReg</p>
</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#main-nav"
aria-controls="main-nav" aria-expanded="false" aria-label="Toggle navigation">
<i class="fas fa-stream navbar-toggler-icon"></i>
</button>
<div class="collapse navbar-collapse" id="main-nav">
<ul class="navbar-nav ms-auto">
<li class="nav-item">
<a class="nav-link active" href="#">Home</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">DegreeWorks</a>
</li>
<li class="nav-item dropdown">
<a class="nav-link" href = "https://catalogue.uci.edu/" id="navbarDropdown" role="button"
>
General Catalog
</a>
<!-- <ul class="dropdown-menu" aria-labelledby="navbarDropdown">
<li><a class="dropdown-item" href="website.html">Website</a></li>
<li><a class="dropdown-item" href="branding.html">Branding</a></li>
<li><a class="dropdown-item" href="advertising.html">Advertising</a></li>
<li><a class="dropdown-item" href="social-media.html">Social Media</a></li>
</ul> -->
</li>
<li class="nav-item">
<a class="nav-link" href="#">Web Admin</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">Log Out</a>
</li>
</ul>
</div>
</nav>
</div>
</div>
</header>
<!-- Navbar Section Exit -->
<!--Main Section Start-->
<section class="banner-wrapper wrapper">
<div class="container">
<div class="row">
<div class="second-header">
<button class="collapse-btn" onclick="togglePanel()">
<img src="images/hamburger.png" alt="collapsible button that looks like a burger"/>
</button>
</div>
<!-- LEFT SIDE -->
<div class="col-lg-4 order-lg-1">
<!-- <div class = "left-side-wrapper"> -->
<!-- <a href="#" class="btn main-btn mt-5">Search</a> -->
<div class="left-panel" id="left-panel">
<div class="empty"> </div>
<h3>Course Filter</h3>
<div class="panel-content">
<form id="class-form">
<div class="search">
<label for="course-search">Search for a course:</label>
<input type="text" id="course-search" placeholder="Enter Course..." autocomplete="off">
<div id="search-results"></div>
</div>
<label for="term">Term:</label>
<select id="term">
<option value="">All</option>
<option value="Fall">Fall</option>
<option value="Winter">Winter</option>
<option value="Spring">Spring</option>
</select>
<br>
<label for="department">Department:</label>
<select id="department">
<option value="">All</option>
</select>
<br>
<label for="instructor">Instructor:</label>
<select id="instructor">
<option value="">All</option>
</select>
<br>
<button class="advanced" type="button">ADVANCED FILTER</button>
<div class="content">
<!-- Create a row -->
<div class="row">
<div class="col-lg-6">
<label for="general-education">GE</label>
<select id="GE">
<option value="">All</option>
<option value="GE-I">GE I</option>
<option value="GE-II">GE II</option>
<option value="GE-III">GE III</option>
<option value="GE-IV">GE IV</option>
<option value="GE..">...(future development)</option>
</select>
</div>
<div class="col-lg-6">
<label for="unit">Unit </label>
<select id="unit-filter">
<option value="">All</option>
<option value="oneUnits">1</option>
<option value="twoUnits">2</option>
<option value="threeUnits">3</option>
<option value="fourUnits">4</option>
<option value="fiveUnits">5</option>
<option value="sixUnits">6</option>
<option value="xUnits">...(future development)</option>
</select>
</div>
</div>
<div class="row">
<div class="col-lg-6">
<label for="course-code">Course Code</label>
<select id="GE">
<option value="">All</option>
<option value="courseCode1">11111</option>
<option value="courseCode2">22222</option>
<option value="courseCode3">33333</option>
<option value="courseCode4">44444</option>
<option value="courseCodeX">...(future development)</option>
</select>
</div>
<div class="col-lg-6">
<label for="unit">Day</label>
<select id="day-filter">
<option value="">All</option>
<option value="MWF">MWF</option>
<option value="TuTh">TuTh</option>
<option value="W">W</option>
<option value="dayX">...(future development)</option>
</select>
</div>
</div>
</div>
<div class="searchButton">
<input type="submit" value="Submit" class="circle-button">
</div>
</form>
</div>
</div>
<!-- </div> -->
</div>
<!-- RIGHT SIDE -->
<div class="col-lg-8 order-lg-2">
<!-- <div> -->
<!-- The Three Tabs on the right side -->
<div class = "right-panel">
<!-- Bag window -->
<div id="bag-window-id" class = "bag-window-class">
<div class="button-area">
<!-- <div class="close-bag">Close Bag</div> -->
<button id="bag-window-close">X</button>
</div>
<p class = "defaultWindowBagTxt" id = "defaultWindowTxtID">You have not added any courses yet.</p>
<ul id="bag-list"></ul>
<div class="bottom">
<div><button id="enroll-button">Enroll</button></div>
<div class = "autoEnrollClass"><button id= "auto-enroll-button">Auto Enroll</button></div>
</div>
</div>
<!-- Use boostrap feature "nav" to let them know it is like a menu -->
<ul class = "nav nav-tabs">
<!-- List Down Each Tab using "nav-item" feature from boostrap -->
<li class = "nav-item"><a class = "nav-link active" data-bs-toggle="tab" href ="#ScheduleOfClasses">Schedule of Classes</a></li>
<li class = "nav-item"><a class = "nav-link" data-bs-toggle="tab" href ="#StudyList">Study List</a></li>
<li class = "nav-item"><a class = "nav-link" data-bs-toggle="tab" href ="#SuggestedClasses">Suggested Classes</a></li>
</ul>
<div class = "tab-content">
<!-- A fixed backpack on all tabs -->
<div class="bag-icon-wrapper">
<div class="bag-button-class">
<button class = "bag-button"id="open-window"> <img src="./images/newbackpack.png" alt="Bag pack">
<div id="notification"></div>
</button>
</div>
</div>
<!-- Each tab has its own content -->
<!-- Schedule of classes tab -->
<div class = "tab-pane active" id = "ScheduleOfClasses">
<div class = "row">
<div class="initialOpenPage" id ="initialOpenPageID">
<div class="enrollWindowStatement">
<p>Hello, Fellow Anteater!</p>
<p>Welcome to the new UCI WebReg!</p>
<p>Your enrollment window opens on <span>Mar/30/2023 at 4:30PM</span></p>
<p>Check out our <a href="https://www.youtube.com/shorts/-1V5texZApg">instruction video on how to use the new WebReg</a></p>
</div>
<div class="peterImgClass">
<img src="images/peterTheAnteater.png" alt="An anteater holding books">
</div>
</div>
<!-- Divide into two left and right -->
<div id="ScheduleOfClassesContainerID" class="ScheduleOfClassesContainer">
<!-- TABLE GOES HERE-->
<table id="courses-table">
</table>
</div>
</div>
</div>
<!-- Study List -->
<div class = "tab-pane" id = "StudyList">
<div class = "row">
<!-- Divide into two left and right -->
<div class="underStudyListTabs">
<ul class = "nav nav-tabs">
<!-- List Down Each Tab using "nav-item" feature from boostrap -->
<li class = "nav-item"><a class = "nav-link active" data-bs-toggle="tab" href ="#listView">List View</a></li>
<li class = "nav-item"><a class = "nav-link" data-bs-toggle="tab" href ="#calendarView">Calendar View</a></li>
</ul>
<!-- List View Tab -->
<div class="tab-content two">
<div class="tab-pane two active" id="listView">
<div class="study-list-container" id="study-list-containerID" >
<p id = "defaultListViewPage">You have not enrolled in any courses yet.</p>
<table id="study-list-table"></table>
</div>
</div>
<!-- Caledendar View -->
<div class="tab-pane two" id="calendarView">
<img src="./images/scheduleWebReg.png" alt="A calendar schedule">
</div>
</div>
</div>
</div>
</div>
<!-- Suggested Classes -->
<div class = "tab-pane" id = "SuggestedClasses">
<div class = "row border g-0 rounded shadow-sm">
<!-- Divide into two left and right -->
<div class="suggestedClassContainer">
<div class="degreeWorkHeader">
<!-- <p style="color: black;">
Here are the suggested classes according to Your degree work data
</p> -->
</div>
<div class="majorRequirementHeader">
<h3> Major Requirement</h3>
</div>
<div class="suggestedClassTable">
<!-- HTML table markup -->
<div class="suggScroll" id = "suggScrollID">
<table id="suggested-courses-table-id">
</table>
</div>
</div>
<div class="majorRequirementHeader">
<h3> Electives</h3>
</div>
<div class="electScroll" id = "elecScrollID">
<table id="elective-courses-table-id">
</table>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- </div> -->
</div>
<!-- Backpack Column -->
<!-- <div class="col-lg-1 mb-1 order-lg-3 order-2">
<div class="help-icon-wrapper">
<div class="help-button-class"><a href="#"
target="_blank"">
<p id = "count">0</p>
<img src="./images/backpack.png"></p> </a>
</div>
</div>
</div> -->
</div>
</div>
</section>
<!-- BanMainner Section Exit -->
<!-- Footer section Start-->
<section class="footer_wrapper wrapper">
<div class="container">
<div class="row align-items-center mb-5">
<div class="col-lg-4 col-sm-6 mb-5 mb-lg-0 footer-logo">
<img src="./images/logo.png" alt="UCI log"/>
</div>
<div class="col-lg-4 col-sm-6 mb-5 mb-lg-0">
<h5><a href="#">+91 121 212 1221</a></h5>
<h5><a href="#">[email protected]</a></h5>
<h5>UC Irvine</h5>
</div>
<div class="col-lg-4 col-sm-6 mb-5 mb-lg-0">
<ul class="link-widget p-0">
<li><a href="#"><img src="./images/social-media/f.webp" alt="Facebook logo"/></a></li>
<li><a href="#"><img src="./images/social-media/i.webp" alt="Instagram logo"/></a></li>
<li><a href="#"><img src="./images/social-media/l.webp" alt="Linkedin logo"/></a></li>
<li><a href="#"><img src="./images/social-media/t.webp" alt="Twitter logo"/></a></li>
</ul>
</div>
</div>
</div>
<!-- <div class="container-fluid pt-5 px-0">
<div class="row">
<div class="col-12">
<iframe src="https://www.google.com/maps/embed?pb=!1m14!1m12!1m3!1d14016.9363925419!2d77.18302375!3d28.5627323!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!5e0!3m2!1sen!2sin!4v1654846055849!5m2!1sen!2sin" width="100%" height="250" style="border:0;" allowfullscreen="" loading="lazy" referrerpolicy="no-referrer-when-downgrade"></iframe>
</div>
</div>
</div> -->
<div class="container-fluid copyright-section ">
<p>© 2023 Unemployed Dev WebReg Hackathon. All Rights Reserved</p>
</div>
</section>
<!-- Footer Section Exit -->
<!-- whatsapp Intigration -->
<!-- <div class="whatsapp-icon-wrapper">
<div class="whatsapp-button-class"><a href="#"
target="_blank"">
<img src="./images/whatspp.png"></p> </a>
</div>
</div> -->
<!-- Panic Button Integration -->
<div class="panic-icon-wrapper">
<div class="panic-button-class">
<button class="panic-button" onclick="openHelp()">
<img src="./images/whiteChatIcon.png" alt="chat icon">
</button>
</div>
</div>
<!-- Panic Button Popup -->
<div class="chat-popup" id="openHelp">
<div class="chat-box">
<button type="button" class="close-btn" onclick="closeHelp()">X</button>
<div class="chat-log"></div>
<div class="chat-input">
<input type="text" placeholder="Type your message...">
<button>Send</button>
</div>
<!-- <button type="button" class="btn cancel" onclick="closeHelp()">Close</button> -->
</div>
</div>
<!-- Script -->
<script src="https://cdn.jsdelivr.net/npm/@popperjs/[email protected]/dist/umd/popper.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.min.js"></script>
<!-- Custom JS -->
<script src="js/defaultClasses.js"></script>
<script src="js/courses.js"></script>
<script src="js/panel.js"></script>
<script src="js/addClass.js"></script>
<script src="js/bag.js"></script>
<script src="js/chatButton.js"></script>
<script src="js/moveBagWindow.js"></script>
<script src="js/advanced.js"></script>
<script src="js/suggestedClassTable.js"></script>
<script src="js/elective.js"></script>
<script src="js/studyList.js"></script>
<script src="js/auto-enroll.js"></script>
<script src="js/selectOptions.js"></script>
<script src="js/chat-box.js"></script>
<script src="js/info.js"></script>
<script src="js/zoom.js"></script>
</body>
</html>