|
|
@ -5,29 +5,6 @@
|
|
|
|
$("#Container").css("width","1000px");
|
|
|
|
$("#Container").css("width","1000px");
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
// 匿评弹框提示
|
|
|
|
|
|
|
|
<%# if @is_evaluation && !@stundet_works.empty?%>
|
|
|
|
|
|
|
|
// $(function(){
|
|
|
|
|
|
|
|
// $('#ajax-modal').html('<%#= escape_javascript(render :partial => 'student_work/praise_alert') %>');
|
|
|
|
|
|
|
|
// showModal('ajax-modal', '500px');
|
|
|
|
|
|
|
|
// $('#ajax-modal').siblings().remove();
|
|
|
|
|
|
|
|
// $('#ajax-modal').before("<span style='float: right;cursor:pointer;'>" +
|
|
|
|
|
|
|
|
// "<a href='javascript:' onclick='clickCanel();'><img src='/images/bid/close.png' width='26px' height='26px' /></a></span>");
|
|
|
|
|
|
|
|
// $('#ajax-modal').parent().css("top","").css("left","");
|
|
|
|
|
|
|
|
// $('#ajax-modal').parent().addClass("anonymos");
|
|
|
|
|
|
|
|
// });
|
|
|
|
|
|
|
|
<%# end%>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//设置评分规则
|
|
|
|
|
|
|
|
function set_score_rule(){
|
|
|
|
|
|
|
|
$('#ajax-modal').html('<%#= escape_javascript(render :partial => 'student_work/set_score_rule',:locals => {:homework => @homework,:student_path => true}) %>');
|
|
|
|
|
|
|
|
showModal('ajax-modal', '350px');
|
|
|
|
|
|
|
|
$('#ajax-modal').siblings().remove();
|
|
|
|
|
|
|
|
$('#ajax-modal').before("<span style='float: right;cursor:pointer;'>" +
|
|
|
|
|
|
|
|
"<a href='javascript:' onclick='clickCanel();'><img src='/images/bid/close.png' width='26px' height='26px' /></a></span>");
|
|
|
|
|
|
|
|
$('#ajax-modal').parent().css("top","25%").css("left","35%").css("position","fixed");
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$(function(){
|
|
|
|
$(function(){
|
|
|
|
$("#homework_info_hidden").click(function(){
|
|
|
|
$("#homework_info_hidden").click(function(){
|
|
|
|
$("#homeworkInformation").hide();
|
|
|
|
$("#homeworkInformation").hide();
|
|
|
@ -84,6 +61,20 @@
|
|
|
|
<!---menu_r end--->
|
|
|
|
<!---menu_r end--->
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<!--div class="hworkInfor"><a href="javascript:void(0);" class="linkBlue">作业信息</a></div-->
|
|
|
|
<!--div class="hworkInfor"><a href="javascript:void(0);" class="linkBlue">作业信息</a></div-->
|
|
|
|
|
|
|
|
<% if @is_teacher%>
|
|
|
|
|
|
|
|
<div class="fr mt5">
|
|
|
|
|
|
|
|
<ul class="resourcesSelect">
|
|
|
|
|
|
|
|
<li class="resourcesSelected">
|
|
|
|
|
|
|
|
<a href="javascript:void(0);" class="resourcesIcon"></a>
|
|
|
|
|
|
|
|
<ul class="hworkMenu">
|
|
|
|
|
|
|
|
<li>
|
|
|
|
|
|
|
|
<%= link_to "导出测验成绩", student_exercise_list_exercise_path(@exercise.id,:course_id => @course.id, :format => 'xls'),:class=>'hworkExport postTypeGrey', :id => "export_student_work"%>
|
|
|
|
|
|
|
|
</li>
|
|
|
|
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
</li>
|
|
|
|
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<% end%>
|
|
|
|
<div class="cl"></div>
|
|
|
|
<div class="cl"></div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|