|
|
|
@ -38,9 +38,9 @@
|
|
|
|
|
$("#show_student_result_div").on('click',show_result);
|
|
|
|
|
<% else %>
|
|
|
|
|
$("#show_student_result_div").attr("title","截止日期未到,暂不能查看学生答题结果");
|
|
|
|
|
$("#student_name_id").attr("title","截止日期未到,暂不能查看学生答题结果");
|
|
|
|
|
$("#student_id_id").attr("title","截止日期未到,暂不能查看学生答题结果");
|
|
|
|
|
$("#student_class_id").attr("title","截止日期未到,暂不能查看学生答题结果");
|
|
|
|
|
$("#student_name_<%= exercise.id%>").attr("title","截止日期未到,暂不能查看学生答题结果");
|
|
|
|
|
$("#student_id_<%= exercise.id%>").attr("title","截止日期未到,暂不能查看学生答题结果");
|
|
|
|
|
$("#student_class_<%= exercise.id%>").attr("title","截止日期未到,暂不能查看学生答题结果");
|
|
|
|
|
<% end %>
|
|
|
|
|
});
|
|
|
|
|
function show_result() {
|
|
|
|
@ -56,13 +56,13 @@
|
|
|
|
|
<div id="show_student_result_div" style="cursor: pointer;" class="student_work_<%= exercise.id%>">
|
|
|
|
|
<li>
|
|
|
|
|
<ul class="mt10 fl">
|
|
|
|
|
<li class="hworkStName mr15 mt16" title="姓名" id="student_name_id">
|
|
|
|
|
<li class="hworkStName mr15 mt16" title="姓名" id="student_name_<%= exercise.id%>">
|
|
|
|
|
<%=exercise.user.show_name %>
|
|
|
|
|
</li>
|
|
|
|
|
<li class="hworkStID mr10 mt16" title="学号" id="student_id_id">
|
|
|
|
|
<li class="hworkStID mr10 mt16" title="学号" id="student_id_<%= exercise.id%>">
|
|
|
|
|
<%= exercise.user.user_extensions.nil? ? "--" : exercise.user.user_extensions.student_id%>
|
|
|
|
|
</li>
|
|
|
|
|
<li class="hworkStID mt16" title="班级" id="student_class_id">
|
|
|
|
|
<li class="hworkStID mt16" title="班级" id="student_class_<%= exercise.id%>">
|
|
|
|
|
--
|
|
|
|
|
</li>
|
|
|
|
|
</ul>
|
|
|
|
|