-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathuser_details.html
36 lines (34 loc) · 1.85 KB
/
user_details.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
<div class="row" style="clear:both;">
<div class="col-md-12">
<div>
<p> <br><br><br></p>
<h2 class="page-header">{{user_data.user}}, {{user_data.name}}</h2>
<div class="lead">Max Points: {{user_data.maxPointForSemester}}</div>
<div class="lead">Required Points: {{user_data.requiredPoints}}</div>
<div class="col-md-1 space5 top5" ng-repeat="periodz in user_data.periods" ng-init="parent=$parent">
<span><button type="button" class="btn btn-default" ng-click="$parent.selected = $index;reach(111);">{{periodz.periodName}}</button></span>
</div>
<br>
<p>
<div class="col-md-11 top5" ng-repeat="periodz1 in user_data.periods">
<div id="1{{$index}}" ng-show="$parent.selected == $index">
<h3 class="h3">{{periodz1.periodName}}, {{periodz1.periodDescription}}</h3>
<table class="table table-hover">
<thead>
<tr>
<th>Task</th>
<th>Score</th>
<th>Max</th>
</tr>
</thead>
<tr ng-repeat="task in periodz1.tasks">
<td>{{task.name}}</td>
<td>{{task.score}}</td>
<td>{{task.maxScore}}</td>
</tr>
</table>
</div>
</div>
</p>
</div>
</div>