|
|
|
@ -36,7 +36,7 @@
|
|
|
|
|
所有作品(<span class="c_red"><%= @stundet_works.count%></span>)
|
|
|
|
|
</a>
|
|
|
|
|
</span>
|
|
|
|
|
<input type="text" name="" placeholder="昵称、学号、姓名搜索" class="min_search ml10 fl">
|
|
|
|
|
<input type="text" value="<%= @name%>" placeholder="昵称、学号、姓名搜索" class="min_search ml10 fl" onkeypress="SearchByName($(this),'<%= student_work_index_path(:homework => @homework.id)%>',event);">
|
|
|
|
|
<div class="fr">
|
|
|
|
|
<a class="down_btn fr" href="javascript:void(0);">附件</a>
|
|
|
|
|
<a class="down_btn fr" href="javascript:void(0);">列表</a>
|
|
|
|
@ -55,25 +55,25 @@
|
|
|
|
|
<span class="c_dark f14 fb fl">作品名称</span>
|
|
|
|
|
</li>
|
|
|
|
|
<li class="w70 mr5" >
|
|
|
|
|
<%= link_to "教师评分",student_work_index_path(:homework => @homework.id,:order => "teacher_score", :sort => @score),:class => "c_dark f14 fb fl"%>
|
|
|
|
|
<%= link_to "教师评分",student_work_index_path(:homework => @homework.id,:order => "teacher_score", :sort => @score, :name => @name),:class => "c_dark f14 fb fl"%>
|
|
|
|
|
<% if @order == "teacher_score"%>
|
|
|
|
|
<a href="javascript:void(0);" class="<%= @score == 'desc' ? 'st_up' : 'st_down'%>" ></a>
|
|
|
|
|
<% end%>
|
|
|
|
|
</li>
|
|
|
|
|
<li class="w70 mr5">
|
|
|
|
|
<%= link_to "教辅评分",student_work_index_path(:homework => @homework.id,:order => "teaching_asistant_score", :sort => @score),:class => "c_dark f14 fb fl"%>
|
|
|
|
|
<%= link_to "教辅评分",student_work_index_path(:homework => @homework.id,:order => "teaching_asistant_score", :sort => @score, :name => @name),:class => "c_dark f14 fb fl"%>
|
|
|
|
|
<% if @order == "teaching_asistant_score"%>
|
|
|
|
|
<a href="javascript:void(0);" class="<%= @score == 'desc' ? 'st_up' : 'st_down'%>" ></a>
|
|
|
|
|
<% end%>
|
|
|
|
|
</li>
|
|
|
|
|
<li class="w60 mr5 ml10">
|
|
|
|
|
<%= link_to "匿评",student_work_index_path(:homework => @homework.id,:order => "student_score", :sort => @score),:class => "c_dark f14 fb fl"%>
|
|
|
|
|
<%= link_to "匿评",student_work_index_path(:homework => @homework.id,:order => "student_score", :sort => @score, :name => @name),:class => "c_dark f14 fb fl"%>
|
|
|
|
|
<% if @order == "student_score"%>
|
|
|
|
|
<a href="javascript:void(0);" class="<%= @score == 'desc' ? 'st_up' : 'st_down'%>" ></a>
|
|
|
|
|
<% end%>
|
|
|
|
|
</li>
|
|
|
|
|
<li class="w40 ml10" id="final_sort">
|
|
|
|
|
<%= link_to "成绩",student_work_index_path(:homework => @homework.id,:order => "final_score", :sort => @score),:class => "c_dark f14 fb fl"%>
|
|
|
|
|
<%= link_to "成绩",student_work_index_path(:homework => @homework.id,:order => "final_score", :sort => @score, :name => @name),:class => "c_dark f14 fb fl"%>
|
|
|
|
|
<% if @order == "final_score"%>
|
|
|
|
|
<a href="javascript:void(0);" class="<%= @score == 'desc' ? 'st_up' : 'st_down'%>" ></a>
|
|
|
|
|
<% end%>
|
|
|
|
|