unserver-unify
Version:
103 lines (102 loc) • 3.23 kB
HTML
<div ng-controller="StudeyHistoriesController as ctrl" class="col-md-12">
<div class="panel panel-body" style="padding-bottom:0;">
<div class="myspace_hed">
{{'Course History' | translate}} <span class="badge badge-green rounded-2x">{{total}}</span>
</div>
<!-- if found courses for this teacher -->
<table class="table table-striped table_align" st-pipe="ctrl.getitems" st-table="ctrl.studycourses">
<tr class="info">
<th translate="" style="width: 14.5%;">
Name
</th>
<th translate="" style="width: 9.5%;">
Resources
</th>
<th translate="" style="width: 9%;">
Topics
</th>
<th translate="" style="width: 9.5%;">
Replies
</th>
<th translate="" style="width: 9%;">
Activity
</th>
<th translate="" style="width: 9.5%;">
Scoring Point
</th>
<th translate="" style="width: 9.5%;">
Assignment
</th>
<th translate="" style="width: 9%;">
Exam
</th>
<th translate="" style="width: 9.5%;">
Additional
</th>
<th translate="" style="width: 9.5%;">
Final result
</th>
<th translate="" style="width: 13%;">
Time (min)
</th>
</tr>
<tr ng-if="total==0">
<td colspan="11">
<div class="no_record" translate="">
No Record
</div>
</td>
</tr>
<tr ng-repeat="item in ctrl.studycourses">
<td class="project-status">
<a ui-sref="index.myspace.results.course({cid:item._id})">
{{item.name}}
</a>
</td>
<td>
{{item.progress.chapters}} / {{item.progress.resources}}
</td>
<td class="text_indent10">
{{item.progress.topics}}
</td>
<td class="text_indent10">
{{item.progress.replyes}}
</td>
<td class="text_indent5">
{{item.progress.scores |number : 1}}
<span ng-if="item.progress.activityMax">
/ {{item.progress.activityMax}}
</span>
</td>
<td>
{{item.progress.tasks}} / {{item.progress.milestones}}
</td>
<td>
{{item.progress.assginmentscores |number : 1}}
<span ng-if="item.progress.assignmentMax">
/ {{item.progress.assignmentMax}}
</span>
</td>
<td>
{{item.progress.examscores|number : 1}}
<span ng-if="item.progress.examMax">
/ {{item.progress.examMax}}
</span>
</td>
<td class="text_indent10">
{{item.progress.additional}}
</td>
<td>
{{item.progress.course_score |number : 1}}
</td>
<td>
{{item.progress.time |number : 1}}
</td>
</tr>
<tr>
<td class="text-right" colspan="11" st-items-by-page="ctrl.itemNumber" st-pagination="" st-template="components/content/tablePagination.html">
</td>
</tr>
</table>
</div>
</div>