-
Notifications
You must be signed in to change notification settings - Fork 4
/
student.html
91 lines (81 loc) · 3.83 KB
/
student.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
<!DOCTYPE html>
<html>
<head>
<title>Student 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="studentxJS.js" type="text/javascript"></script>
<link rel="stylesheet" href="css/font-awesome.min.css">
<script language="JavaScript">
function processUser()
{
var parameters = location.search.substring(1).split("=");
var id = unescape(parameters[1]);
document.getElementById("user").innerHTML = id;
}
</script>
</head>
<body onload="processUser()">
<!--<body onload="studentxJS()">-->
<!-- Static navbar -->
<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" href="#">Teacher</a>
</div>
<div class="navbar-collapse collapse">
<ul class="nav navbar-nav">
<li><a href="home.html"><i class="fa fa-home"></i> Home</a></li>
<li class="active"><a href="students.html"><i class="fa fa-users"></i> Students</a></li>
<li><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 class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Dropdown <b class="caret"></b></a>
<ul class="dropdown-menu"> -->
<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>
<!-- <li class="divider"></li>
<li class="dropdown-header">Nav header</li>
<li><a href="#">Separated link</a></li>
<li><a href="#">One more separated link</a></li> -->
<!-- </ul>
</li> -->
</ul>
<!-- <ul class="nav navbar-nav navbar-right">
<li><a href="../navbar/">Default</a></li>
<li class="active"><a href="./">Static top</a></li>
<li><a href="../navbar-fixed-top/">Fixed top</a></li>
</ul> -->
</div><!--/.nav-collapse -->
</div>
</div>
<div class="container" id ="container">
<h1>Student</h1>
<div id="user"></div>
<a id="viewReport" href="reports.html" class="btn btn-lg btn-primary btn-block">View Report <i class="fa fa-arrow-circle-o-right"></i></a>
<p>This page displays a user, it is given their id so can request relevant data by querying database with id.</p>
<p>Functions from this page: Assign a test and view test scores</p>
<div id="assignBig" href="" onclick="assignTest()" class="btn btn-lg btn-primary btn-block">Assign Test <i class="fa fa-arrow-circle-o-right"></i></div>
<!-- <div id="assignBig" onclick="assignTest()" class="bigbutton col-xs-3"><p>Assign Test</p></div>
<a href="./reports.html">
<div id="viewReport" onclick="" class="bigbutton col-xs-3"><p>View Report</p></div>
</a> -->
<div id="textBoxContainer">
</div>
</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>