2016-06-07 15:30:17 +08:00
|
|
|
<table class="hwork-table-wrap" id="homework_table" onmouseenter="<%= @homework.homework_type == 3 ? '' : 'resizeable_table(2,4,1,1)' %>">
|
2016-06-01 16:09:01 +08:00
|
|
|
<tr class="b_grey hworkH30">
|
2016-05-20 15:15:42 +08:00
|
|
|
<th class="hworkList30 hworkH30 pl5 pr5">序号</th>
|
|
|
|
<th class="hworkList50"> </th>
|
2015-12-30 16:02:31 +08:00
|
|
|
<% if @homework.homework_type != 3 %>
|
2016-06-07 15:30:17 +08:00
|
|
|
<th class="hworkList260 hide-text" style="text-align:left;">作品名称</th>
|
|
|
|
<th class="hworkList80 hide-text">
|
|
|
|
<span class="HomeworkStuTitle f14 fb">姓名</span>
|
2016-05-20 15:15:42 +08:00
|
|
|
</th>
|
2016-06-07 15:30:17 +08:00
|
|
|
<th class="hworkList80 hide-text">
|
|
|
|
<span class="HomeworkStuTitle f14 fb">学号</span>
|
2016-05-20 15:15:42 +08:00
|
|
|
</th>
|
2015-12-30 16:02:31 +08:00
|
|
|
<% elsif @homework.homework_type == 3 && @homework.homework_detail_group.base_on_project == 1 %>
|
2016-05-27 14:42:12 +08:00
|
|
|
<th class="hworkList260" style="text-align:left;">作品名称</th>
|
2016-05-20 15:15:42 +08:00
|
|
|
<th class="hworkList160">
|
|
|
|
<span class="HomeworkStuTitle f14 fb fl">关联项目</span>
|
|
|
|
</th>
|
2016-05-27 14:42:12 +08:00
|
|
|
<% elsif @homework.homework_type == 3 && @homework.homework_detail_group.base_on_project == 0 %>
|
|
|
|
<th class="hworkList420" style="text-align:left;">作品名称</th>
|
2015-12-30 16:02:31 +08:00
|
|
|
<% end %>
|
2016-05-20 15:15:42 +08:00
|
|
|
<th class="hworkList130 pl10">
|
|
|
|
时间
|
|
|
|
</th>
|
|
|
|
<% if @homework.homework_type == 2%>
|
|
|
|
<th class="hworkList50">
|
|
|
|
系统
|
|
|
|
</th>
|
|
|
|
<% end%>
|
2016-05-20 21:47:31 +08:00
|
|
|
<th class="hworkList50 pr10 pl10" style="font-size:12px;">
|
2016-05-20 15:15:42 +08:00
|
|
|
我的评分
|
|
|
|
</th>
|
|
|
|
</tr>
|
|
|
|
<% @stundet_works.each_with_index do |student_work, i|%>
|
|
|
|
<%= render :partial => "evaluation_work", :locals => {:student_work => student_work, :index => i}%>
|
|
|
|
<tr>
|
|
|
|
<td colspan="12">
|
|
|
|
<div id="about_hwork_<%= student_work.id%>">
|
|
|
|
</div>
|
|
|
|
</td>
|
|
|
|
</tr>
|
2015-12-30 16:02:31 +08:00
|
|
|
<% end%>
|
2016-05-20 15:15:42 +08:00
|
|
|
</table>
|