socialforge/public/assets/wechat/class.html

64 lines
4.8 KiB
HTML
Raw Normal View History

2016-06-22 16:42:20 +08:00
<div class="post-container">
2016-06-24 09:01:12 +08:00
<div loading-spinner></div>
<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>
<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
<!--<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>-->
<!--</div>-->
2016-06-27 16:03:07 +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}">
<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
<div class="class-member-row f13 c-grey3" ng-repeat="teacher in teachers|filter:searchText">
<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><span class="fr mr10 c-grey2">{{teacher.role_name|identify}}</span><img ng-src="/images/wechat/{{teacher.gender==0 ? 'male' : 'female'}}.png" width="15" class="fl ml10 mt5" />
2016-07-27 14:30:19 +08:00
<span class = "fr mr10 mt5" ng-show ="teacher.id == course.tea_id">管理员</span>
<img src="/images/wechat/setting.png" ng-show = "course.is_creator && teacher.id != course.tea_id" width="15" class="class-list-setting" ng-click="onSetting(teacher)" />
2016-07-12 17:33:55 +08:00
<div class="cl"></div>
2016-06-24 09:01:12 +08:00
</div>
2016-06-22 16:42:20 +08:00
<div class="member-banner f13 mt10 c-grey3">我的同学</div>
<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}">
<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}">
<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>