2014-10-23 11:30:34 +08:00
|
|
|
<!-- added by fq -->
|
2015-03-27 20:05:00 +08:00
|
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
|
|
<head>
|
|
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
|
|
<style>
|
|
|
|
/* 匿名评分弹框 */
|
|
|
|
.anonymos{width:480px;height:180px;position:fixed !important;z-index:100;left:50%;top:60%;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;}
|
|
|
|
.ni_con { width:425px; margin:25px 30px;}
|
|
|
|
.ni_con h2{ display:block; height:40px; width:425px; text-align:center; color:#3a3a3a;}
|
|
|
|
.ni_con label{ color:#808181; }
|
|
|
|
.ni_con a:hover{ text-decoration:none;}
|
|
|
|
.ni_btn{ width:190px; margin:15px auto; line-height:1.9;}
|
|
|
|
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>
|
2014-10-23 11:30:34 +08:00
|
|
|
|
2015-03-27 20:05:00 +08:00
|
|
|
<script type="text/javascript">
|
|
|
|
function clickCanel(){hideModal("#popbox02");}
|
|
|
|
</script>
|
|
|
|
</head>
|
2014-10-23 11:30:34 +08:00
|
|
|
|
2015-03-27 20:05:00 +08:00
|
|
|
<body>
|
|
|
|
<div id="popbox02">
|
|
|
|
<div class="ni_con">
|
|
|
|
<%= form_tag({:controller => 'courses',
|
|
|
|
:action => 'join',
|
|
|
|
:object_id => course.id},
|
|
|
|
:remote => true,
|
|
|
|
:method => :post,
|
|
|
|
:id => 'new_join_course') do %>
|
2016-07-01 17:47:35 +08:00
|
|
|
<label>请输入班级邀请码:</label>
|
|
|
|
<%= text_field_tag 'invite_code', nil, :style=>'width:300px;'%>
|
2015-03-27 20:05:00 +08:00
|
|
|
<div class="ni_btn">
|
2015-10-29 16:35:23 +08:00
|
|
|
<a href="javascript:" class="tijiao" onclick="$('#new_join_course').submit();" >
|
2015-03-27 20:05:00 +08:00
|
|
|
确 定
|
|
|
|
</a>
|
|
|
|
<a href="javascript:" class="tijiao" onclick="clickCanel();">
|
|
|
|
取 消
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
<% end %>
|
2014-10-23 11:30:34 +08:00
|
|
|
</div>
|
2015-03-27 20:05:00 +08:00
|
|
|
</div>
|
|
|
|
</body>
|
|
|
|
</html>
|
|
|
|
|
2014-10-23 11:30:34 +08:00
|
|
|
|