-
Notifications
You must be signed in to change notification settings - Fork 4
/
class.html
74 lines (63 loc) · 2.61 KB
/
class.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
<!DOCTYPE html>
<html>
<head>
<title>Class X</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- Bootstrap -->
<link href="css/bootstrap.min.css" rel="stylesheet">
<link href="css/custom.css" rel="stylesheet">
<link href="css/carolinescustomcss.css" rel="stylesheet">
<script src="js/class.js" type="text/javascript"></script>
<script language="JavaScript">
var classID;
function assignQuiz() {
document.getElementById("quizInput").submit();
}
function processUser() {
var parameters = location.search.substring(1).split("=");
classID = unescape(parameters[1]);
document.getElementById("class").innerHTML = id;
}
</script>
</head>
<body onload="processUser()">
<div class="navbar navbar-default navbar-static-top" role="navigation">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand">Teacher</a>
</div>
<div class="navbar-collapse collapse">
<ul class="nav navbar-nav">
<li class="active"><a href="home.html"><i class="fa fa-home"></i> Home</a></li>
<li><a href="students.html"><i class="fa fa-users"></i> Students</a></li>
<li class="active"><a href="classes.html"><i class="fa fa-book"></i> Classes</a></li>
<li><a href="tests.html"><i class="fa fa-pencil"></i> Tests</a></li>
<li><a href="notifications.html"><i class="fa fa-refresh"></i> Pending</a></li>
<li><a href="reports.html"><i class="fa fa-tachometer"></i> Reports</a></li>
<li><a href="awards.html"><i class="fa fa-star"></i> Awards</a></li>
</ul>
</div><!--/.nav-collapse -->
</div>
</div>
<!--<body onload="studentxJS()">-->
<h1>Class</h1>
<div id="class"></div>
<div class="container" id ="container">
<p>class contents</p>
<form id="quizInput" action="http://api.enezaeducation.com/sendQuiz?classID=quizID=" method="post">
QuizID: <input type="text" name="quizID">
<input type="button" onclick="assignQuiz()" value="Submit">
</form>
</div><!--container-->
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
<script src="js/jquery.js"></script>
<!-- Include all compiled plugins (below), or include individual files as needed -->
<script src="js/bootstrap.min.js"></script>
</body>
</html>