2016-06-22 16:42:20 +08:00
|
|
|
|
<div class="post-container">
|
2016-06-24 09:01:12 +08:00
|
|
|
|
<div loading-spinner></div>
|
2016-07-22 16:09:47 +08:00
|
|
|
|
<div class="class-detail-name"><span class="course-name-width hidden inline-block">{{course.name}}</span><span ng-click="invite()" class="f13 blue-title-sub">邀请码</span></div>
|
2016-07-08 17:22:44 +08:00
|
|
|
|
<div class="tab-wrap">
|
|
|
|
|
<a ng-click="tab($index+1)" ng-repeat="menu in menus" id="class_tab_1" href="javascript:void(0);" ng-class="['weixin-tab', {'class-tab-active': currentTab == $index+1}]">{{menu}}</a>
|
|
|
|
|
</div>
|
|
|
|
|
<!--<div class="slice3 fl"></div>-->
|
2016-06-27 16:03:07 +08:00
|
|
|
|
|
|
|
|
|
|
2016-07-08 17:22:44 +08:00
|
|
|
|
<!--<div ng-repeat="menu in menus">-->
|
2016-07-15 19:08:05 +08:00
|
|
|
|
<!--<div id="class_tab_1" ng-class="[{'class-detail-tab': isTeacher},{'class-detail-tab3': !isTeacher},{'class-tab-active':currentTab==$index+1}]" ng-click="tab($index+1);"><a herf="javascript:void(0);">{{menu}}</a></div>-->
|
|
|
|
|
<!--<div ng-if="!$last" class="slice2 fl">-->
|
|
|
|
|
<!--<div class="slice-line2"></div>-->
|
|
|
|
|
<!--</div>-->
|
2016-07-08 17:22:44 +08:00
|
|
|
|
<!--</div>-->
|
2016-06-27 16:03:07 +08:00
|
|
|
|
|
2016-07-08 17:22:44 +08:00
|
|
|
|
<!--<div class="slice3 fl"></div>-->
|
|
|
|
|
<!--<div class="cl"></div>-->
|
2016-06-22 16:42:20 +08:00
|
|
|
|
<div class="class-search-wrap">
|
|
|
|
|
<div class="class-search-inner"> <img src="/images/wechat/search.png" width="18" class="class-search-icon" />
|
2016-06-24 09:01:12 +08:00
|
|
|
|
<input class="class-detail-search" ng-model="searchText" placeholder="输入关键词进行搜索" />
|
2016-06-22 16:42:20 +08:00
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2016-06-27 16:03:07 +08:00
|
|
|
|
|
|
|
|
|
<div ng-class="{'undis': !showResources}">
|
2016-07-18 14:24:59 +08:00
|
|
|
|
<div ng-repeat="r in resources|filter:searchText" ng-class="['class-detail-row', 'f13', 'c-grey3', {'border-top': $first}]"><img src="/images/wechat/courseware.png" width="15" class="ml10 fl" /><span class="fl ml10 resource-width">{{r.filename}}</span><a ng-show="isTeacher" herf="javascript:void(0);" class="fr mr10 link-blue2" ng-click="sendFile(r,1)">发送</a><div class="cl"></div></div>
|
2016-07-14 09:52:02 +08:00
|
|
|
|
<p ng-show="resources_tag == true && resources.length<=0" class="class-test-tip">暂无课件,<br />
|
|
|
|
|
请登录Trustie网站,在PC浏览器中上传课件。</p>
|
2016-06-22 16:42:20 +08:00
|
|
|
|
</div>
|
2016-06-27 16:03:07 +08:00
|
|
|
|
<div ng-class="{'undis': !showClassMate}">
|
2016-06-22 16:42:20 +08:00
|
|
|
|
<div class="member-banner f13 c-grey3">授课老师</div>
|
2016-06-24 09:01:12 +08:00
|
|
|
|
|
2016-07-13 09:54:37 +08:00
|
|
|
|
<div class="class-member-row f13 c-grey3" ng-repeat="teacher in teachers|filter:searchText">
|
2016-07-28 14:49:45 +08:00
|
|
|
|
<img ng-src="/images/wechat/{{teacher.gender==0 ? 'male' : 'female'}}.jpg" width="30" class="fl ml10 img-circle" /><span class="fl ml10 mt5">{{teacher.name}}</span><img ng-src="/images/wechat/{{teacher.gender==0 ? 'male' : 'female'}}.png" width="15" class="fl ml10 mt5" />
|
|
|
|
|
<img src="/images/wechat/setting.png" ng-show = "course.is_creator && teacher.id != course.tea_id" width="15" class="fr mr10" style="margin-top:7px;" ng-click="onSetting(teacher)" />
|
|
|
|
|
<span class = "fr mr25 mt5" ng-show ="teacher.id == course.tea_id">管理员</span>
|
2016-08-02 15:50:15 +08:00
|
|
|
|
<span ng-class="['fr','mt5',{'mr10': course.is_creator,'mr25': !course.is_creator}]" ng-show ="teacher.id != course.tea_id && teacher.roles_id == 7">助教</span>
|
2016-07-12 17:33:55 +08:00
|
|
|
|
<div class="cl"></div>
|
2016-06-24 09:01:12 +08:00
|
|
|
|
</div>
|
2016-08-02 15:50:15 +08:00
|
|
|
|
|
|
|
|
|
<div ng-show ="course.is_creator" class="class-member-row f13 c-grey3" ng-repeat="reviewer in reviewers|filter:searchText">
|
|
|
|
|
<img ng-src="/images/wechat/{{reviewer.gender==0 ? 'male' : 'female'}}.jpg" width="30" class="fl ml10 img-circle" /><span class="fl ml10 mt5">{{reviewer.name}}</span><img ng-src="/images/wechat/{{reviewer.gender==0 ? 'male' : 'female'}}.png" width="15" class="fl ml10 mt5" />
|
2016-08-03 10:56:55 +08:00
|
|
|
|
<span ng-click="review(reviewer)" class = "fr mr10 mt5 c-red">待审批 ▶</span>
|
2016-08-02 15:50:15 +08:00
|
|
|
|
<div class="cl"></div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
2016-06-22 16:42:20 +08:00
|
|
|
|
<div class="member-banner f13 mt10 c-grey3">我的同学</div>
|
2016-07-13 09:54:37 +08:00
|
|
|
|
<div class="class-member-row f13 c-grey3" ng-repeat="student in students|filter:searchText">
|
|
|
|
|
<img ng-src="/images/wechat/{{student.gender==0 ? 'male' : 'female'}}.jpg" width="30" class="fl ml10 img-circle" /><span class="fl ml10 mt5">{{student.name}}</span><img ng-src="/images/wechat/{{student.gender==0 ? 'male' : 'female'}}.png" width="15" class="fl ml10 mt5" />
|
2016-07-27 14:30:19 +08:00
|
|
|
|
<img src="/images/wechat/setting.png" ng-show = "course.is_creator" width="15" class="class-list-setting" ng-click="onSetting(student)" />
|
2016-07-12 17:33:55 +08:00
|
|
|
|
<div class="cl"></div>
|
2016-06-24 09:01:12 +08:00
|
|
|
|
</div>
|
2016-06-27 16:03:07 +08:00
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div ng-class="{'undis': !showHomework}">
|
2016-07-18 14:24:59 +08:00
|
|
|
|
<div ng-repeat="r in homeworks|filter:searchText" ng-class="['class-detail-row', 'f13', 'c-grey3', {'border-top': $first}]"><img src="/images/wechat/homework.png" width="15" class="ml10 fl" /><span class="fl ml10 resource-width">{{r.homework_name}}</span><a ng-show="isTeacher" herf="javascript:void(0);" class="fr mr10 link-blue2 " ng-click="sendFile(r,2)">发送</a><div class="cl"></div></div>
|
2016-07-14 09:52:02 +08:00
|
|
|
|
<p ng-show="homeworks_tag == true && homeworks.length<=0" class="class-test-tip">暂无作业,<br />
|
|
|
|
|
请登录Trustie网站,在PC浏览器中上传作业。</p>
|
2016-06-24 09:01:12 +08:00
|
|
|
|
|
2016-06-22 16:42:20 +08:00
|
|
|
|
</div>
|
2016-06-27 16:03:07 +08:00
|
|
|
|
|
|
|
|
|
<div ng-class="{'undis': !showTestcase}">
|
2016-07-18 14:24:59 +08:00
|
|
|
|
<div ng-repeat="r in exercises|filter:searchText" ng-class="['class-detail-row', 'f13', 'c-grey3', {'border-top': $first}]"><img src="/images/wechat/test.png" width="15" class="ml10 fl" /><span class="fl ml10 resource-width">{{r.exercise_name}}</span><a ng-show="isTeacher" herf="javascript:void(0);" class="fr mr10 link-blue2 undis" ng-click="sendFile(r,3)">发送</a><div class="cl"></div></div>
|
2016-07-27 14:30:19 +08:00
|
|
|
|
<p ng-show="exercises_tag == true && exercises.length<=0" class="class-test-tip">暂无测验,<br />
|
|
|
|
|
请登录Trustie网站,在PC浏览器中上传测验。</p>
|
2016-06-27 16:03:07 +08:00
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2016-07-18 11:08:02 +08:00
|
|
|
|
<my-alert message="alertService.message" title="alertService.title" visible="alertService.visible" cb="alertService.cb"></my-alert>
|
2016-06-22 16:42:20 +08:00
|
|
|
|
</div>
|