-
Notifications
You must be signed in to change notification settings - Fork 0
/
B1.html
440 lines (374 loc) · 18.6 KB
/
B1.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
<!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 veiws student's questions">
<title>Solan | Student questions</title>
<!--CSS-->
<link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.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">-->
<style>
.modal {
display: none; /* Hidden by default */
position: fixed; /* Stay in place */
}
/* Modal Content */
.modal-content {
background-color: #1976D2;
margin: auto;
padding: 20px;
border: 1px solid #888;
}
/* The Close Button */
.close {
color: #aaaaaa;
float: right;
font-size: 28px;
font-weight: bold;
}
.close:hover,
.close:focus {
color: #000;
text-decoration: none;
cursor: pointer;
}
.panel {
padding: 0 18px;
display: none;
background-color: white;
overflow: hidden;
}
.collapsible {
background-color:#f5f5f5;
color: #050505;
cursor: pointer;
padding: 15px;
width: 100%;
border: none;
text-align: left;
outline: none;
font-size: 15px;
transition: 0.4s;
}
.active, .collapsible:hover {
background-color: #1976D2;
}
.active, .collapsible:focus {
background-color: #1976D2;
}
.active, .collapsible:visited {
background-color: #1976D2;
}
</style>
</head>
<body>
<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>
<br>
<a href="dashboardT.html"><button class="btn waves-effect waves-light blue darken-2" >Back to dashboard</button></a>
<div class="container">
<h2>Student questions</h2>
<button class="collapsible">Question 1</button>
<div class="panel">
<p>QUESTION </p>
<form>
<input type="checkbox" name="option" value="option 1" > Option 1<br>
<input type="checkbox" name="option" value="option 2"> Option 2<br>
<input type="checkbox" name="option" value="optoin 3"> Option 3<br>
<input type="checkbox" name="option" value="option 4"> Option 4<br>
</form>
<a class="btn waves-effect waves-light blue darken-2" onclick="document.getElementById('id01').style.display='block'">Edit</a>
<a class="btn waves-effect waves-light blue darken-2 modal-trigger" data-target="del">Delete</a>
<div id="del" class="modal">
<br>
<br>
<div class="container" style="background-color: white" >Are you sure you want to delete this question?</div>
<div class="modal-footer" style="background-color: white">
<a class="btn waves-effect waves-light blue darken-2" onclick="alert('Successfully deleted question')">Yes</a>
<a href="B1.html"><button class="btn waves-effect waves-light blue darken-2" >No</button></a>
</div>
</div>
<a class="btn waves-effect waves-light blue darken-2 modal-trigger" data-target="sel">Select For Question Of The Week</a>
<div id="sel" class="modal">
<br>
<br>
<div class="container" style="background-color: white" >Are you sure you want to select this question as the Question of The Week?</div>
<div class="modal-footer" style="background-color: white">
<a class="btn waves-effect waves-light blue darken-2" onclick="alert('Successfully selected question as Question Of The Week')">Yes</a>
<a href="B1.html"><button class="btn waves-effect waves-light blue darken-2" >No</button></a>
</div>
</div>
<div id="id01" class="w3-modal">
<div class="w3-modal-content w3-card-4">
<header class="w3-container">
<span onclick="document.getElementById('id01').style.display='none'"class="w3-button w3-medium w3-display-topright">×</span>
<h5>QUESTION</h5>
</header>
<div class="w3-container">
<form>
<input type="text" name="Question" value="How does the anomalous expansion of water affect marine life?" size="100" rows="10">
<br>
<br>
<br>
<input type="text" name="Option" value="Option1" size="50" rows="10">
<br>
<input type="text" name="Option" value="Option2" size="100" rows="10">
<br>
<input type="text" name="Option" value="Option3" size="100" rows="10">
<br>
<input type="text" name="Option4" value="Option4" size="100" rows="10">
<br>
<br>
<button class="btn waves-effect waves-light blue darken-2" type="submit" name="action" onclick="alert('Saved Successfully')">Save</button>
</form>
</div>
</div>
</div>
</div>
<button class="collapsible">Question 2</button>
<div class="panel">
<p>QUESTION </p>
<form>
<input type="checkbox" name="option" value="option 1" > Option 1<br>
<input type="checkbox" name="option" value="option 2"> Option 2<br>
<input type="checkbox" name="option" value="optoin 3"> Option 3<br>
<input type="checkbox" name="option" value="optoin 4"> Option 4<br>
</form>
<a class="btn waves-effect waves-light blue darken-2" onclick="document.getElementById('id02').style.display='block'">Edit</a>
<a class="btn waves-effect waves-light blue darken-2" onclick="alert('Successfully Deleted')">Delete</a>
<a class="btn waves-effect waves-light blue darken-2" onclick="alert('Successfully selected for question of the week')">Select For Question Of The Week</a>
<div id="id02" class="w3-modal">
<div class="w3-modal-content w3-card-4">
<header class="w3-container">
<span onclick="document.getElementById('id02').style.display='none'"
class="w3-button w3-medium w3-display-topright">×</span>
<h5>QUESTION</h5>
</header>
<div class="w3-container">
<form>
<input type="text" name="Question" value="DISPLAYS CURRENT QUESTION AND OPTIONS" size="100" rows="10">
<br>
<button class="btn waves-effect waves-light blue darken-2" type="submit" name="action" onclick="alert('Saved Successfully')">Save</button>
</form>
</div>
<footer class="w3-container">
<p></p>
</footer>
</div>
</div>
</div>
<button class="collapsible">Question 3</button>
<div class="panel">
<p>QUESTION </p>
<form>
<input type="checkbox" name="option" value="option 1" > Option 1<br>
<input type="checkbox" name="option" value="option 2"> Option 2<br>
<input type="checkbox" name="option" value="optoin 3"> Option 3<br>
<input type="checkbox" name="option" value="optoin 4"> Option 4<br>
</form>
<a class="btn waves-effect waves-light blue darken-2" onclick="document.getElementById('id03').style.display='block'">Edit</a>
<a class="btn waves-effect waves-light blue darken-2" onclick="alert('Successfully Deleted')">Delete</a>
<a class="btn waves-effect waves-light blue darken-2" onclick="alert('Successfully selected for question of the week')">Select For Question Of The Week</a>
<div id="id03" class="w3-modal">
<div class="w3-modal-content w3-card-4">
<header class="w3-container">
<span onclick="document.getElementById('id03').style.display='none'"
class="w3-button w3-medium w3-display-topright">×</span>
<h5>QUESTION</h5>
</header>
<div class="w3-container">
<form>
<input type="text" name="Question" value="DISPLAYS CURRENT QUESTION AND OPTIONS" size="100" rows="10">
<br>
<button class="btn waves-effect waves-light" type="submit" name="action" onclick="alert('Saved Successfully')">Save</button>
</form>
</div>
<footer class="w3-container">
<p></p>
</footer>
</div>
</div>
</div>
<button class="collapsible">Question 4</button>
<div class="panel">
<p>QUESTION </p>
<form>
<input type="checkbox" name="option" value="option 1" > Option 1<br>
<input type="checkbox" name="option" value="option 2"> Option 2<br>
<input type="checkbox" name="option" value="optoin 3"> Option 3<br>
<input type="checkbox" name="option" value="optoin 4"> Option 4<br>
</form>
<a class="btn waves-effect waves-light blue darken-2" onclick="document.getElementById('id04').style.display='block'">Edit</a>
<a class="btn waves-effect waves-light blue darken-2" onclick="alert('Successfully Deleted')">Delete</a>
<a class="btn waves-effect waves-light blue darken-2" onclick="alert('Successfully selected for question of the week')">Select For Question Of The Week</a>
<div id="id04" class="w3-modal">
<div class="w3-modal-content w3-card-4">
<header class="w3-container">
<span onclick="document.getElementById('id04').style.display='none'"
class="w3-button w3-medium w3-display-topright">×</span>
<h5>QUESTION</h5>
</header>
<div class="w3-container">
<form>
<input type="text" name="Question" value="DISPLAYS CURRENT QUESTION AND OPTIONS" size="100" rows="10">
<br>
<button class="btn waves-effect waves-light" type="submit" name="action" onclick="alert('Saved Successfully')">Save</button>
</form>
</div>
<footer class="w3-container">
<p></p>
</footer>
</div>
</div>
</div>
<button class="collapsible">Question 5</button>
<div class="panel">
<p>QUESTION </p>
<form>
<input type="checkbox" name="option" value="option 1" > Option 1<br>
<input type="checkbox" name="option" value="option 2"> Option 2<br>
<input type="checkbox" name="option" value="optoin 3"> Option 3<br>
<input type="checkbox" name="option" value="optoin 4"> Option 4<br>
</form>
<a class="btn waves-effect waves-light blue darken-2" onclick="document.getElementById('id05').style.display='block'">Edit</a>
<a class="btn waves-effect waves-light blue darken-2" onclick="alert('Successfully Deleted')">Delete</a>
<a class="btn waves-effect waves-light blue darken-2" onclick="alert('Successfully selected for question of the week')">Select For Question Of The Week</a>
<div id="id05" class="w3-modal">
<div class="w3-modal-content w3-card-4">
<header class="w3-container">
<span onclick="document.getElementById('id05').style.display='none'"
class="w3-button w3-medium w3-display-topright">×</span>
<h5>QUESTION</h5>
</header>
<div class="w3-container">
<form>
<input type="text" name="Question" value="DISPLAYS CURRENT QUESTION AND OPTIONS" size="100" rows="10">
<br>
<button class="btn waves-effect waves-light" type="submit" name="action" onclick="alert('Saved Successfully')">Save</button>
</form>
</div>
<footer class="w3-container">
<p></p>
</footer>
</div>
</div>
</div>
<button class="collapsible">Question 6</button>
<div class="panel">
<p>QUESTION </p>
<form>
<input type="checkbox" name="option" value="option 1" > Option 1<br>
<input type="checkbox" name="option" value="option 2"> Option 2<br>
<input type="checkbox" name="option" value="optoin 3"> Option 3<br>
<input type="checkbox" name="option" value="optoin 4"> Option 4<br>
</form>
<a class="btn waves-effect waves-light blue darken-2" onclick="document.getElementById('id06').style.display='block'">Edit</a>
<a class="btn waves-effect waves-light blue darken-2" onclick="alert('Successfully Deleted')">Delete</a>
<a class="btn waves-effect waves-light blue darken-2" onclick="alert('Successfully selected for question of the week')">Select For Question Of The Week</a>
<div id="id06" class="w3-modal">
<div class="w3-modal-content">
<header class="w3-container">
<span onclick="document.getElementById('id06').style.display='none'" class="w3-button w3-medium w3-display-topright">×</span>
<h5>QUESTION</h5>
</header>
<div class="w3-container">
<form>
<input type="text" name="Question" value="DISPLAYS CURRENT QUESTION AND OPTIONS" size="100" rows="10">
<br>
<button class="btn waves-effect waves-light" type="submit" name="action" onclick="alert('Saved Successfully')">Save</button>
</form>
</div>
<footer class="w3-container">
<p></p>
</footer>
</div>
</div>
</div>
</div>
<footer class="page-footer light blue darken-2">
<p style="padding-left:22%;">© Copyright 2018 Solan - All Rights Reserved</p>
<br>
</footer>
<script>
var acc = document.getElementsByClassName("collapsible");
var i;
for (i = 0; i < acc.length; i++) {
acc[i].addEventListener("click", function() {
this.classList.toggle("active");
var panel = this.nextElementSibling;
if (panel.style.display === "block") {
panel.style.display = "none";
} else {
panel.style.display = "block";
}
});
}
</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="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>
</body>
</html>