27 lines
1.4 KiB
Plaintext
27 lines
1.4 KiB
Plaintext
<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>
|
|
<%#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);"/>
|
|
<a class="hworkSearchIcon" id="search_in_student_work" onclick="SearchByName_1('<%#= student_work_index_path(:homework => @homework.id)%>');" href="javascript:void(0)"></a>
|
|
</div>-->
|
|
<%#= select_tag(:student_work_in_group,options_for_select(course_group_list(@course),@group), {:class => "classSplit"}) unless course_group_list(@course).empty? %>
|
|
<%# end%>
|
|
<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>
|
|
</div>
|
|
<div class="cl"></div>
|
|
|
|
<div class="fl">
|
|
<%= render :partial => "student_table" %>
|
|
</div>
|
|
<div class="cl"></div> |