-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.html
243 lines (235 loc) · 8.18 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
<!DOCTYPE html>
<html>
<head>
<title>UNT Grade Distributions</title>
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-152614845-1"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.11.0/umd/popper.min.js"
integrity="sha384-b/U6ypiBEHpOf/4+1nzFpr53nxSS+GLCkfwBdFNTxtclqqenISfwAzpKaMNFNmj4"
crossorigin="anonymous"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() {
dataLayer.push(arguments);
}
gtag("js", new Date());
gtag("config", "UA-152614845-1");
</script>
<meta content="text/html;charset=utf-8" http-equiv="Content-Type" />
<meta content="utf-8" http-equiv="encoding" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no, viewport-fit=cover" />
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.2/css/bootstrap.min.css"
integrity="sha384-y3tfxAZXuh4HwSYylfB+J125MxIs6mR5FOHamPBG064zB+AFeWH94NdvaCBm8qnd" crossorigin="anonymous" />
<link href="https://fonts.googleapis.com/css?family=Lato" rel="stylesheet" />
<link href="https://fonts.googleapis.com/css?family=Poppins:400,700&display=swap" rel="stylesheet">
<link href="styles.css" rel="stylesheet" type="text/css" />
<link rel="shortcut icon" type="image/png" href="static/logo.png" />
</head>
<body>
<!-- // Landing section -->
<div id="landing">
<h1>
<img src="static/logo.png">
<span class="accent">UNT</span> Grade Distributions
</h1>
<div class="content">
<h2>Free, as they should be</h2>
<hr/>
<p>
Unlimited access to grade distributions in all classes in Fall 2017, Spring 2018, Fall 2018, and Spring 2019. Transparency for your academic success.
</p>
<p>
Grade distributions are historical data on how many letter grades of each kind were handed out in classes. Picking classes with favorable grade distributions helps you increase your chance of academic success and timely graduation.
</p>
<div class="buttons">
<button onclick="document.getElementById('main').scrollIntoView({behavior: 'smooth', block: 'start'})">
Get Started
</button>
<button class="disabled" onclick="document.getElementBySelecter('#search h2').scrollIntoView({behavior: 'smooth', block: 'start'})" title="Sorry, at the moment we are not in need of donations!">
Support Us
</button>
</div>
</div>
</div>
<!-- Search section -->
<div id="main">
<div id="search">
<h2 class="content-header">Search</h2>
<hr/>
<form onsubmit="instantFind()" action="javascript:void(0)">
<div class="form-item">
<label for="semester">Semester</label>
<select id="semester" name="semester">
<option value="all">All semesters</option>
<option value="2017 Fall">2017 Fall - 1178</option>
<option value="2018 Spring">2018 Spring - 1181</option>
<option value="2018 Fall">2018 Fall - 1188</option>
<option value="2019 Spring">2019 Spring - 1191</option>
</select>
</div>
<div class="double-form-item">
<div class="form-item">
<label for="subject">Subject</label>
<input id="subject" name="subject" placeholder="MATH" oninput="instantFind()">
</div>
<div class="form-item">
<label for="course">Course</label>
<input id="course" name="course" placeholder="1710" oninput="instantFind()">
</div>
</div>
<div class="form-item">
<label for="desc">Class Name</label>
<input id="desc" name="desc" placeholder="CALCULUS I" oninput="instantFind()">
</div>
<div class="form-item">
<label for="instructor">Instructor</label>
<input id="instructor" name="instructor" placeholder="Smith" oninput="instantFind()">
</div>
<button id="search-button">
Search
</button>
</form>
<div id="sections">
<h2 class="content-header">Select</h2>
<hr/>
<ul id="select_result">
<p>
Any classes found matching the search criteria will be listed here
</p>
</ul>
</div>
</div>
<div id="graph">
<div id="results">
<h2 class="content-header">Results</h2>
<hr/>
<div id="chart">
Your graph will be displayed here
</div>
</div>
<div id="share" class="form-item">
<label for="sharelink">Share</label>
<input id="sharelink" name="sharelink" type="text" onclick="this.setSelectionRange(0, this.value.length)">
</div>
<div id="grade-key">
<h3 class="content-header">Grading Key</h2>
<ul>
<li>
<span class="accent">A</span> - Excellent
|
<span class="accent">B</span> - Good
</li>
<li>
<span class="accent">C</span> - Fair
|
<span class="accent">D</span> - Passing
</li>
<li>
<span class="accent">F</span> - Fail
|
<span class="accent">NP</span> - Not Passed
</li>
<li>
<span class="accent">I</span> - Incomplete
</li>
<li>
<span class="accent">W</span> - Withdrawal, No Penalty
|
<span class="accent">WR</span> - Withdrawal, Failure
</li>
<li>
<span class="accent">PR</span> - Thesis Progress
|
<span class="accent">NPR</span> - No Thesis Progress
</li>
<li>
<span class="accent">Z</span> - Placeholder for improperly recorded grades
</li>
</ul>
</div>
</div>
</div>
<!-- Footer section -->
<div id="footer">
<p>
<div>
<span class="line">
© 2018–2020 the UNT Grade Distributions Team:
<span class="line">
<span class="line">
<a href="https://garrettgu.com" target="_blank" rel="noopener noreferrer">Garrett Gu</a>,
<a href="https://jeffw.xyz" target="_blank" rel="noopener noreferrer">Jeffrey Wang</a>,
<a href="https://www.linkedin.com/in/josephwickline/" target="_blank" rel="noopener noreferrer">Joseph Wickline</a>,
</span>
<span class="line">
<a href="http://prestja.com" target="_blank" rel="noopener noreferrer">Jacob Preston</a>,
<a href="mailto:[email protected]" target="_blank" rel="noopener noreferrer">Jordan Hamilton</a>,
<a href="https://jakergrossman.xyz" target="_blank" rel="noopener noreferrer">Jake Grossman</a>.
</span>
</span>
</div>
</p>
<p>
<span class="line">
You may download distribution data at no
</span>
<span class="line">
cost from <a href="https://github.com/jeffw16/unt-grade-distributions/tree/master/static"> this</a> GitHub repository.
</span>
</p>
<p>
<span class="line">
<span class="line">Some functionality borrowed from the</span>
<span class="line">UT Catalyst Grade Distributions tool.</span>
</span>
<span class="line">
<span class="line">Not affiliated with or sponsored</span>
<span class="line">by the University of North Texas.</span>
</span>
</p>
</div>
<!-- banner -->
<div id="banner">
<div>
<span class="line">
(2/18/2020)
</span>
<span class="line">
We are currently working on getting grade distributions for Fall 2019.
</span>
<span class="line">
Updates will be sent to
</span>
<span class="line">
<a href="https://www.reddit.com/r/UNT">the UNT subreddit</a>.
</span>
<span class="line">
– The UNT Grade Distributions Team
</span>
</div>
<button onclick="closeBanner()">X</button>
</div>
<!-- Additional JavaScript -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/js/bootstrap.min.js"
integrity="sha384-wfSDF2E50Y2D1uUdj0O3uMBJnjuUD4Ih7YwaYd1iqfktj0Uod8GCExl3Og8ifwB6"
crossorigin="anonymous"></script>
<script src="nedb.min.js"></script>
<script src="https://code.highcharts.com/highcharts.js"></script>
<script src="index.js"></script>
<script>
$(function () {
if (grades !== null) {
var term = getParameterByName("term");
var subj = getParameterByName("subj");
var num = getParameterByName("num");
var sect = getParameterByName("sect");
var desc = getParameterByName("desc");
var prof = getParameterByName("prof");
var grades = JSON.parse(atob(getParameterByName("grades")));
var result = { term, subj, num, sect, desc, prof, grades };
compileChart(result);
}
});
</script>
</body>
</html>