|
|
|
@ -1,16 +1,3 @@
|
|
|
|
|
<script src="/jquery.min.js"></script>
|
|
|
|
|
<script type="text/javascript" src="/javascripts/iPass.packed.js"></script>
|
|
|
|
|
<script type="text/javascript">
|
|
|
|
|
$(document).ready(function(){
|
|
|
|
|
// to enable iPass plugin
|
|
|
|
|
$("input[type=password]").iPass();
|
|
|
|
|
|
|
|
|
|
// for the demo
|
|
|
|
|
$("#psw_btn").click(function() {
|
|
|
|
|
alert("密码: "+$("#course_course_password").val());
|
|
|
|
|
})
|
|
|
|
|
});
|
|
|
|
|
</script>
|
|
|
|
|
<div class="project_r_h02">
|
|
|
|
|
<h2 class="project_h2"><%= l(:permission_new_course)%></h2>
|
|
|
|
|
</div>
|
|
|
|
@ -37,7 +24,8 @@
|
|
|
|
|
<div class="cl"></div>
|
|
|
|
|
<li class="ml45 mb10">
|
|
|
|
|
<label><span class="c_red">*</span> <%= l(:label_new_course_password)%> :</label>
|
|
|
|
|
<input type="password" name="course[password]" id="course_course_password" class="hwork_input02" >
|
|
|
|
|
<input type="text" style="display: none;">
|
|
|
|
|
<input type="password" name="course[password]" id="course_course_password" class="hwork_input02">
|
|
|
|
|
<a id="psw_btn" href="javascript:void(0)">显示明码</a>
|
|
|
|
|
<div class="cl"></div>
|
|
|
|
|
<span class=" ml80 c_orange">学生或其他成员申请加入课程时候需要使用该口令,该口令可以由老师在课堂上公布。</span>
|
|
|
|
|