-
Notifications
You must be signed in to change notification settings - Fork 0
/
dashboardS.html
389 lines (320 loc) · 23.6 KB
/
dashboardS.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
<!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="Student's Dashboard">
<title>Solan | Dashboard</title>
<!--CSS-->
<link rel="stylesheet" href="leaderboard.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="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;
padding: 20px;
border: 1px solid #888;
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="dashboardS.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: 10</a></li>
<li><a style="cursor: default;" href="#!">Section: C</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>
<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>
<!-- 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>
</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;">format_list_bulleted</i></center>
<br>
<center><span class="card-title modal-trigger" data-target="modal3" style="cursor: pointer">View 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 Question Bank<i class="material-icons right icon-black">close</i></span>
<ul class="browser-default">
<li>Hone your skills by practising a huge variety of questions submitted by students and teachers for any 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="A3.html"><button class="btn waves-effect waves-light blue darken-2" >View 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="QuestionOfTheWeekS.html" style="color:black"><i class="material-icons large">question_answer</i></a></center>
<br>
<center><a href="QuestionOfTheWeekS.html" style="color:black"><span class="card-title">Question of the Week</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">Question of the Week<i class="material-icons right icon-black">close</i></span>
<ul class="browser-default">
<li>Try and crack the most challenging question of the week.</li>
<li>Answer the question of the week right, and you will earn a lot of points.</li>
</ul>
</div>
</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">
<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 very own questions chapter-wise to earn points.</li>
<li>Make the trickiest questions you can and challenge your friends to crack it.</li>
<li>The best questions stand a chance to be selected as the question of the week. If your question is selected, you will earn more points.</li>
</ul>
</div>
</div>
<div id="modal2" class="modal">
<br>
<br>
<div class="container">
<h4>Enter Question details</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 value="B" onChange={this.handleSelectChange}>
<option value = "" disabled selected>Select Question type</option>
<option value = "1" onclick="dispS()">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>
<script>
function dispS()
{
document.getElementById("#Subjective").style.display="block";
}
function dispM
{
document.getElementById("MCQ").style.display = "block";
}
</script>
<div class="modal-footer">
<button class="btn waves-effect waves-light blue darken-2" href="dashboardS.html">Submit</button>
</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 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>