2015-11-17 09:33:40 +08:00
|
|
|
<div class="fl" style="padding-bottom:10px; width:720px;">
|
|
|
|
<span class="c_dark f14 fb fl mr30">
|
|
|
|
测验
|
|
|
|
<font class="f12 c_red">
|
|
|
|
(<%= @exercise_count%>人已交)
|
|
|
|
</font>
|
|
|
|
<% if !@is_teacher && @exercise_users_list.empty?%>
|
|
|
|
<span class="f12 c_red">您尚未提交</span>
|
|
|
|
<% elsif !@is_teacher && !@exercise_users_list.empty?%>
|
|
|
|
<span class="f12 c_red">您已提交</span>
|
|
|
|
<% end %>
|
|
|
|
</span>
|
2015-11-17 15:18:07 +08:00
|
|
|
<%#if @is_teacher || @exercise.exercise_status == 3%>
|
|
|
|
<!--<div class="hworkSearchBox">
|
|
|
|
<input type="text" id="course_student_name" value="<%#= @name%>" placeholder="姓名、学号、邮箱" class="hworkSearchInput" onkeypress="SearchByName('<%#= student_work_index_path(:homework => @homework.id)%>',event);"/>
|
2015-11-17 09:33:40 +08:00
|
|
|
<a class="hworkSearchIcon" id="search_in_student_work" onclick="SearchByName_1('<%#= student_work_index_path(:homework => @homework.id)%>');" href="javascript:void(0)"></a>
|
2015-11-17 15:18:07 +08:00
|
|
|
</div>-->
|
2015-11-17 09:33:40 +08:00
|
|
|
<%#= select_tag(:student_work_in_group,options_for_select(course_group_list(@course),@group), {:class => "classSplit"}) unless course_group_list(@course).empty? %>
|
2015-11-17 15:18:07 +08:00
|
|
|
<%# end%>
|
2016-05-27 14:27:54 +08:00
|
|
|
<span class="fr c_grey"> <a href="javascript:void(0);" class="linkGrey2" id="homework_info_show" onclick="show_or_hide_info();" style="display: none">[ 显示测验信息 ]</a> </span>
|
2015-11-17 09:33:40 +08:00
|
|
|
</div>
|
|
|
|
<div class="cl"></div>
|
|
|
|
|
|
|
|
<div class="fl">
|
2016-05-20 15:15:42 +08:00
|
|
|
<%= render :partial => "student_table" %>
|
2015-11-17 09:33:40 +08:00
|
|
|
</div>
|
2016-05-20 15:15:42 +08:00
|
|
|
<div class="cl"></div>
|