forked from galacemiguel/compsat-qpi-calc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
274 lines (229 loc) · 10.4 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
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
<!DOCTYPE html>
<html>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-46284584-12"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-46284584-12');
</script>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta property="og:image" content="http://qpi.compsat.org/qpi-promo.png">
<meta property="og:description" content="Want to compute your QPI without waiting for AISIS to do so? Too lazy to use a spreadsheet program? Then try the QPI Calculator from CompSAt’s RnD department!">
<link rel="apple-touch-icon" sizes="57x57" href="assets/images/apple-icon-57x57.png">
<link rel="apple-touch-icon" sizes="60x60" href="assets/images/apple-icon-60x60.png">
<link rel="apple-touch-icon" sizes="72x72" href="assets/images/apple-icon-72x72.png">
<link rel="apple-touch-icon" sizes="76x76" href="assets/images/apple-icon-76x76.png">
<link rel="apple-touch-icon" sizes="114x114" href="assets/images/apple-icon-114x114.png">
<link rel="apple-touch-icon" sizes="120x120" href="assets/images/apple-icon-120x120.png">
<link rel="apple-touch-icon" sizes="144x144" href="assets/images/apple-icon-144x144.png">
<link rel="apple-touch-icon" sizes="152x152" href="assets/images/apple-icon-152x152.png">
<link rel="apple-touch-icon" sizes="180x180" href="assets/images/apple-icon-180x180.png">
<link rel="icon" type="image/png" sizes="192x192" href="assets/images/android-icon-192x192.png">
<link rel="icon" type="image/png" sizes="32x32" href="assets/images/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="96x96" href="assets/images/favicon-96x96.png">
<link rel="icon" type="image/png" sizes="16x16" href="assets/images/favicon-16x16.png">
<link rel="manifest" href="manifest.json">
<meta name="msapplication-TileColor" content="#FFFFFF">
<meta name="msapplication-TileImage" content="assets/images/ms-icon-144x144.png">
<meta name="theme-color" content="#383B37">
<title>CompSAt QPI Calculator</title>
<link rel="stylesheet" href="assets/css/reset.css">
<link href='https://fonts.googleapis.com/css?family=Open+Sans:600italic,700,600,400' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="assets/css/main.css">
<link rel="stylesheet" href="assets/css/introjs.min.css">
<link rel="stylesheet" href="assets/css/introjs-modern.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.0/jquery.min.js"></script>
<script src="assets/js/app.js"></script>
<script src="assets/js/fontawesome-all.js"></script>
<script src="assets/js/intro.min.js"></script>
</head>
<body>
<header>
<a id="brandmark" href="http://compsat.org/"></a>
<h1 >QPI Calculator</h1>
</header>
<section id="qpi-page" class="page">
<div class="page-container">
<div class="input-card-container">
<div class="card input-card" id="step1" >
<div class="add-fill-reset">
<button class="add-btn add-fcn" id="step3" > <i class="fas fa-plus"></i> Add</button>
<button class="fill-btn" id="step4"type="button" data-toggle="modal" data-target="#myModal"><i class="fas fa-paste"></i> Fill</button>
<button class="res-btn" id="step5"><i class="fas fa-redo-alt"></i> Reset</button>
</div>
<table class="input-table">
<tr >
<th class="course-code-col">Course Code</th>
<th>Letter Mark</th>
<th>No. of Units</th>
</tr>
<tr class="input-row">
<td class="course-code-col">
<input class="course-code"></input>
</td>
<td>
<select class="input-select grade-select" name="grade">
<option value="-" selected="selected">-</option>
<option value="4.00">A</option>
<option value="3.50">B+</option>
<option value="3.00">B</option>
<option value="2.50">C+</option>
<option value="2.00">C</option>
<option value="1.00">D</option>
<option value="0.00">F</option>
<option value="0.00">W</option>
</select>
</td>
<td>
<select class="input-select unit-select" name="units">
<option value="1">1</option>
<option value="2">2</option>
<option value="3" selected="selected">3</option>
<option value="4">4</option>
<option value="5">5</option>
<option value="6">6</option>
</select>
</td>
<td class="delete-btn">x</td>
</tr>
</table>
<!-- Modal -->
<div class="modal fade" id="myModal" role="dialog">
<div class="modal-dialog">
<!-- Modal content-->
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal">×</button>
<h4 class="modal-title">Auto Fill Up</h4>
<p>Go to your AISIS account and head to MY GRADES. Select the ALL GRADES view and copy the entire table</p>
<a class ="modal-title go-to-aisis" href="http://aisis.ateneo.edu" target="_blank">Go to AISIS <i class="fas fa-sign-in-alt"></i></a>
<h5 class="modal-error">*Invalid input</h5>
</div>
<div class="modal-body">
<textarea class="txt-area"></textarea>
</div>
<div class="modal-footer">
<!-- button on close and to fill up -->
<button type="button" class="modal-fill-btn" data-dismiss="modal">Fill Up</button>
<button type="button" class="modal-cl-btn" data-dismiss="modal">Cancel</button>
</div>
</div>
</div>
</div>
</div>
<!---->
<!-- <h2 class="desc-instructions" >Instructions <a data-toggle="modal" data-target="#myModal2">Here!</a></h2><br> -->
<!-- Modal -->
<div class="modal fade" id="myModal2" role="dialog">
<div class="modal-dialog">
<!-- Modal content-->
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal">×</button>
<h4 class="modal-title">Instructions</h4>
</div>
<div class="modal-body">
<p class="modal-p">
HOW TO USE CUMULATIVE QPI CALCULATOR<br><br>
<strong>STEP 1:</strong> Copy grades from AISIS website.<br>
<strong>STEP 2:</strong> Click the FILL button and paste your grades in the pop-up text field. Click FILL UP to automatically add your grades into the app.<br>
<strong>STEP 3:</strong> Enter your DESIRED CUMULATIVE QPI in the provided text field<br>
<strong>STEP 4:</strong> Enter the number of units you have this current semester<br>
<strong>STEP 5:</strong> View MINIMUM REQUIRED QPI to see what QPI you need to get for the current semester to reach your TARGET END QPI<br><br>
NOTE: Subjects with an NSTP, INTAC, or PE course code is automatically excluded when filling up your grades<br>
</p>
</div>
</div>
</div>
</div>
</div>
<div class="output-card-container">
<div class="output-card" id="step2" >
<span class="qpi-heading">Your QPI</span>
<span class="qpi-display">-</span>
</div>
<div class="wrap-collapsible">
<input id="collapsible" class="toggle" type="checkbox">
<label for="collapsible" class="lbl-toggle">Cumulative QPI Calculator</label>
<div class="collapsible-content">
<div class="content-inner">
<div class="output-card2">
<button class="intro-btn" href="javascript:void(0);" onclick="startIntro();"><i class="fas fa-question-circle"></i> How To Use</button>
<div id="step8" class="output-card2-display-block" >
<span class="qpi-heading">Minimum Required QPI</span>
<span class="qpi-display2 target-qpi">2.5</span>
</div>
<div id="step6" class="output-card2-display-block" >
<span class="qpi-heading">Desired Cumulative QPI</span>
<input class="target-end qpi-display2 qpi-display2-input" value="2.5">
</div>
<div id="step7" class="output-card2-display-block">
<span class="qpi-heading" >Units Left to Take</span>
<input class="sem-units qpi-display2 qpi-display2-input" value="18"></input>
</div>
</div>
</div>
</div>
</div>
<small class="by-text">Designed and developed by the <a href="http://compsat.org">Computer Society of the Ateneo</a>.
</small>
</div>
</section>
<script type="text/javascript">
function startIntro(){
var intro = introJs();
intro.setOption('showStepNumbers', false);
intro.setOption('showBullets', false);
intro.setOption('showProgress', true);
intro.setOptions({
steps: [
{
intro: "Welcome to the new CompSAt Cumulative QPI Calculator! Let's take a tour on how to get started."
},
{
intro: "We can now help you figure out what QPI you need to meet your target QPI."
},
{
intro: "First, we'll need to know your current standing. Open up the MY GRADES page on AISIS and select ALL GRADES, then click on DISPLAY GRADES."
},
{
intro: "From there, highlight and copy all your grades from the first row down, beginning after the table headers."
},
{
element: document.querySelectorAll('#step4')[0],
intro: "Then, paste them into the site after clicking on this button."
},
{
intro: "Your grades should then be automatically added below."
},
{
element: document.querySelectorAll('#step6')[0],
intro: "Next, indicate here your target QPI for the end of the semester (or for the year or even until you graduate!).",
position: 'left'
},
{
element: document.querySelectorAll('#step7')[0],
intro: "Then, indicate here the number of units you're taking for that period.",
position: 'left'
},
{
element: document.querySelectorAll('#step8')[0],
intro: "Our QPI calculator will then analyze your grades and give you the minimum QPI you'll need to reach your goal!",
position: 'left'
},
{
intro: "You're all set! We know you can make the grade! <br> Love, CompSAt ❤"
}
]
});
intro.start();
}
</script>
</body>
</html>