41 lines
1.7 KiB
Plaintext
41 lines
1.7 KiB
Plaintext
<table class="hwork-table-wrap" id="homework_table">
|
|
<tr class="b_grey hworkH30">
|
|
<th class="hworkList40 hworkH30 pl5 pr5">序号</th>
|
|
<th class="hworkList50"> </th>
|
|
<% if @homework.homework_type != 3 %>
|
|
<th class="<%= @homework.homework_type == 2 ? 'hworkList160' : 'hworkList200' %> hide-text">
|
|
<span class="HomeworkStuTitle f14 fb">姓名</span>
|
|
</th>
|
|
<th class="<%= @homework.homework_type == 2 ? 'hworkList160' : 'hworkList190' %> hide-text">
|
|
<span class="HomeworkStuTitle f14 fb">学号</span>
|
|
</th>
|
|
<% elsif @homework.homework_type == 3 && @homework.homework_detail_group.base_on_project == 1 %>
|
|
<th class="hworkList230" style="text-align:left;">组长</th>
|
|
<th class="hworkList160">
|
|
<span class="HomeworkStuTitle f14 fb fl">关联项目</span>
|
|
</th>
|
|
<% elsif @homework.homework_type == 3 && @homework.homework_detail_group.base_on_project == 0 %>
|
|
<th class="hworkList390" style="text-align:left;">组长</th>
|
|
<% end %>
|
|
<th class="hworkList130 pl10">
|
|
状态
|
|
</th>
|
|
<% if @homework.homework_type == 2%>
|
|
<th class="hworkList70">
|
|
系统
|
|
</th>
|
|
<% end%>
|
|
<th class="hworkList70 pr10 pl10" style="font-size:12px;">
|
|
我的评分
|
|
</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%>" class="about_hwork">
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<% end%>
|
|
</table> |