-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
51 lines (51 loc) · 1.58 KB
/
Copy pathindex.html
File metadata and controls
51 lines (51 loc) · 1.58 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<link rel="stylesheet" href="./index.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bulma@0.9.2/css/bulma.min.css">
</head>
<body>
<div class="wrapper">
<div class="content-wrapper">
<h1 id="title">McMaster Transcript Parser</h1>
<div class="form-item">
<label for="uploader">Upload your McMaster pdf transcript below:</label>
<input type="file" id="uploader" accept="application/pdf" onchange="PageController.parseFile()" />
</div>
<div class="form-item">
<label for="number-of-courses">Choose the last n number of courses you want to include:</label>
<input
id="number-of-courses"
type="number"
min="1"
onchange="PageController.updatePageData('numberOfCourses')" />
</div>
<div
class="form-item"
selected="12"
onchange="PageController.updatePageData('scale')">
<label for="scale">Choose the the gradepoint scale:</label>
<select name="scale" id="scale">
<option value="12">12 point</option>
<option value="4">4 point</option>
</select>
</div>
<button
id="submit"
onclick="PageController.calculateGpa()"
disabled>
Calculate GPA
</button>
<h1 id="displayed-grade"></h1>
</div>
</div>
<div class="charts-wrapper">
<div class="chart-card" id="average-per-semester"></div>
<div class="chart-card" id="individual-course-grades"></div>
</div>
<script src="src/index.js" type="text/javascript"></script>
</body>
</html>