-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathResults.html
105 lines (88 loc) · 3.62 KB
/
Results.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
<!DOCTYPE html>
<html>
<head>
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-SF3QTVTJNR"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-SF3QTVTJNR');
</script>
<meta charset="UTF-8">
<meta name="viewport" content="with-device-width">
<title>GPA Tracker</title>
<link rel='stylesheet' href='Sub_2.css'>
<link rel="icon" type="img/png" href="bongo_cat.jpg">
</head>
<body>
<h1>Student's Record</h1>
<div style="text-align:center;">
<button id="rawGrades" onclick="displayRaw(DEFAULT)">Raw Grades</button>
<button id="withSU" onclick="displaySU(DEFAULT)">With S/U</button><br>
</div>
<table class="record_table" id="table">
<tr>
<th>Year</th>
<th>Semester</th>
<th onclick="display(compareCode)">Module</th>
<th onclick="display(compareGrade)">Grade</th>
<th>MC</th>
<th>Remark</th>
</tr>
</table>
<br>
<section class="row1_block">
<form class="add_block" id="add_block">
<label class="new_module_label"><b>New Module</b></label>
<button class='delete_btn' onclick="delete_row()" type="button">Remove <br> a module</button><br>
<label class="add_label">Year : </label>
<!--<input type="text" id="year" onkeydown="handleEvent(event)" /><br>-->
<select id="year">
<option value=1>1</option>
<option value=2>2</option>
<option value=3>3</option>
<option value=4>4</option>
</select><br>
<label class="add_label">Semester : </label>
<select id="semester">
<option value=1>1</option>
<option value=2>2</option>
</select><br>
<label class="add_label">Module : </label>
<input type="text" id="module" onkeydown="handleEvent(event)" /><br>
<label class="add_label">Grade : </label>
<select id="grade">
<option value="A+">A+</option>
<option value="A">A</option>
<option value="A-">A-</option>
<option value="B+">B+</option>
<option value="B">B</option>
<option value="B-">B-</option>
<option value="C+">C+</option>
<option value="C">C</option>
<option value="D+">D+</option>
<option value="D">D</option>
<option value="F">F</option>
</select><br>
<label class="add_label">MC/Units : </label>
<input type="text" id="mc" onkeydown="handleEvent(event)" /><br>
<label class="add_label">Course Type : </label>
<input type="text" id="type" onkeydown="handleEvent(event)" /><br>
<label class="add_label">S/U : </label>
<select id="SU">
<option value="no">No</option>
<option value="yes">Yes</option>
</select>
<button id="add_btn" onclick="add_row()" type="button" style="font-size: 24px;">Add</button>
</form>
<br>
<div class="cap_block">
<label>GPA</label><br>
<label class="cap_label" id="cap_label">0.00</label>
</div>
</section>
<br>
<script src="Script_2.js"></script>
</body>
</html>