|
|
|
@ -1,16 +1,16 @@
|
|
|
|
|
<table class="hwork-table-wrap">
|
|
|
|
|
<tr class="b_grey hworkH30" style="border-bottom:1px solid #eaeaea;">
|
|
|
|
|
<table class="hwork-table-wrap" id="homework_table" onmouseenter="<%= @homework.homework_type == 3 ? '' : 'resizeable_table(2,4,11,11)' %>">
|
|
|
|
|
<tr class="b_grey hworkH30">
|
|
|
|
|
<th class="hworkList30 hworkH30 pl5 pr5">序号</th>
|
|
|
|
|
<th class="hworkList50"> </th>
|
|
|
|
|
<% if @homework.homework_type != 3 %>
|
|
|
|
|
<th class="<%= @homework.homework_type == 2 ? 'hworkList80 pr10' : 'hworkList130 pr10'%>" style="text-align:left;">作品名称</th>
|
|
|
|
|
<th class="<%=@homework.anonymous_comment == 1 ? 'hworkList100' : 'hworkList60'%> pr10">
|
|
|
|
|
<th class="<%= @homework.homework_type == 2 ? 'hworkList80 pr10 hide-text' : 'hworkList130 pr10 hide-text'%>" style="text-align:left;">作品名称</th>
|
|
|
|
|
<th class="<%=@homework.anonymous_comment == 1 ? 'hworkList100' : 'hworkList60'%> pr10 hide-text">
|
|
|
|
|
<%= link_to "姓名",@show_all ? student_work_index_path(:homework => @homework.id,:order => "lastname", :sort => @score, :name => @name, :group => @group) : "javascript:void(0)",:class => "c_dark f14 fb fl #{@homework.anonymous_comment == 1 ? 'ml35' : 'ml18'}" ,:remote => true%>
|
|
|
|
|
<% if @show_all && @order == "lastname"%>
|
|
|
|
|
<%= link_to "", student_work_index_path(:homework => @homework.id,:order => "lastname", :sort => @score, :name => @name, :group => @group) ,:class => "#{@score == 'desc' ? 'st_up' : 'st_down'} mt10" ,:remote => true%>
|
|
|
|
|
<% end%>
|
|
|
|
|
</th>
|
|
|
|
|
<th class="<%=@homework.anonymous_comment == 1 ? 'hworkList90' : 'hworkList80'%> pr10">
|
|
|
|
|
<th class="<%=@homework.anonymous_comment == 1 ? 'hworkList90' : 'hworkList80'%> pr10 hide-text">
|
|
|
|
|
<%= link_to "学号",@show_all ? student_work_index_path(:homework => @homework.id,:order => "student_id", :sort => @score, :name => @name, :group => @group) : "javascript:void(0)",:class => "c_dark f14 fb fl ml30" ,:remote => true%>
|
|
|
|
|
<% if @show_all && @order == "student_id"%>
|
|
|
|
|
<%= link_to "", student_work_index_path(:homework => @homework.id,:order => "student_id", :sort => @score, :name => @name, :group => @group) ,:class => "#{@score == 'desc' ? 'st_up' : 'st_down'} mt10" ,:remote => true%>
|
|
|
|
@ -18,7 +18,7 @@
|
|
|
|
|
</th>
|
|
|
|
|
<% elsif @homework.homework_type == 3 && @homework.homework_detail_group.base_on_project == 1 %>
|
|
|
|
|
<th class="hworkList130 pr10" style="text-align:left;">作品名称</th>
|
|
|
|
|
<th class="<%=@homework.anonymous_comment == 1 ? 'hworkList220' : 'hworkList160'%>">
|
|
|
|
|
<th class="<%=@homework.anonymous_comment == 1 ? 'hworkList210' : 'hworkList160'%>">
|
|
|
|
|
<span class="c_dark f14 fb">关联项目</span>
|
|
|
|
|
</th>
|
|
|
|
|
<% elsif @homework.homework_type == 3 && @homework.homework_detail_group.base_on_project == 0 %>
|
|
|
|
|