-
Notifications
You must be signed in to change notification settings - Fork 3
/
index.html
113 lines (85 loc) · 5.13 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
<!DOCTYPE html>
<html>
<head>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-173614963-1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-173614963-1');
</script>
<link rel="shortcut icon" href="img/map.ico">
<meta charset="utf-8">
<title>Major Map Initiative</title>
<link rel="stylesheet" href="styles.css">
<script type="text/javascript" src="https://d3js.org/d3.v4.min.js"></script>
<!-- CSS only -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/css/bootstrap.min.css" integrity="sha384-9aIt2nRpC12Uk9gS9baDl411NQApFmC26EwAOH8WgZl5MYYxFfc+NcPb1dKGj7Sk" crossorigin="anonymous">
<!-- JS, Popper.js, and jQuery -->
<script src="https://code.jquery.com/jquery-3.5.1.min.js" ></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/umd/popper.min.js" ></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/js/bootstrap.min.js" ></script>
</head>
<body id = "grad">
<div class = "container" id = "front_page">
<div class = "row" >
<div class = "col" >
<h1 id = "logo">
<img src = "./img/triton_logo.png" height="55"> </img>
Major Map Initiative
</h1>
<div id="navbar"></div>
<p>The prerequisite mapper lists all the prerequisites for a given class in an intuitive, interactive diagram.</p>
<p>Check out the tutorial below the prerequisite mapper to understand how to use it.</p>
<p style = "font-size: 15px; color: gray"> <i> Note: this applet is under development and may have bugs or slightly off prerequisites for certain courses. If you notice anything off please let us know. </i></p>
<div class = "container">
<label for="tags">Enter a course: </label>
<link rel="stylesheet" href="https://ajax.googleapis.com/ajax/libs/jqueryui/1.12.1/themes/smoothness/jquery-ui.css">
<script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.12.1/jquery-ui.min.js"></script>
<input placeholder = "e.g. MATH 109" onfocus="this.value=''" id="parent_course">
<!-- <button id="display" class="first last">Generate prerequisite map</button> -->
<button id = "display" type="submit" class="btn btn-primary">Generate prerequisite map</button>
</div>
<div id = "mapper_div"></div>
<script src = "./js/prereq_grapher.js"></script>
<h2 id = "tutorial">Tutorial</h2>
<p><i>Note: Examples used in the tutorial may be inaccurate for the sake of simplification and/or due to updated course catalogs.</i></p>
<div style = "padding-left: 260px;">
<div class="card text-white bg-dark mb-3" style="max-width: 35rem;">
<img class="card-img-top" src="./img/tut_hover.png" alt="Card image cap">
<div class="card-body">
<h5 class="card-title">Hover on a course node to display the title.</h5>
</div>
</div>
<div class="card text-white bg-dark mb-3" style="max-width: 35rem;">
<img class="card-img-top" src="./img/tut_click.png" alt="Card image cap">
<div class="card-body">
<h5 class="card-title">Click on a course node to show its description.</h5>
<p class="card-text" >There may be additional details in between asterisks at the end of the description. </p>
</div>
</div>
<div class="card text-white bg-dark mb-3" style="max-width: 35rem;">
<img class="card-img-top" src="./img/tut_untanglement.png" alt="Card image cap">
<div class="card-body">
<h5 class="card-title">Maps may generate messily.</h5>
<p class="card-text" >Drag nodes around to rearrange however you like. </p>
</div>
</div>
<div class="card text-white bg-dark mb-3" style="max-width: 35rem;">
<img class="card-img-top" src="./img/tut_colors.png" alt="Card image cap">
<div class="card-body">
<h5 class="card-title">Arrow colors indicate groupings. </h5>
<p class="card-text" >-Arrows of the same color mean that either one satisfies the course they are pointing to. <br>
- Black arrows indicate that there are no alternatives for that prerequisite. <br>
- In this example, either COGS 109 or COGS 108 (green arrows) can be taken before COGS 118A. Both Math 20E and Math are required.<br>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
<!-- <script src = "./js/nav.js"></script> -->
<script src="./js/loadNav.js"></script>
</html>