-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
73 lines (68 loc) · 2.87 KB
/
index.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
<!doctype html>
<html>
<head>
<link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css">
<script src="http://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
<script src="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/js/bootstrap.min.js"></script>
<script src="script.js"></script>
<meta name="viewport" content="initial-scale=1, user-scalable=no">
</head>
<body>
<div class="container-fluid">
<div class="col-md-11">
<!-- only show this element when the isnt on mobile -->
<h1 class="hidden-xs">Student Grade Table
<div class="pull-right"><small>Grade Average : <span class="avgGrade label label-default"></span></small></div>
</h1>
<!-- only show this element when the user gets to a mobile version -->
<h3 class="hidden-md visible-xs">Student Grade Table
<div class="pull-right"><small>Grade Average : <span class="avgGrade label label-default"></span></small></div>
</h3>
</div>
<div class="student-add-form form col-md-3 col-xs-12 pull-right ">
<h4>Add Student</h4>
<div class="form-group">
<div class="input-group">
<span class="input-group-addon">
<span class="glyphicon glyphicon-user"></span>
</span>
<input type="text" class="form-control" name="studentName" id="studentName" placeholder="Student Name">
</div>
</div>
<div class="form-group">
<div class="input-group">
<span class="input-group-addon">
<span class="glyphicon glyphicon-list-alt"></span>
</span>
<input type="text" class="form-control" name="course" id="course" placeholder="Student Course">
</div>
</div>
<div class="form-group">
<div class="input-group">
<span class="input-group-addon">
<span class="glyphicon glyphicon-education"></span>
</span>
<input type="text" class="form-control" name="studentGrade" id="studentGrade" placeholder="Student Grade">
</div>
</div>
<button type="button" class="btn btn-success" onclick="addClicked();">Add</button>
<button type="button" class="btn btn-default" onclick="cancelClicked();">Cancel</button>
<button type="button" class="btn btn-info" onclick="getData();">Get Server Data</button>
</div>
<div class="student-list-container col-md-9 col-xs-10">
<table class="student-list table table-striped ">
<thead>
<tr>
<th>Student Name</th>
<th>Student Course</th>
<th>Student Grade</th>
<th>Operations</th>
</tr>
</thead>
<tbody>
</tbody>
</table>
</div>
</div>
</body>
</html>