修改匿评弹出框样式
This commit is contained in:
parent
b625a857e9
commit
e2897b3d1a
|
@ -31,11 +31,19 @@
|
|||
{
|
||||
<% if !@is_teacher && @homework_list.count > 0 && @bid.comment_status == 1%>
|
||||
//登录者不是老师,且作业列表数目不为0,且作业处于开启匿评阶段
|
||||
var alert_model = "'#ajax-modal'";
|
||||
$('#ajax-modal').html('<%= escape_javascript(render :partial => 'homework_attach/praise_alert') %>');
|
||||
showModal('ajax-modal', '480px');
|
||||
$('#ajax-modal').css('height','240px');
|
||||
$('#ajax-modal').before("<span style='float: right;padding-left: 455px;cursor:pointer;'>" +
|
||||
"<a href='#' onclick='hiddent_alert_model();'><img src='/images/bid/close.png' width='26px' height='26px' /></a></span>");
|
||||
<% end %>
|
||||
}
|
||||
|
||||
function hiddent_alert_model()
|
||||
{
|
||||
hideModal($('#popbox02'));
|
||||
}
|
||||
</script>
|
||||
</div>
|
||||
<div id='bidding_project_list'>
|
||||
|
|
|
@ -54,6 +54,7 @@
|
|||
<p class="buttons" style="padding-top: 10px; padding-bottom: 1px; margin-bottom: 1px">
|
||||
<%= submit_tag l(:label_new_join), :name => nil, :class => "bid_btn", :onclick => "hideModal(this);" %>
|
||||
<%= submit_tag l(:button_cancel), :name => nil, :class => "bid_btn", :onclick => "hideModal(this);", :type => 'button' %>
|
||||
</p>
|
||||
</td>
|
||||
</tr></table>
|
||||
<% end %>
|
||||
|
|
|
@ -3,17 +3,10 @@
|
|||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<title>作业评分弹框</title>
|
||||
<%= stylesheet_link_tag 'css'%>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div id="popbox02">
|
||||
<!--<div class="alert" style="position: fixed;">-->
|
||||
<!--<div>-->
|
||||
<!--<span class="close02" style="display: block;" onclick="hideModal(this)"></span>-->
|
||||
<!--</div>-->
|
||||
<!--</div>-->
|
||||
|
||||
<div class="ni_con">
|
||||
<h2><img src="/images/bid/pic_top.jpg" width="188" height="37" alt="匿名评价" /></h2>
|
||||
<p> 据说雷锋做完好事是从来不留名的呢,我们这次评分也不留名!!!但是,但是,您给的分数一定要公正哦,老天爷看不到,我们的系统可是清楚得很!</p>
|
||||
|
|
Binary file not shown.
After Width: | Height: | Size: 1.6 KiB |
File diff suppressed because one or more lines are too long
|
@ -2854,9 +2854,4 @@ div.repos_explain{
|
|||
#membership_project_id option
|
||||
{
|
||||
width: 190px;
|
||||
}
|
||||
|
||||
.ui-dialog-titlebar {
|
||||
border: 0;
|
||||
background: none;
|
||||
}
|
|
@ -148,7 +148,7 @@ a:hover.tijiao{ background:#0f99a9 !important;}
|
|||
.ni_con p{ color:#808181;}
|
||||
.ni_con a:hover{ text-decoration:none;}
|
||||
|
||||
/*.ui-widget-header{display: none;}*/
|
||||
.ui-widget-header{display: none;}
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue