forked from Melon-tree/ProjectFlowchart
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
75 lines (67 loc) · 2.69 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
<!DOCTYPE html>
<html lang="en">
<head>
<link rel="icon" href="assets/utd_png.png">
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Project Flowchart</title>
<link rel="stylesheet" href="styles.css">
</head>
<body class="dark-mode">
<header>
<nav>
<a href="home.html">Home</a>
<a href="about.html">About</a>
<div class="dropdown">
<button class="dropbtn">Select Major</button>
<div class="dropdown-content">
<a href="index.html" onclick="setMajor('CE')">CE</a>
<a href="#" onclick="setMajor('CS')">CS</a>
<a href="#" onclick="setMajor('MECH')">MECH</a>
<a href="#" onclick="setMajor('EE')">EE</a>
</div>
</div>
</nav>
</header>
<div id="searchContainer">
<img src="assets/utd_png.png" alt="Mini Logo" id="miniLogo">
<input type="text" id="searchBox" placeholder="Search for a course...">
<button id="searchButton">Search</button>
<button id="backButton" style="display:none;">Back</button>
</div>
<h2 id="currentMajor">Current Major: Computer Engineering</h2>
<table id="courseTable"></table>
<div id="coursePopup">
<div id="popupContent">
<span class="close-btn">×</span>
<h2 id="popupCourseName"></h2>
<p><strong>Credits:</strong> <span id="popupCourseCredits"></span></p>
<p><strong>Description:</strong> <span id="popupCourseDescription"></span></p>
<p><strong>Semester:</strong> <span id="popupCourseSemester"></span></p>
<p><strong>Prerequisites:</strong> <span id="popupCoursePrerequisites"></span></p>
<p><strong>Corequisites:</strong> <span id="popupCourseCorequisites"></span></p>
</div>
</div>
<div id="colorKey">
<h2>Color Key</h2>
<ul>
<li><span class="key-box prerequisite"></span> Prerequisites</li>
<li><span class="key-box corequisite"></span> Corequisites</li>
<li><span class="key-box postrequisite"></span> Postrequisites</li>
</ul>
</div>
<footer>
<p>© 2024 Project Flowchart. All rights reserved.</p>
<p>Made by Vladislav, Armaan, Divya, and Arnav</p>
</footer>
<div class="mode-switcher">
<span id="modeTitle">Dark Mode</span>
<label class="switch">
<input type="checkbox" id="modeToggle" checked>
<span class="slider"></span>
</label>
</div>
<script src="data.js"></script>
<script src="script.js"></script>
</body>
</html>