-
Notifications
You must be signed in to change notification settings - Fork 0
/
dashboardT.html
477 lines (396 loc) · 26.5 KB
/
dashboardT.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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="generator" content="Program">
<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1">
<link rel="shortcut icon" href="assets/images/open-book.png" type="image/x-icon">
<meta name="description" content="Teacher's Dashboard">
<title>Solan | Dashboard</title>
<!--CSS-->
<link rel="stylesheet" href="assets/tether/tether.min.css">
<link rel="stylesheet" href="assets/dropdown/css/style.css">
<link rel="stylesheet" href="assets/animatecss/animate.min.css">
<link rel="stylesheet" href="assets/socicon/css/styles.css">
<link rel="stylesheet" href="assets/theme/css/style.css">
<link rel="stylesheet" href="assets/sidebar/sidebar.css">
<link rel="stylesheet" href="leaderboard.css">
<link rel="stylesheet" href="cards.css">
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0-rc.2/css/materialize.min.css">
<!--<link rel="stylesheet" href="assets/mobirise/css/mbr-additional.css" type="text/css">-->
<script type = "text/javascript" src = "https://code.jquery.com/jquery-2.1.1.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<style>
/* Modal Content */
.modal-content {
background-color: rgb(255, 255, 255);
margin: auto;
width: 80%;
}
.close:hover,
.close:focus {
color: #000;
text-decoration: none;
cursor: pointer;
}
.active, .collapsible:hover {
background-color: #1976D2;
}
#Subjective
{
display:none;
}
#MCQ
{
display:none;
}
</style>
</head>
<body>
<script> $(document).ready(function(){
$('select').formSelect();
});
</script>
<nav>
<div class="nav-wrapper light blue darken-2">
<a href="index.html" class="brand-logo" style="padding-left:5.25%" >Solan |</a>
<a href="dashboardT.html" class="brand-logo" style="padding-left:13%" > Dashboard</a>
<a href="#" data-target="mobile-demo" class="sidenav-trigger"><i class="material-icons">menu</i></a>
<ul id="slide-out" class="sidenav">
<li><div class="user-view">
<div class="background">
<img src="assets/images/0288D1 sidebar bg.png">
</div>
<a style="cursor: default;" href="#user"><img class="circle" src="assets/images/KFP3-promo-po4.jpg"></a>
<a style="cursor: default;" href="#name"><span class="white-text bold name">Name: Po Ping</span></a>
<a style="cursor: default;" href="#email"><span class="white-text bold email">Email: [email protected]</span></a>
</div></li>
<li><a style="cursor: default;" href="#!">Class: 10C</a></li>
<li><a style="cursor: default;" href="#!">Subject: Science</a></li>
<li><div class="divider"></div></li>
<li><a class="waves-effect waves-light light blue darken-2 btn modal-trigger" href="#modal1">Change Password</a></li>
<!--<li><a href="#!">Second Link</a></li>-->
<li><div class="divider"></div></li>
</ul>
<!-- Modal Structure -->
<div id="modal1" class="modal">
<div class="modal-content">
<h4 class="black-text">Change Password</h4>
<p class="black-text">//Insert Django page to change password here</p>
</div>
<div class="modal-footer">
<a href="#!" class="modal-close waves-effect waves-green btn-flat">Agree</a>
</div>
</div>
<a href="#" data-target="slide-out" class="sidenav-trigger show-on-large"><i class="material-icons">menu</i></a>
<ul class="right hide-on-med-and-down">
<li><a href="#leaderboard">Leaderboard</a></li>
<!--<li><a style="cursor: default;" href="#!">Points<span class="new badge" data-badge-caption="">102</span></a></li>-->
<li><a href="index.html">Logout</a></li>
</ul>
</div>
</nav>
<div class="firstHeight">
<div class="row">
<div class="col s12 m6">
<div class="card grey lighten-4 z-depth-1 hoverable">
<div class="card-content black-text">
<br>
<center><i class="material-icons large modal-trigger" data-target="modal3" style="cursor: pointer;">file_download</i></center>
<br>
<center><span class="card-title modal-trigger" data-target="modal3" style="cursor: pointer;">View and Download Question Bank</span></center>
<div class = activator style="padding-left: 97%; cursor: pointer;"><i class="material-icons right">info</i></div>
<br>
</div>
<div class="card-reveal">
<span class="card-title grey-text text-darken-4">View and download Question Bank<i class="material-icons right icon-black">close</i></span>
<ul class="browser-default">
<li>View and download a list of questions submitted by students and teachers for every chapter.</li>
</ul>
</div>
</div>
<div id="modal3" class="modal">
<br>
<br>
<div class="container">
<h4>Enter Subject and Chapter</h4>
<form class = "input-field">
<div class = "row">
<select>
<option value = "" disabled selected>Select Subject</option>
<option style="text-emphasis-color: #1976D2" value = "1">Physics</option>
<option value = "2">Chemistry</option>
<option value = "3">Biology</option>
</select>
</div>
</form>
<form class = "input-field">
<div class = "row">
<select>
<option value = "" disabled selected>Select chapter</option>
<option value = "1">Optics</option>
<option value = "2">Thermodynamics</option>
<option value = "3">Simple harmonic motion</option>
</select>
</div>
</form>
</div>
<div class="modal-footer" style="background-color: white">
<a href="B4.html"><button class="btn waves-effect waves-light blue darken-2" >View and download question bank</button></a>
</div>
</div>
</div>
<div class="col s12 m6">
<div class="card grey lighten-4 z-depth-1 hoverable">
<div class="card-content black-text">
<br>
<center><a href="B1.html" style="color:black"><i class="material-icons large modal-trigger" data-target="modal4" style="cursor: pointer">view_list</i></a></center>
<br>
<center><a href="B1.html" style="color:black"> <span class="card-title modal-trigger" data-target="modal4" style="cursor: pointer;">Student Question Management</span></a></center>
<div class = activator style="padding-left: 97%; cursor: pointer;"><i class="material-icons right">info</i></div>
<br>
</div>
<div class="card-reveal">
<span class="card-title grey-text text-darken-4">View and download Student Questions<i class="material-icons right icon-black">close</i></span>
<ul class="browser-default">
<li>View questions that have been submitted by students.</li>
<li>Edit and delete questions that have been submitted by students.</li>
<li>Select question of the week.</li>
</ul>
</div>
</div>
<div id="modal4" class="modal">
<br>
<br>
<div class="container">
<h4>Enter class and Section</h4>
<form class = "input-field">
<div class = "row">
<select>
<option value = "" disabled selected>Select Class</option>
<option style="text-emphasis-color: #0288d1" value = "1">All classes</option>
<option value = "2">Class 9</option>
<option value = "3">Class 10</option>
</select>
</div>
</form>
<form class = "input-field">
<div class = "row">
<select>
<option value = "" disabled selected>Select section</option>
<option value = "1">All sections</option>
<option value = "2">A</option>
<option value = "3">B</option>
</select>
</div>
</form>
</div>
<div class="modal-footer" style="background-color: white">
<a href="B1.html"><button class="btn waves-effect waves-light blue darken-2" >Manage student questions</button></a>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="firstHeight">
<div class="row">
<div class="col s12 m6">
<div class="card grey lighten-4 z-depth-1 hoverable card">
<div class="card-content black-text">
<br>
<center><i class="material-icons large modal-trigger" data-target="modal2" style="cursor: pointer;">create</i></center>
<br>
<center><span class="card-title modal-trigger" data-target="modal2" style="cursor: pointer;">Submit New Question</span></center>
<div class = activator style="padding-left: 97%; cursor: pointer;"><i class="material-icons right">info</i></div>
<br>
</div>
<div class="card-reveal">
<span class="card-title grey-text text-darken-4">Submit New Question<i class="material-icons right icon-black">close</i></span>
<ul class="browser-default">
<li>Submit your own questions.</li>
<li>It'll be available on the chapter-wise question bank for the student's benefit.</li>
</ul>
</div>
</div>
<div id="modal2" class="modal">
<br>
<br>
<div class="container">
<h4>Enter Subject and Chapter</h4>
<form class = "input-field">
<div class = "row">
<select>
<option value = "" disabled selected>Select Subject</option>
<option style="text-emphasis-color: #1976D2" value = "1">Physics</option>
<option value = "2">Chemistry</option>
<option value = "3">Biology</option>
</select>
</div>
</form>
<form class = "input-field">
<div class = "row">
<select>
<option value = "" disabled selected>Select Chapter</option>
<option value = "1">Optics</option>
<option value = "2">Thermodynamics</option>
<option value = "3">Simple harmonic motion</option>
</select>
</div>
</form>
<form class = "input-field">
<div class = "row">
<select>
<option value = "" disabled selected>Select Question type</option>
<option value = "1" >Subjective</option>
<option value = "2" onclick="dispM()">MCQ</option>
</select>
</div>
</form>
<div id="Subjective" class="container">
<br>
<div class="row">
<form class="col s12">
<div class="row">
<div class="input-field col s12">
<textarea id="textarea1" class="materialize-textarea"></textarea>
<label for="textarea1">Enter question</label>
</div>
</div>
</div>
</div>
<div id="MCQ" class="container">
<br>
<div class="row">
<form class="col s12">
<div class="row">
<div class="input-field col s12">
<textarea id="textarea1" class="materialize-textarea"></textarea>
<label for="textarea1">Enter question</label>
</div>
</div>
<div class="row">
<div class="input-field col s12">
<textarea id="textarea2" class="materialize-textarea"></textarea>
<label for="textarea2">Option A</label>
</div>
</div>
<div class="row">
<div class="input-field col s12">
<textarea id="textarea3" class="materialize-textarea"></textarea>
<label for="textarea3">Option B</label>
</div>
</div>
<div class="row">
<div class="input-field col s12">
<textarea id="textarea4" class="materialize-textarea"></textarea>
<label for="textarea1">Option C</label>
</div>
</div>
<div class="row">
<div class="input-field col s12">
<textarea id="textarea5" class="materialize-textarea"></textarea>
<label for="textarea5">Option D</label>
</div>
</div>
</div>
</div>
</div>
<script>
function dispS()
{
document.getElementById("Subjective").style.display = "block";
}
function dispM()
{
document.getElementById("MCQ").style.display = "block";
}
</script>
<div class="modal-footer">
<a href="dashboardT.html"><button class="btn waves-effect waves-light blue darken-2" >Submit</button></a>
</div>
</div>
</div>
<div class="col s12 m6">
<div class="card grey lighten-4 z-depth-1 hoverable">
<div class="card-content black-text">
<br>
<center><a href="GenReport.html" style="color:black"><i class="material-icons large" style="cursor: pointer;">person</i></a></center>
<br>
<center><a href="GenReport.html" style="color:black"><span class="card-title" style="cursor: pointer;">Generate Student Report</span></a></center>
<div class = activator style="padding-left: 97%; cursor: pointer;"><i class="material-icons right">info</i></div>
<br>
</div>
<div class="card-reveal">
<span class="card-title grey-text text-darken-4">Generate Student Report<i class="material-icons right icon-black">close</i></span>
<ul class="browser-default">
<li>Understand how your students are performing.</li>
<li>Get comprehnsive information on the questions submitted and points earned by each student.</li>
</ul>
</div>
</div>
</div>
</div>
</div>
</div>
<!--<div class="row" style="padding-left:10px; padding-right: 10px;">
<div class="card grey lighten-4 z-depth-1 hoverable card modal-trigger" data-target="modal2">
<div class="card-content black-text">
<span class="card-title">Submit New Question</span>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
</div>
</div>
<div id="modal2" class="modal">
<div class="modal-content">
<h4>Submit New Question</h4>--> <!--add modal content here-->
<!-- <p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Ullam assumenda error quidem sunt consequatur sint dolore veniam saepe in, consequuntur odit. Est vitae, deserunt perferendis quae perspiciatis voluptatem mollitia exercitationem!</p>
</div>
<div class="modal-footer">
<a href="#!" class="modal-close waves-red btn-flat">Close</a>
</div>
</div>
</div>-->
<section id ="leaderboard" style="background-color: white">
<div class="row" style="padding-left:10px; padding-right: 10px;">
<div class="card grey lighten-4 z-depth-1 hoverable card">
<div class="card-content black-text">
<div id="app"></div>
</div>
</div>
</div>
</section>
<footer class="page-footer light blue darken-2">
<p style="padding-left:22%;">© Copyright 2018 Solan - All Rights Reserved</p>
<br>
</footer>
<script src="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0-rc.2/js/materialize.min.js"></script>
<script src="modal.js"></script>
<script src="https://unpkg.com/react@16/umd/react.development.js" crossorigin></script>
<script src="https://unpkg.com/react-dom@16/umd/react-dom.development.js" crossorigin></script>
<script src="leaderboard.js"></script>
<script src="assets/web/assets/jquery/jquery.min.js"></script>
<script src="assets/popper/popper.min.js"></script>
<script src="assets/tether/tether.min.js"></script>
<script src="assets/smoothscroll/smooth-scroll.js"></script>
<script src="assets/dropdown/js/script.min.js"></script>
<script src="assets/touchswipe/jquery.touch-swipe.min.js"></script>
<script src="assets/viewportchecker/jquery.viewportchecker.js"></script>
<script src="assets/parallax/jarallax.min.js"></script>
<script src="assets/theme/js/script.js"></script>
<script src="assets/formoid/formoid.min.js"></script>
<script src="assets/sidebar/sidebar.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0-rc.2/js/materialize.min.js"></script>
<script src="modal.js"></script>
<script src="navbar.js"></script>
<div id="scrollToTop" class="scrollToTop mbr-arrow-up"><a style="text-align: center;"><i class="material-icons">arrow_downward</i></a></div>
<input name="animation" type="hidden"> <!--btn to scroll to top-->
</body>
</html>