学生进入作业列表,如果已经被分配匿评作业且该学生未对此作业进行打分的情况下,弹出匿评相关提示
This commit is contained in:
parent
58295bc97a
commit
c2e9363d44
|
@ -26,6 +26,15 @@
|
|||
{
|
||||
$("#what_is_project_div").slideToggle();
|
||||
}
|
||||
|
||||
window.onready = function()
|
||||
{
|
||||
<% if !@is_teacher && @homework_list.count > 0%>
|
||||
$('#ajax-modal').html('<%= escape_javascript(render :partial => 'homework_attach/praise_alert') %>');
|
||||
showModal('ajax-modal', '480px');
|
||||
$('#ajax-modal').css('height','250px');
|
||||
<% end %>
|
||||
}
|
||||
</script>
|
||||
</div>
|
||||
<div id='bidding_project_list'>
|
||||
|
|
|
@ -39,7 +39,9 @@
|
|||
</li>
|
||||
<li id="tb_8" class="normaltab">
|
||||
<%= link_to "留言", get_homework_jours_homework_attach_index_path(:bid_id => @bid.id), {:remote => true}%>
|
||||
(<span id="jours_count" class="c_red f_12"><%= @jours_count %></span>)
|
||||
(<span id="jours_count" class="c_red f_12">
|
||||
<%= @jours_count %>
|
||||
</span>)
|
||||
</li>
|
||||
</ul>
|
||||
<% end %>
|
||||
|
@ -47,11 +49,14 @@
|
|||
<div class="cl"></div>
|
||||
<div class="ctt">
|
||||
<div class="dis" id="tbc_01">
|
||||
<%= render :partial => 'homework_attach/homeworks_list', :locals => {:homeworks => @homework_list, :homework_count => @obj_count, :remote => false, :is_student_batch_homework => @is_student_batch_homework}%>
|
||||
<%= render :partial => 'homework_attach/homeworks_list',
|
||||
:locals => {:homeworks => @homework_list,
|
||||
:homework_count => @obj_count,
|
||||
:remote => false,
|
||||
:is_student_batch_homework => @is_student_batch_homework}%>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="show_homework_attach_model"></div>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -0,0 +1,27 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<title>作业评分弹框</title>
|
||||
<%= stylesheet_link_tag 'css', :media => 'all' %>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div id="popbox02">
|
||||
<!--<div class="alert" style="position: fixed;">-->
|
||||
<!--<div>-->
|
||||
<!--<span class="close02" style="display: block;" onclick="pupclose()"></span>-->
|
||||
<!--</div>-->
|
||||
<!--</div> <!–-- alert end--–>-->
|
||||
|
||||
<div class="ni_con">
|
||||
<h2><img src="/images/bid/pic_top.jpg" width="188" height="37" alt="匿名评价" /></h2>
|
||||
<p> 据说雷锋做完好事是从来不留名的呢,我们这次评分也不留名!!!但是,但是,您给的分数一定要公正哦,老天爷看不到,我们的系统可是清楚得很!</p>
|
||||
<p style="margin-bottom:15px;"> 别怪我没告诉你,系统分配给你的作品不评价可是要扣分的哈!</p>
|
||||
<a href="#" class="tijiao" style="margin-left:100px;" onclick="hideModal(this)">匿名评分</a>
|
||||
<a href="#" style="color:#15bccf; margin-top:20px; display:block;" onclick="hideModal(this)">冒着扣分的危险残忍拒绝</a>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
Binary file not shown.
After Width: | Height: | Size: 8.6 KiB |
|
@ -134,7 +134,6 @@ a.tijiao{ height:28px; display:block; width:80px; color:#fff; background:#15bccf
|
|||
a:hover.tijiao{ background:#0f99a9;}
|
||||
|
||||
/* 匿名评分弹框 */
|
||||
#popbox02{width:480px;height:200px;position:absolute;z-index:100;left:50%;top:50%;margin:-215px 0 0 -300px; background:#fff; -moz-border-radius:5px; -webkit-border-radius:5px; border-radius:5px; box-shadow:0px 0px 8px #194a81; overflow:auto;}
|
||||
.alert .close02{width:26px;height:26px;overflow:hidden;position:absolute;top:-10px;right:-490px;background:url(images/close.png) no-repeat;cursor:pointer;}
|
||||
.ni_con { width:425px; margin:25px 30px;}
|
||||
.ni_con h2{ display:block; height:40px; width:188px; margin:0 auto;}
|
||||
|
|
Loading…
Reference in New Issue