|
|
|
@ -19,7 +19,7 @@
|
|
|
|
|
<span class="fontGrey2">学号</span>:<%= st.user.user_extensions.nil? ? "--" : st.user.user_extensions.student_id%>
|
|
|
|
|
</span>
|
|
|
|
|
<% end %>
|
|
|
|
|
<div class="flex-container fl" style="width:365px;">
|
|
|
|
|
<div class="flex-container fl" style="width:340px;">
|
|
|
|
|
<div class="flex-cell"><span class="<%= score_color st.teacher_score%> ml35"><%= st.teacher_score.nil? ? "--" : format("%.1f",st.teacher_score)%></span></div>
|
|
|
|
|
<div class="flex-cell"><span class="<%= score_color st.teaching_asistant_score%> ml35"><%= st.teaching_asistant_score.nil? ? "--" : format("%.1f",st.teaching_asistant_score)%></span></div>
|
|
|
|
|
<% if @homework.anonymous_comment == 0 %>
|
|
|
|
@ -47,9 +47,6 @@
|
|
|
|
|
<div class="flex-cell">
|
|
|
|
|
<% score = st.work_score %>
|
|
|
|
|
<div class="<%= score_color score%> student_final_scor_info ml35 pr" style="display: inline">
|
|
|
|
|
<% if is_expand %>
|
|
|
|
|
<span style="position: absolute;top: -33px; color: #3b94d6; white-space:nowrap;" onclick = "show_student_work(<%= student_work_path(st)%>)">评分</span>
|
|
|
|
|
<% end %>
|
|
|
|
|
<%= score.nil? ? "--" : format("%.1f",score<0 ? 0 : score)%>
|
|
|
|
|
<% unless score.nil?%>
|
|
|
|
|
<div class="g_infoNi none width180" style="line-height: 18px;">
|
|
|
|
@ -70,6 +67,9 @@
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<% if is_expand %>
|
|
|
|
|
<div class="fr" style="width:25px; color: #3b94d6; white-space:nowrap; text-align:right;" onclick = "show_student_work(<%= student_work_path(st)%>)">评分</div>
|
|
|
|
|
<% end %>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="hworkTip" style="display: none; left:700px; top:20px; white-space:nowrap; right:auto;" id="work_click_<%= st.id%>"><em></em><span></span><font class="fontGrey2"><%= !st.student_work_projects.empty? ? '大作品评分即组长的评分' : '点击进行评分' %></font></div>
|
|
|
|
|
</li>
|
|
|
|
@ -83,4 +83,11 @@
|
|
|
|
|
}).mouseleave(function(){
|
|
|
|
|
$("#work_click_<%= st.id%>").hide();
|
|
|
|
|
}).mouse;
|
|
|
|
|
|
|
|
|
|
$(".syllabus_class_list").mouseenter(function(){
|
|
|
|
|
$(this).css("background-color","#f6fafd");
|
|
|
|
|
});
|
|
|
|
|
$(".syllabus_class_list").mouseleave(function(){
|
|
|
|
|
$(this).css("background-color","#fff");
|
|
|
|
|
});
|
|
|
|
|
</script>
|