2014-11-07 10:37:10 +08:00
|
|
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
|
|
|
<head>
|
|
|
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
|
|
|
<title>开启匿评功能</title>
|
|
|
|
|
<style>
|
|
|
|
|
/* 匿名评分弹框 */
|
2015-03-27 15:13:03 +08:00
|
|
|
|
.anonymos{width:480px;height:180px;position:fixed !important;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;}
|
2014-11-07 10:37:10 +08:00
|
|
|
|
.ni_con { width:425px; margin:25px 30px;}
|
|
|
|
|
.ni_con h2{ display:block; height:40px; width:425px; text-align:center; color:#3a3a3a;}
|
|
|
|
|
.ni_con p{ color:#808181; }
|
|
|
|
|
.ni_con a:hover{ text-decoration:none;}
|
2014-11-24 14:55:10 +08:00
|
|
|
|
.ni_btn{ width:190px; margin:15px auto; line-height:1.9;}
|
2014-11-07 10:37:10 +08:00
|
|
|
|
a.tijiao{ height:28px; display:block; width:80px; color:#fff; background:#15bccf; text-align:center; padding-top:4px; float:left; margin-right:15px;}
|
|
|
|
|
a:hover.tijiao{ background:#0f99a9;}
|
|
|
|
|
.c_blue{ color:#0195bd;}
|
|
|
|
|
.c_pink{ color:#e65d5e;}
|
|
|
|
|
</style>
|
|
|
|
|
|
|
|
|
|
<script type="text/javascript">
|
|
|
|
|
function clickOK()
|
|
|
|
|
{
|
|
|
|
|
hideModal("#popbox02");
|
|
|
|
|
$.ajax({
|
|
|
|
|
type: "GET",
|
|
|
|
|
url: "<%= bid.comment_status == 0 ? start_anonymous_comment_bid_path(bid) : stop_anonymous_comment_bid_path(bid)%>",
|
|
|
|
|
data: 'text',
|
|
|
|
|
success: function (data) {
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
function clickCanel(){hideModal("#popbox02");}
|
|
|
|
|
</script>
|
|
|
|
|
</head>
|
|
|
|
|
|
|
|
|
|
<body>
|
|
|
|
|
<div id="popbox02">
|
|
|
|
|
<div class="ni_con">
|
|
|
|
|
<% if @bid.comment_status == 0%>
|
|
|
|
|
<h2>开启匿评功能</h2>
|
|
|
|
|
<p>
|
2015-04-17 17:48:25 +08:00
|
|
|
|
开启匿评后学生将不能对作品进行
|
2014-12-15 16:21:17 +08:00
|
|
|
|
<span class="c_blue">修改、删除</span>
|
|
|
|
|
等操作,目前有
|
2014-11-07 10:37:10 +08:00
|
|
|
|
<span class="c_pink"><%= totle_size%>个</span>
|
|
|
|
|
学生,共提交了
|
|
|
|
|
<span class="c_pink"><%= cur_size %></span>
|
2015-04-17 17:48:25 +08:00
|
|
|
|
份作品,占
|
2014-11-07 10:37:10 +08:00
|
|
|
|
<span class="c_pink"><%= percent %>%</span>,
|
|
|
|
|
是否确定开启匿评?
|
|
|
|
|
</p>
|
|
|
|
|
<% elsif @bid.comment_status == 1 %>
|
|
|
|
|
<h2>关闭匿评功能</h2>
|
|
|
|
|
<p>
|
2015-04-17 17:48:25 +08:00
|
|
|
|
关闭匿评后学生将不能对作品进行
|
2014-11-07 10:37:10 +08:00
|
|
|
|
<span class="c_blue">匿评</span>
|
2015-04-17 17:48:25 +08:00
|
|
|
|
,且作品列表将会
|
2014-11-07 10:37:10 +08:00
|
|
|
|
<span class="c_blue">公开</span>,
|
|
|
|
|
目前分配了
|
|
|
|
|
<span class="c_pink"><%= totle_size%>份</span>
|
2015-04-17 17:48:25 +08:00
|
|
|
|
匿评作品,已评了
|
2014-11-07 10:37:10 +08:00
|
|
|
|
<span class="c_pink"><%= cur_size %></span>
|
2015-04-17 17:48:25 +08:00
|
|
|
|
份作品,占
|
2014-11-07 10:37:10 +08:00
|
|
|
|
<span class="c_pink"><%= percent %>%</span>,
|
|
|
|
|
是否确定关闭匿评?
|
|
|
|
|
</p>
|
|
|
|
|
<% end %>
|
|
|
|
|
<div class="ni_btn">
|
2015-04-29 11:18:32 +08:00
|
|
|
|
<a href="javascript:" class="tijiao" onclick="clickOK();" style="margin-bottom: 20px;" >
|
2014-11-07 10:37:10 +08:00
|
|
|
|
确 定
|
|
|
|
|
</a>
|
2015-04-29 11:18:32 +08:00
|
|
|
|
<a href="javascript:" class="tijiao" onclick="clickCanel();" style="margin-bottom: 20px;">
|
2014-11-07 10:37:10 +08:00
|
|
|
|
取 消
|
|
|
|
|
</a>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2014-11-07 10:02:13 +08:00
|
|
|
|
</div>
|
2014-11-07 10:37:10 +08:00
|
|
|
|
</body>
|
|
|
|
|
</html>
|
|
|
|
|
|