-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathclasses.html
58 lines (49 loc) · 2.55 KB
/
classes.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
<div class="row">
<div class="col-md-12" >
<h2>Class</h2>
<p>
<div>
<br><br>
<form name="myForm">
<label for="mySelect">Select Class:</label>
<select name="mySelect" id="mySelect"
ng-options="x.nameShort for x in classes track by x._id"
ng-model="myclass" ng-change="onChangeSuperCustomer(myclass._id);">
<option selected="selected">please select class</option>
</select>
</form>
<br>
<div class="row" style="clear:both;">
<div class="col-md-12">
<div>
<p> <br><br></p>
<div class="col-md-6" style="margin:20px; border:3px #999 solid !important; line-height:20px;" >
<div class="h3"><b>Class ID</b>: {{ScoreData._id}}</div>
<div class="h3"><b>Class</b>: {{ScoreData.nameShort}}</div>
<div class="h3"><b>Description</b>: {{ScoreData.description}}</div>
<div class="h3"><b>Max Points For Semester</b>: {{ScoreData.maxPointForSemester}}</div>
<div class="h3"><b>Required Points</b>: {{ScoreData.requiredPoints}}</div>
</div>
<table class="table table-hover">
<thead>
<tr>
<th>#</th>
<th>User-Id</th>
<th>Name</th>
<th>Points</th>
</tr>
</thead>
<tr ng-repeat="user1 in ScoreData.Students">
<th scope="row">{{user1.id}}</th>
<td><a href="#/classes/user/{{ScoreData._id}}/{{user1.id}}">{{user1.user}}</a></td>
<td>{{user1.name}}</td>
<td>{{user1.points}}</td>
</tr>
</table>
</div>
</div>
</div>
</div>
</p>
</div>
</div>