socialforge/public/assets/wechat/class.html

56 lines
3.3 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">{{course.name}}<span ng-click="invite()" class="f13 blue-title-sub">邀请码</span></div>
2016-06-22 16:42:20 +08:00
<div class="slice3 fl"></div>
2016-06-27 16:03:07 +08:00
<div ng-repeat="menu in menus">
<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-06-22 16:42:20 +08:00
</div>
2016-06-27 16:03:07 +08:00
2016-06-22 16:42:20 +08:00
<div class="slice3 fl"></div>
<div class="cl"></div>
<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-02 23:46:45 +08:00
<div ng-repeat="r in resources|filter:searchText" ng-class="['class-detail-row', 'f13', 'c-grey3', {'border-top': $first}]"><span class="fl ml10">{{r.filename}}</span><a ng-show="isTeacher" herf="javascript:void(0);" class="fr mr10 link-blue2" ng-click="sendFile(r)">发送</a></div>
2016-06-27 16:03:07 +08:00
<p ng-show="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-detail-row f13 c-grey3" ng-repeat="teacher in teachers|filter:searchText">
2016-06-24 13:29:36 +08:00
<img ng-src="/images/wechat/{{teacher.gender==0 ? 'male' : 'female'}}.jpg" width="30" class="fl ml10 img-circle mt4" /><span class="fl ml10">{{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 mt10" />
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>
2016-06-24 09:01:12 +08:00
<div class="class-detail-row f13 c-grey3" ng-repeat="student in students|filter:searchText">
2016-06-24 13:29:36 +08:00
<img ng-src="/images/wechat/{{student.gender==0 ? 'male' : 'female'}}.jpg" width="30" class="fl ml10 img-circle mt4" /><span class="fl ml10">{{student.name}}</span><img ng-src="/images/wechat/{{student.gender==0 ? 'male' : 'female'}}.png" width="15" class="fl ml10 mt10" />
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-02 23:46:45 +08:00
<div ng-repeat="r in homeworks|filter:searchText" ng-class="['class-detail-row', 'f13', 'c-grey3', {'border-top': $first}]"><span class="fl ml10">{{r.homework_name}}</span></div>
2016-06-27 16:03:07 +08:00
<p ng-show="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-02 23:46:45 +08:00
<div ng-repeat="r in exercises|filter:searchText" ng-class="['class-detail-row', 'f13', 'c-grey3', {'border-top': $first}]"><span class="fl ml10">{{r.exercise_name}}</span></div>
2016-06-27 16:03:07 +08:00
<p ng-show="exercises.length<=0" class="class-test-tip">暂无小测验,<br />
请登录Trustie网站,在PC浏览器中上传小测验。</p>
</div>
2016-06-22 16:42:20 +08:00
</div>