2016-03-28 14:45:11 +08:00
|
|
|
|
<!DOCTYPE html>
|
|
|
|
|
<html>
|
|
|
|
|
<head>
|
2016-03-30 17:41:18 +08:00
|
|
|
|
<title>最新动态</title>
|
2016-03-28 14:45:11 +08:00
|
|
|
|
<meta charset='utf-8' />
|
|
|
|
|
<meta name="keywords" content="" />
|
|
|
|
|
<meta name="description" content="" />
|
|
|
|
|
<meta name="apple-mobile-web-app-capable" content="no">
|
|
|
|
|
<meta content='True' name='HandheldFriendly' />
|
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" />
|
|
|
|
|
|
|
|
|
|
<link type="text/css" rel="stylesheet" href="/stylesheets/weui/weixin.css" />
|
|
|
|
|
|
|
|
|
|
</head>
|
|
|
|
|
<body>
|
|
|
|
|
<div id="container"></div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- 模板1开始,可以使用script(type设置为text/html)来存放模板片段,并且用id标示 -->
|
|
|
|
|
<script id="t:result-list" type="text/html">
|
2016-03-30 17:41:18 +08:00
|
|
|
|
<! for(var i =0; i < activities.length; ++i){ !>
|
|
|
|
|
<! var container_type = activities[i].container_type; var act_type = activities[i].act_type; !>
|
|
|
|
|
<! if (container_type == "Course") { !>
|
|
|
|
|
<! if (act_type == "HomeworkCommon") { !>
|
2016-03-28 14:45:11 +08:00
|
|
|
|
<!--homework -->
|
|
|
|
|
<div class="post-container">
|
|
|
|
|
<div class="post-wrapper">
|
|
|
|
|
<div class="post-main">
|
|
|
|
|
<div class="post-avatar fl"><img src="<!=activities[i].author.img_url!>" width="45" height="45" class="border-radius" /></div>
|
|
|
|
|
<div class="post-title hidden mb5"><span class="c-grey3 f15 fb"><!=activities[i].subject!></span></div>
|
2016-03-30 17:41:18 +08:00
|
|
|
|
<div class="post-title hidden"><a herf="javascript:void(0);" class="mr10"><!=activities[i].author.nickname!></a>to<a herf="javascript:void(0);" class="ml10"><!=activities[i].course_project_name!> | <!=activities[i].activity_type_name!></a></div>
|
2016-03-28 14:45:11 +08:00
|
|
|
|
<div class="cl"></div>
|
|
|
|
|
<div class="post-content c-grey2 mt10">
|
|
|
|
|
<div class="post-all-content"><!:=activities[i].description!><br />
|
2016-03-30 17:41:18 +08:00
|
|
|
|
<span class="mr15">迟交扣分:<!:=activities[i].homework_common_detail.late_penalty!>分</span> 匿评开启时间:<!:=activities[i].homework_common_detail.evaluation_start!><br />
|
|
|
|
|
<span class="mr15">缺评扣分:<!:=activities[i].homework_common_detail.absence_penalty!>分/作品</span> 匿评关闭时间:<!:=activities[i].homework_common_detail.evaluation_end!></div>
|
2016-03-28 14:45:11 +08:00
|
|
|
|
</div>
|
|
|
|
|
<a herf="javascript:void(0);" class="link-blue f13 fl mt5 post-more undis" style="text-decoration:underline">点击展开</a>
|
|
|
|
|
<div class="cl"></div>
|
2016-03-30 17:41:18 +08:00
|
|
|
|
<span class="c-grey f13 mt10 fl"><!=activities[i].latest_update!></span>
|
2016-03-28 14:45:11 +08:00
|
|
|
|
<div class="cl"></div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="post-interactive">
|
2016-04-01 14:58:41 +08:00
|
|
|
|
<div class="post-interactive-column c-grey2"><a href="javascript:void(0);" onclick="window.open('homework_detail.html?id=<!=activities[i].act_id!>');" class="c-grey">回复 (<!=activities[i].reply_count!>)</a></div>
|
2016-03-30 17:41:18 +08:00
|
|
|
|
<div class="post-interactive-column c-grey2">赞 (<!=activities[i].activity_praise_count!>)</div>
|
2016-03-28 14:45:11 +08:00
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2016-03-30 17:41:18 +08:00
|
|
|
|
<! } else if (act_type == "News") { !>
|
2016-03-28 14:45:11 +08:00
|
|
|
|
<!-- course news -->
|
|
|
|
|
<div class="post-container">
|
|
|
|
|
<div class="post-wrapper">
|
|
|
|
|
<div class="post-main">
|
|
|
|
|
<div class="post-avatar fl"><img src="<!=activities[i].author.img_url!>" width="45" height="45" class="border-radius" /></div>
|
|
|
|
|
<div class="post-title hidden mb5"><span class="c-grey3 f15 fb"><!=activities[i].subject!></span></div>
|
2016-03-31 20:43:06 +08:00
|
|
|
|
<div class="post-title hidden"><a herf="javascript:void(0);" class="mr10"><!=activities[i].author.nickname!></a>to<a herf="javascript:void(0);" class="ml10"><!=activities[i].course_project_name!> | <!=activities[i].activity_type_name!></a></div>
|
2016-03-28 14:45:11 +08:00
|
|
|
|
<div class="cl"></div>
|
|
|
|
|
<div class="post-content c-grey2 mt10">
|
|
|
|
|
<div class="post-all-content"><!:=activities[i].description!></div>
|
|
|
|
|
</div>
|
|
|
|
|
<a herf="javascript:void(0);" class="link-blue f13 fl mt5 post-more undis" style="text-decoration:underline">点击展开</a>
|
|
|
|
|
<div class="cl"></div>
|
2016-03-30 17:41:18 +08:00
|
|
|
|
<span class="c-grey f13 mt10 fl"><!=activities[i].latest_update!></span>
|
2016-03-28 14:45:11 +08:00
|
|
|
|
<div class="cl"></div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="post-interactive">
|
2016-03-30 17:41:18 +08:00
|
|
|
|
<div class="post-interactive-column c-grey2">回复 (<!=activities[i].reply_count!>)</div>
|
|
|
|
|
<div class="post-interactive-column c-grey2">赞 (<!=activities[i].activity_praise_count!>)</div>
|
2016-03-28 14:45:11 +08:00
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2016-03-30 17:41:18 +08:00
|
|
|
|
<! } else if (act_type == "Message") { !>
|
2016-03-28 14:45:11 +08:00
|
|
|
|
<!--course message -->
|
|
|
|
|
<div class="post-container">
|
|
|
|
|
<div class="post-wrapper">
|
|
|
|
|
<div class="post-main">
|
|
|
|
|
<div class="post-avatar fl"><img src="images/post-avatar.jpg" width="45" height="45" class="border-radius" /></div>
|
|
|
|
|
<div class="post-title fl mb10 hidden"><a herf="javascript:void(0);" class="mr10"><!=activities[i].author.nickname!></a> <span style="vertical-align:top;">给您留言了</span><br />
|
2016-03-30 17:41:18 +08:00
|
|
|
|
<span class="c-grey"><!=activities[i].latest_update!></span> </div>
|
2016-03-28 14:45:11 +08:00
|
|
|
|
<div class="cl"></div>
|
|
|
|
|
<div class="post-content c-grey2 mt10">
|
|
|
|
|
<p class="post-all-content"><!:=activities[i].description!></p>
|
|
|
|
|
</div>
|
|
|
|
|
<a herf="javascript:void(0);" class="link-blue f13 fl mt5 post-more undis" style="text-decoration:underline;">点击展开</a>
|
|
|
|
|
<div class="cl"></div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="post-interactive">
|
2016-03-30 17:41:18 +08:00
|
|
|
|
<div class="post-interactive-column c-grey2">回复 (<!=activities[i].reply_count!>)</div>
|
|
|
|
|
<div class="post-interactive-column c-grey2">赞 (<!=activities[i].activity_praise_count!>)</div>
|
2016-03-28 14:45:11 +08:00
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2016-03-30 17:41:18 +08:00
|
|
|
|
<! } else if (act_type == "Course") { !>
|
2016-03-28 14:45:11 +08:00
|
|
|
|
<div class="post-container">
|
|
|
|
|
<div class="post-wrapper">
|
|
|
|
|
<div class="post-main">
|
|
|
|
|
<div class="post-avatar fl"><img src="<!=activities[i].author.img_url!>" width="45" height="45" class="border-radius" /></div>
|
2016-03-31 20:43:06 +08:00
|
|
|
|
<div class="post-title hidden mb5"><span class="c-grey3 f15 fb"><!=activities[i].author.nickname!></span>创建了<span class="c-grey3 f15 fb"><!=activities[i].course_project_name!></span></div>
|
2016-03-30 17:41:18 +08:00
|
|
|
|
<div class="post-title hidden"><a herf="javascript:void(0);" class="mr10"><!=activities[i].latest_update!></a></div>
|
2016-03-28 14:45:11 +08:00
|
|
|
|
<div class="cl"></div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<! } !>
|
2016-03-30 17:41:18 +08:00
|
|
|
|
<! } else if (container_type == "Project") { !>
|
|
|
|
|
<! if (act_type == "Issue") { !>
|
2016-03-28 14:45:11 +08:00
|
|
|
|
<!-- activities -->
|
|
|
|
|
<div class="post-container">
|
|
|
|
|
<div class="post-wrapper">
|
|
|
|
|
<div class="post-main">
|
|
|
|
|
<div class="post-avatar fl"><img src="<!=activities[i].author.img_url!>" width="45" height="45" class="border-radius" /></div>
|
|
|
|
|
<div class="post-title hidden mb5"><span class="c-grey3 f15 fb"><!=activities[i].subject!></span></div>
|
2016-03-31 20:43:06 +08:00
|
|
|
|
<div class="post-title hidden"><a herf="javascript:void(0);" class="mr10"><!=activities[i].author.nickname!></a>to<a herf="javascript:void(0);" class="ml10"><!=activities[i].course_project_name!> | <!=activities[i].activity_type_name!></a></div>
|
2016-03-28 14:45:11 +08:00
|
|
|
|
<div class="cl"></div>
|
|
|
|
|
<div class="post-content c-grey2 mt10">
|
|
|
|
|
<div class="post-all-content"><!:=activities[i].description!><br />
|
2016-03-31 20:43:06 +08:00
|
|
|
|
<span class="mr15">状态:<!:=activities[i].issue_detail.issue_status!></span> <span class="mr15">优先级:<!:=activities[i].issue_detail.issue_priority!></span> <br /> <span class="mr15">指派给:<!:=activities[i].issue_detail.issue_assigned_to!></span> <span class="mr15">完成度:<!:=activities[i].issue_detail.done_ratio!>%</span></div>
|
2016-03-28 14:45:11 +08:00
|
|
|
|
</div>
|
|
|
|
|
<a herf="javascript:void(0);" class="link-blue f13 fl mt5 post-more undis" style="text-decoration:underline">点击展开</a>
|
|
|
|
|
<div class="cl"></div>
|
2016-03-30 17:41:18 +08:00
|
|
|
|
<span class="c-grey f13 mt10 fl"><!=activities[i].latest_update!></span>
|
2016-03-28 14:45:11 +08:00
|
|
|
|
<div class="cl"></div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="post-interactive">
|
2016-03-31 20:43:06 +08:00
|
|
|
|
<div class="post-interactive-column c-grey2"><a href="javascript:void(0);" onclick="window.open('issue_detail.html?id=<!=i!>');" class="c-grey"> 回复 (<!=activities[i].reply_count!>)</a></div>
|
2016-03-30 17:41:18 +08:00
|
|
|
|
<div class="post-interactive-column c-grey2">赞 (<!=activities[i].activity_praise_count!>)</div>
|
2016-03-28 14:45:11 +08:00
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2016-03-30 17:41:18 +08:00
|
|
|
|
<! } else if (act_type == "Message") { !>
|
2016-03-28 14:45:11 +08:00
|
|
|
|
<!-- project news -->
|
|
|
|
|
<div class="post-container">
|
|
|
|
|
<div class="post-wrapper">
|
|
|
|
|
<div class="post-main">
|
|
|
|
|
<div class="post-avatar fl"><img src="<!=activities[i].author.img_url!>" width="45" height="45" class="border-radius" /></div>
|
|
|
|
|
<div class="post-title hidden mb5"><span class="c-grey3 f15 fb"><!=activities[i].subject!></span></div>
|
2016-03-31 20:43:06 +08:00
|
|
|
|
<div class="post-title hidden"><a herf="javascript:void(0);" class="mr10"><!=activities[i].author.nickname!></a>to<a herf="javascript:void(0);" class="ml10"><!=activities[i].course_project_name!> | <!=activities[i].activity_type_name!></a></div>
|
2016-03-28 14:45:11 +08:00
|
|
|
|
<div class="cl"></div>
|
|
|
|
|
<div class="post-content c-grey2 mt10">
|
|
|
|
|
<div class="post-all-content"><!:=activities[i].description!></div>
|
|
|
|
|
</div>
|
|
|
|
|
<a herf="javascript:void(0);" class="link-blue f13 fl mt5 post-more undis" style="text-decoration:underline">点击展开</a>
|
|
|
|
|
<div class="cl"></div>
|
2016-03-30 17:41:18 +08:00
|
|
|
|
<span class="c-grey f13 mt10 fl"><!=activities[i].latest_update!></span>
|
2016-03-28 14:45:11 +08:00
|
|
|
|
<div class="cl"></div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="post-interactive">
|
2016-03-30 17:41:18 +08:00
|
|
|
|
<div class="post-interactive-column c-grey2">回复 (<!=activities[i].reply_count!>)</div>
|
|
|
|
|
<div class="post-interactive-column c-grey2">赞 (<!=activities[i].activity_praise_count!>)</div>
|
2016-03-28 14:45:11 +08:00
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<! } else if (act_type == "ProjectCreateInfo") { !>
|
|
|
|
|
<!-- project created -->
|
|
|
|
|
<div class="post-container">
|
|
|
|
|
<div class="post-wrapper">
|
|
|
|
|
<div class="post-main">
|
|
|
|
|
<div class="post-avatar fl"><img src="<!=activities[i].author.img_url!>" width="45" height="45" class="border-radius" /></div>
|
2016-03-31 20:43:06 +08:00
|
|
|
|
<div class="post-title hidden mb5"><span class="c-grey3 f15 fb"><!=activities[i].author.nickname!></span>创建了<span class="c-grey3 f15 fb"><!=activities[i].course_project_name!></span></div>
|
2016-03-30 17:41:18 +08:00
|
|
|
|
<div class="post-title hidden"><a herf="javascript:void(0);" class="mr10"><!=activities[i].latest_update!></a></div>
|
2016-03-28 14:45:11 +08:00
|
|
|
|
<div class="cl"></div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<! } !>
|
|
|
|
|
<! } else if (container_type == "Principal") { !>
|
|
|
|
|
<!--留言 -->
|
|
|
|
|
<div class="post-container">
|
|
|
|
|
<div class="post-wrapper">
|
|
|
|
|
<div class="post-main">
|
|
|
|
|
<div class="post-avatar fl"><img src="images/post-avatar.jpg" width="45" height="45" class="border-radius" /></div>
|
|
|
|
|
<div class="post-title fl mb10 hidden"><a herf="javascript:void(0);" class="mr10"><!=activities[i].author.nickname!></a> <span style="vertical-align:top;">给您留言了</span><br />
|
2016-03-30 17:41:18 +08:00
|
|
|
|
<span class="c-grey"><!=activities[i].latest_update!></span> </div>
|
2016-03-28 14:45:11 +08:00
|
|
|
|
<div class="cl"></div>
|
|
|
|
|
<div class="post-content c-grey2 mt10">
|
|
|
|
|
<p class="post-all-content"><!:=activities[i].description!></p>
|
|
|
|
|
</div>
|
|
|
|
|
<a herf="javascript:void(0);" class="link-blue f13 fl mt5 post-more undis" style="text-decoration:underline;">点击展开</a>
|
|
|
|
|
<div class="cl"></div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="post-interactive">
|
2016-03-30 17:41:18 +08:00
|
|
|
|
<div class="post-interactive-column c-grey2">回复 (<!=activities[i].reply_count!>)</div>
|
|
|
|
|
<div class="post-interactive-column c-grey2">赞 (<!=activities[i].activity_praise_count!>)</div>
|
2016-03-28 14:45:11 +08:00
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2016-03-30 17:41:18 +08:00
|
|
|
|
<! } else if (container_type == "Blog") { !>
|
2016-03-28 14:45:11 +08:00
|
|
|
|
<!--blog -->
|
|
|
|
|
<div class="post-container">
|
|
|
|
|
<div class="post-wrapper">
|
|
|
|
|
<div class="post-main">
|
|
|
|
|
<div class="post-avatar fl"><img src="<!=activities[i].author.img_url!>" width="45" height="45" class="border-radius" /></div>
|
|
|
|
|
<div class="post-title hidden mb5"><span class="c-grey3 f15 fb"><!=activities[i].subject!></span></div>
|
|
|
|
|
<div class="post-title hidden"><a herf="javascript:void(0);" class="mr10"><!=activities[i].author.nickname!></a>发表博客</div>
|
|
|
|
|
<div class="cl"></div>
|
|
|
|
|
<div class="post-content c-grey2 mt10">
|
|
|
|
|
<div class="post-all-content"><!:=activities[i].description!></div>
|
|
|
|
|
</div>
|
|
|
|
|
<a herf="javascript:void(0);" class="link-blue f13 fl mt5 post-more undis" style="text-decoration:underline">点击展开</a>
|
|
|
|
|
<div class="cl"></div>
|
2016-03-30 17:41:18 +08:00
|
|
|
|
<span class="c-grey f13 mt10 fl"><!=activities[i].latest_update!></span>
|
2016-03-28 14:45:11 +08:00
|
|
|
|
<div class="cl"></div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="post-interactive">
|
2016-03-30 17:41:18 +08:00
|
|
|
|
<div class="post-interactive-column c-grey2">回复 (<!=activities[i].reply_count!>)</div>
|
|
|
|
|
<div class="post-interactive-column c-grey2">赞 (<!=activities[i].activity_praise_count!>)</div>
|
2016-03-28 14:45:11 +08:00
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<! } !>
|
|
|
|
|
<! } !>
|
2016-03-31 20:43:06 +08:00
|
|
|
|
<div class="more-events mt10">更多</div>
|
2016-03-28 14:45:11 +08:00
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
<script src="/javascripts/jquery-1.3.2.js"></script>
|
|
|
|
|
<script src="/javascripts/baiduTemplate.js"></script>
|
|
|
|
|
<script src="/javascripts/wechat/wechat-dev.js"></script>
|
2016-03-31 20:43:06 +08:00
|
|
|
|
<script src="/javascripts/wechat/homework-detail.js"></script>
|
2016-03-30 10:32:45 +08:00
|
|
|
|
<script src="/javascripts/wechat/auth.js"></script>
|
2016-03-28 14:45:11 +08:00
|
|
|
|
</body>
|
|
|
|
|
</html>
|