-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
537 lines (466 loc) · 22.8 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
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
<!doctype html>
<html lang="en">
<head>
<title>Home | EaseStudy - Learning app</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- <link rel="stylesheet" href="styles.css"> -->
<link rel="manifest" href="includes/manifest.json">
<meta name="theme-color" content="#ffffff" />
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge, chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<!-- VENDOR CSS -->
<link rel="stylesheet" href="static/assets/vendor/bootstrap/css/bootstrap.min.css">
<link rel="stylesheet" href="static/assets/vendor/font-awesome/css/font-awesome.min.css">
<link rel="stylesheet" href="static/assets/vendor/linearicons/style.css">
<link rel="stylesheet" href="static/assets/vendor/metisMenu/metisMenu.css">
<link rel="stylesheet" href="static/assets/vendor/toastr/toastr.min.css">
<!-- MAIN CSS -->
<link rel="stylesheet" href="static/assets/css/main.css">
<!-- FOR DEMO PURPOSES ONLY. You should remove this in your project -->
<link rel="stylesheet" href="static/assets/css/demo.css">
<!-- GOOGLE FONTS -->
<link href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,600,700" rel="stylesheet">
<!-- ICONS -->
<link rel="apple-touch-icon" sizes="76x76" href="static/assets/img/apple-iconNew.png">
<link rel="icon" type="image/png" sizes="96x96" href="static/assets/img/faviconNew.png">
</head>
<body>
<!-- WRAPPER -->
<div id="wrapper">
<!-- NAVBAR -->
<nav class="navbar navbar-default navbar-fixed-top">
<div class="container-fluid">
<div class="navbar-btn">
<button type="button" class="btn-toggle-offcanvas"><i class="lnr lnr-menu"></i></button>
</div>
<!-- logo -->
<div class="navbar-brand">
<a href="./">EaseStudy
<!-- <img src="static/assets/img/logo.png" alt="DiffDash Logo" class="img-responsive logo"> -->
</a>
</div>
<!-- end logo -->
<div class="navbar-right">
<!-- navbar menu -->
<div id="navbar-menu">
<ul class="nav navbar-nav">
<li class="dropdown">
<a href="#" class="dropdown-toggle icon-menu" data-toggle="dropdown">
<i class="lnr lnr-book"></i>
<span class="notification-dot"></span>
</a>
<ul id="records-view" class="dropdown-menu notifications">
</ul>
</li>
<li class="dropdown">
<a href="#" class="dropdown-toggle icon-menu" data-toggle="dropdown">
<i class="lnr lnr-cog"></i>
</a>
<ul class="dropdown-menu user-menu menu-icon">
<li class="menu-heading"><i class="fa fa-fw fa-sliders"></i> MODE SETTINGS</li>
<li class="interactive-view"><a><i class="fa fa-fw fa-bell"></i> <span class="text-primary">INTERACTIVE MODE</span> is active</a></li>
<li class="interactive-view"><a><i class="fa fa-fw fa-lock"></i> <span>Make Studying fun by providing alert when answer a question right or wrong</span></a></li>
<li class="interactive-view"><a><i class="fa fa-fw fa-sliders"></i> <span class="text-warning">Switch To:</span></a></li>
<li class="menu-button interactive-view">
<button onclick="changeMode('focus')" class="btn btn-success" data-container="body" data-toggle="popover" data-trigger="hover" data-placement="bottom" data-content="Make Studying more effective by allowing you to focus until you view Assessment." data-original-title="" title=""><i class="fa fa-edit"></i> FOCUS MODE</button>
</li>
<li class="focus-view"><a><i class="fa fa-fw fa-edit"></i> <span class="text-success">FOCUS MODE</span> is active</a></li>
<li class="focus-view"><a><i class="fa fa-fw fa-lock"></i> <span>Make Studying more effective by allowing you to focus until you view Assessment</span></a></li>
<li class="focus-view"><a><i class="fa fa-fw fa-sliders"></i> <span class="text-warning">Switch To:</span></a></li>
<li class="menu-button focus-view">
<button onclick="changeMode('interactive')" class="btn btn-primary" data-container="body" data-toggle="popover" data-trigger="hover" data-placement="bottom" data-content="Make Studying fun by providing alert when answer a question right or wrong." data-original-title="" title=""><i class="fa fa-bell"></i> INTERACTIVE MODE</button>
</li>
<li class="menu-heading">ACCOUNT SETTINGS</li>
<li><a href="#"><i class="fa fa-fw fa-user"></i> <span class="student-name">Student</span></a></li>
<li class="menu-button">
<button onclick="resetAccount()" class="btn btn-danger" data-container="body" data-toggle="popover" data-trigger="hover" data-placement="bottom" data-content="ALERT!!! By reseting your account, all Assessment Record will be reset as well. " data-original-title="" title=""><i class="fa fa-refresh"></i> RESET ACCOUNT</button>
</li>
</ul>
</li>
</ul>
</div>
<!-- end navbar menu -->
</div>
</div>
</nav>
<!-- END NAVBAR -->
<!-- LEFT SIDEBAR -->
<div id="left-sidebar" class="sidebar">
<button type="button" class="btn btn-xs btn-link btn-toggle-fullwidth">
<span class="sr-only">Toggle Fullwidth</span>
<i class="fa fa-angle-left"></i>
</button>
<div class="sidebar-scroll">
<div class="user-account">
<div class="dropdown">
<a href="#" class="dropdown-toggle user-name" data-toggle="dropdown">Hello, <strong><span class="student-name">Student</span></strong> <i class="fa fa-caret-down"></i></a>
<ul class="dropdown-menu dropdown-menu-right account">
<li><a onclick="resetRecords()">Clear Records</a></li>
<li class="divider"></li>
<li><a onclick="resetAccount()">Reset Accounts</a></li>
</ul>
</div>
</div>
<nav id="left-sidebar-nav" class="sidebar-nav">
<ul id="main-menu" class="metismenu">
<li class=""><a href="./"><i class="lnr lnr-home"></i> <span>Home</span></a></li>
<li class=""><a data-toggle="modal" data-target="#About-modal"><i class="lnr lnr-question-circle"></i> <span>About</span></a></li>
</ul>
</nav>
<div id="Side-Assesment" style="padding: 30px; text-align: center;">
</div>
</div>
</div>
<!-- END LEFT SIDEBAR -->
<!-- MAIN CONTENT -->
<div id="main-content">
<div id="main-contentArea" class="">
<!-- homepage -->
<img src="static/assets/img/lazyload.gif" alt="Loading..." class="img img-responsive img-fluid"/>
<!-- quiz page -->
</div>
<!-- <button type="button" class="btn btn-default" data-toggle="modal" data-target="#About-modal">Large modal</button>
<br>
<br> -->
<div id="About-modal" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="myLargeModalLabel">
<div class="modal-dialog modal-md" role="document">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
<h4 class="modal-title" id="myModalLabel">About EaseStudy</h4>
</div>
<div class="modal-body">
<img src="static/assets/img/about.gif" alt="about" class="img img-responsive img-fluid"/>
<div class="navbar-brand">
<a href="./" class="text-larger">EaseStudy
</a>
</div>
<p>is an offline-first Progressive Web Application take on as a project by Benjamin Owusu and Edmund Oakley Inkumsah. The two sought to provide an app which makes prepping for WASSCE as easy as it can be. You'll find out that it's quite unique from other websites and apps out there.</p>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal"><i class="fa fa-times-circle"></i> Close</button>
</div>
</div>
</div>
</div>
<div id="startupModal" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="myLargeModalLabel">
<div class="modal-dialog modal-lg" role="document">
<div class="modal-content">
<!-- <div class="modal-header">
</div> -->
<div class="modal-body">
<center><img src="static/assets/img/welcome1.jpg" alt="welcome" class="img img-responsive img-fluid"/></center>
<h2>Welcome to EaseStudy. I'm here to help making studying for WASSCE as easy as possible. <span class="text-larger text-primary"> Let's get started</span> </h2>
<div class="margin-bottom-30"></div>
<div class="margin-bottom-30"></div>
<img src="static/assets/img/loader.gif" alt="ready" class="img img-responsive" style="height:15%;width:15%"/>
<form class="search-form help-search-form">
<input id="startupInput" name="studentInput" class="form-control" placeholder="How can I call You?" type="text">
<button type="button" class="btn btn-default"><i class="fa fa-fw fa-user"></i></button>
<label for="studentName">NB: Needed for Identifying you and your records. <br> Hence, personalizing your experience on EaseStudy</label>
</form>
</div>
<div class="modal-footer">
<!-- <button type="button" class="btn btn-default" data-dismiss="modal"><i class="fa fa-times-circle"></i> Close</button> -->
<button type="button" onclick="registerAccount()" class="btn btn-primary" data-dismiss="modal"><i class="fa fa-check-circle"></i> Get Started</button>
</div>
</div>
</div>
</div>
<div id="assessModal" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="myLargeModalLabel">
<div class="modal-dialog modal-md" role="document">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
<h4 class="modal-title" id="myModalLabel">Assesment Sheet</h4>
</div>
<div class="modal-body"><center>
<img id="assess-loader" src="static/assets/img/loader.gif" alt="about" class="img img-responsive mx-auto" style="height:30%;width:40%"/></center>
<div id="sheet-heading" class="section-heading">
</div>
<div id="sheet-body" class="section-body">
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal"><i class="fa fa-times-circle"></i> Close</button>
</div>
</div>
</div>
</div>
</div>
<!-- END MAIN CONTENT -->
<div class="clearfix"></div>
<footer>
<p class="copyright">© 2020 <a href="https://easestudy.campusinsider.net" target="_blank">EaseStudy</a>. All Rights Reserved.</p>
</footer>
</div>
<!-- END WRAPPER -->
<!-- Javascript -->
<script src="static/assets/vendor/jquery/jquery.min.js"></script>
<script src="static/assets/vendor/bootstrap/js/bootstrap.min.js"></script>
<script src="static/assets/vendor/metisMenu/metisMenu.js"></script>
<script src="static/assets/vendor/jquery-slimscroll/jquery.slimscroll.min.js"></script>
<script src="static/assets/vendor/toastr/toastr.js"></script>
<script src="static/assets/scripts/common.js"></script>
<script src="includes/app.js"></script>
<script src="includes/main.js"></script>
<script>
$(function() {
toastr.options.timeOut = "500";
toastr.options.closeButton = true;
toastr.options.positionClass = 'toast-bottom-right';
toastr['info']('Hi there, welcome back');
$('.btn-toastr').on('click', function() {
$context = $(this).data('context');
$message = $(this).data('message');
$position = $(this).data('position');
if ($context === '') {
$context = 'info';
}
if ($position === '') {
$positionClass = 'toast-bottom-right';
} else {
$positionClass = 'toast-' + $position;
}
toastr.remove();
toastr[$context]($message, '', {
positionClass: $positionClass
});
});
$('#toastr-callback1').on('click', function() {
$message = $(this).data('message');
toastr.options = {
"timeOut": "300",
"onShown": function() {
alert('onShown callback');
},
"onHidden": function() {
alert('onHidden callback');
}
};
toastr['info']($message);
});
$('#toastr-callback2').on('click', function() {
$message = $(this).data('message');
toastr.options = {
"timeOut": "10000",
"onclick": function() {
alert('onclick callback');
},
};
toastr['info']($message);
});
$('#toastr-callback3').on('click', function() {
$message = $(this).data('message');
toastr.options = {
"timeOut": "10000",
"closeButton": true,
"onCloseClick": function() {
alert('onCloseClick callback');
}
};
toastr['info']($message);
});
});
</script>
<div id="pages" class="d-none">
<div id="homeView" class="">
<!-- Select Questions -->
<div id="homepage" class="container-fluid">
<div class="section-heading">
<h2 class="heading"><i class="fa fa-square"></i> Select Subject</h2>
<a href="#" class="right">Study with us from our library of WAEC Past Questions</a>
<!-- <h1 class="page-title">Select Subject</h1> -->
</div>
<div id="home-panels" class="panel-content">
<!-- <strong>Message Context</strong> -->
<div class="row">
<div class="col-md-6 col-sm-6">
<a href="#collapseCardEnglish" class="d-block card-header py-3" data-toggle="collapse" role="button" aria-expanded="true" aria-controls="collapseCardEnglish">
<div class="number-chart">
<!-- <div class="mini-stat">
<div id="" class="">Subject</div>
</div> -->
<div class="number"><span>English Language</span><span>2017 - 2018</span></div>
<p class="text-muted"><i class="fa fa-pencil text-success"></i> Objectives & Written</p>
<!-- Collapsable Card Example -->
<div class="card shadow mb-4">
<!-- Card Header - Accordion -->
<!-- <a href="#collapseCardExample" class="d-block card-header py-3" data-toggle="collapse" role="button" aria-expanded="true" aria-controls="collapseCardExample"> -->
<h4 class="m-0 font-weight-bold text-primary">Get Started</h4>
</a>
<!-- Card Content - Collapse -->
<div class="collapse" id="collapseCardEnglish">
<div class="card-body m-3 ml-3 mr-3 row">
<div class="col-md-2 col-sm-1 col-xs-1">
</div>
<div class="col-md-8 col-sm-10 col-xs-10">
<label for="">Select Year</label>
<form class="form-group" action="index.html" method="post">
<select id="english-year" class="form-control ml-3 mr-3" name="select" required>
<optgroup label="Year">
<option value="2017">2017</option>
<option value="2018">2018</option>
</optgroup>
</select>
<button id="eng-btn" type="button" name="button" class="btn btn-primary btn-block study" onclick="study('english')" subject="english">Study</button>
</form>
<strong>NB: </strong>
Something probably <strong>important</strong> about the subject!
</div>
<div class="col-md-2 col-sm-1 col-xs-1">
</div>
</div>
</div>
</div>
</div>
</div>
<div class="col-md-6 col-sm-6">
<a href="#collapseCardMaths" class="d-block card-header py-3" data-toggle="collapse" role="button" aria-expanded="true" aria-controls="collapseCardMaths">
<div class="number-chart">
<!-- <div class="mini-stat">
<div id="" class="">Subject</div>
</div> -->
<div class="number"><span>Core Mathematics</span><span>2017 - 2018</span></div>
<p class="text-muted"><i class="fa fa-pencil text-success"></i> Objectives & Written</p>
<!-- Collapsable Card Example -->
<div class="card shadow mb-4">
<!-- Card Header - Accordion -->
<!-- <a href="#collapseCardExample" class="d-block card-header py-3" data-toggle="collapse" role="button" aria-expanded="true" aria-controls="collapseCardExample"> -->
<h4 class="m-0 font-weight-bold text-primary">Get Started</h4>
</a>
<!-- Card Content - Collapse -->
<div class="collapse" id="collapseCardMaths">
<div class="card-body m-3 ml-3 mr-3 row">
<div class="col-md-2 col-sm-1 col-xs-1">
</div>
<div class="col-md-8 col-sm-10 col-xs-10">
<label for="">Select Year</label>
<form class="form-group" action="index.html" method="post">
<select id="maths-year" class="form-control ml-3 mr-3" required>
<optgroup label="Year">
<option value="2017">2017</option>
<option value="2018">2018</option>
</optgroup>
</select>
<button id="maths-btn" type="button" name="button" class="btn btn-primary btn-block study" onclick="study('maths')" subject="maths">Study</button>
</form>
<strong>NB: </strong>
Something probably <strong>important</strong> about the subject!
</div>
<div class="col-md-2 col-sm-1 col-xs-1">
</div>
</div>
</div>
</div>
</div>
</div>
<div class="col-md-6 col-sm-6">
<a href="#collapseCardScience" class="d-block card-header py-3" data-toggle="collapse" role="button" aria-expanded="true" aria-controls="collapseCardScience">
<div class="number-chart">
<!-- <div class="mini-stat">
<div id="" class="">Subject</div>
</div> -->
<div class="number"><span>Integrated Science</span><span>2017 - 2018</span></div>
<p class="text-muted"><i class="fa fa-pencil text-success"></i> Objectives & Written</p>
<!-- Collapsable Card Example -->
<div class="card shadow mb-4">
<!-- Card Header - Accordion -->
<!-- <a href="#collapseCardExample" class="d-block card-header py-3" data-toggle="collapse" role="button" aria-expanded="true" aria-controls="collapseCardExample"> -->
<h4 class="m-0 font-weight-bold text-primary">Get Started</h4>
</a>
<!-- Card Content - Collapse -->
<div class="collapse" id="collapseCardScience">
<div class="card-body m-3 ml-3 mr-3 row">
<div class="col-md-2 col-sm-1 col-xs-1">
</div>
<div class="col-md-8 col-sm-10 col-xs-10">
<label for="">Select Year</label>
<form class="form-group" action="index.html" method="post">
<select id="science-year" class="form-control ml-3 mr-3" required>
<optgroup label="Year">
<option value="2017">2017</option>
<option value="2018">2018</option>
</optgroup>
</select>
<button id="sci-btn" type="button" name="button" class="btn btn-primary btn-block study" onclick="study('science')" subject="science">Study</button>
</form>
<strong>NB: </strong>
Something probably <strong>important</strong> about the subject!
</div>
<div class="col-md-2 col-sm-1 col-xs-1">
</div>
</div>
</div>
</div>
</div>
</div>
<div class="col-md-6 col-sm-6">
<a href="#collapseCardSocial" class="d-block card-header py-3" data-toggle="collapse" role="button" aria-expanded="true" aria-controls="collapseCardSocial">
<div class="number-chart">
<!-- <div class="mini-stat">
<div id="" class="">Subject</div>
</div> -->
<div class="number"><span>Social Studies</span><span>2017 - 2018</span></div>
<p class="text-muted"><i class="fa fa-pencil text-success"></i> Objectives & Written</p>
<!-- Collapsable Card Example -->
<div class="card shadow mb-4">
<!-- Card Header - Accordion -->
<!-- <a href="#collapseCardExample" class="d-block card-header py-3" data-toggle="collapse" role="button" aria-expanded="true" aria-controls="collapseCardExample"> -->
<h4 class="m-0 font-weight-bold text-primary">Get Started</h4>
</a>
<!-- Card Content - Collapse -->
<div class="collapse" id="collapseCardSocial">
<div class="card-body m-3 ml-3 mr-3 row">
<div class="col-md-2 col-sm-1 col-xs-1">
</div>
<div class="col-md-8 col-sm-10 col-xs-10">
<label for="">Select Year</label>
<form class="form-group" action="index.html" method="post">
<select id="social-year" class="form-control ml-3 mr-3" required>
<optgroup label="Year">
<option value="2017">2017</option>
<option value="2018">2018</option>
</optgroup>
</select>
<button id="soc-btn" type="button" name="button" class="btn btn-primary btn-block study" onclick="study('social')" subject="social">Study</button>
</form>
<strong>NB: </strong>
Something probably <strong>important</strong> about the subject!
</div>
<div class="col-md-2 col-sm-1 col-xs-1">
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- End of Select Questions -->
</div>
<div id="quizView" class="">
<!-- Questions & Answers-->
<div class="container-fluid">
<div class="section-heading">
<center><h2 class="heading"><i class="fa fa-edit"></i> <span id="subject-header">Subject - Year</span> </h2></center>
<a id="subject-notice" href="#" class="right"> Instructions students need to follow</a>
<!-- <h1 class="page-title">Select Subject</h1> -->
</div>
<!-- ACCORDION -->
<div class="panel-content">
<h2 class="heading"><i class="fa fa-square"></i>Objectives:</h2>
<p id="objectives-instructions" >Instructions students need to follow</p><br/>
<div class="panel-group" id="main-area">
</div>
<div class="margin-bottom-30"></div>
</div>
<!-- END ACCRODION -->
</div>
<!-- End of Questions & Answers -->
</div>
</div>
</body>
</html>