课程-点击查看课程-班级列表的归档上面没有悬浮框提示 建议加上
This commit is contained in:
parent
59b4bb22c4
commit
9377905ed9
|
@ -68,11 +68,34 @@
|
||||||
<%= link_to "加入班级",join_private_courses_courses_path,:remote => true,:class => "hw_btn_green fr mt5",:method => "post"%>
|
<%= link_to "加入班级",join_private_courses_courses_path,:remote => true,:class => "hw_btn_green fr mt5",:method => "post"%>
|
||||||
<% end %>
|
<% end %>
|
||||||
<% if User.current == course.teacher || User.current.admin? %>
|
<% if User.current == course.teacher || User.current.admin? %>
|
||||||
<a href="javascript:void(0)" onclick="archive_course(<%=course.id %>, 0, 1);" class="btn_grey_big fr mt5 mr5" style="width: 56px;">归档</a>
|
<div class="pr">
|
||||||
|
<a href="javascript:void(0)" onclick="archive_course(<%=course.id %>, 0, 1);" onmouseover="$('#archive_notice_<%=course.id %>').show();" onmouseout="$('#archive_notice_<%=course.id %>').hide();"
|
||||||
|
class="btn_grey_big fr mt5 mr5" style="width: 56px;">归档</a>
|
||||||
|
<div class="archive_course_notice fontGrey2 none" id="archive_notice_<%=course.id %>" style="width: 230px; right: -275px;">
|
||||||
|
<em></em>
|
||||||
|
<span></span>
|
||||||
|
<p class="mt5 mb5 break_word">
|
||||||
|
此班级的信息将不再显示<br/>
|
||||||
|
您和您的学生将不能在此班级中继续互动<br/>
|
||||||
|
但您可以点击“归档管理”重新恢复
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
<% end %>
|
<% end %>
|
||||||
<% else %>
|
<% else %>
|
||||||
<% if User.current == course.teacher || User.current.admin? %>
|
<% if User.current == course.teacher || User.current.admin? %>
|
||||||
<a href="javascript:void(0)" onclick="archive_course(<%=course.id %>, 1, 1);" class="btn_grey_big fr mt5" style="width: 56px;">恢复</a>
|
<div class="pr">
|
||||||
|
<a href="javascript:void(0)" onclick="archive_course(<%=course.id %>, 1, 1);" onmouseover="$('#archive_notice_<%=course.id %>').show();" onmouseout="$('#archive_notice_<%=course.id %>').hide();"
|
||||||
|
class="btn_grey_big fr mt5" style="width: 56px;">恢复</a>
|
||||||
|
<div class="archive_course_notice fontGrey2 none" id="archive_notice_<%=course.id %>" style="width: 230px; right: -275px; top: -10px;">
|
||||||
|
<em style="top: 21px;"></em>
|
||||||
|
<span style="top: 21px;"></span>
|
||||||
|
<p class="mt5 mb5 break_word">
|
||||||
|
此班级的信息将恢复显示<br/>
|
||||||
|
您和您的学生将可以重新在此班级中互动
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
<% end %>
|
<% end %>
|
||||||
<% end %>
|
<% end %>
|
||||||
<div class="cl"></div>
|
<div class="cl"></div>
|
||||||
|
|
|
@ -26,9 +26,9 @@
|
||||||
<div class="pr">
|
<div class="pr">
|
||||||
<a href="javascript:void(0)" onclick="archive_course(<%=course.id %>, <%=course.is_delete %>, 0);" onmouseover="$('#archive_notice_<%=course.id %>').show();" onmouseout="$('#archive_notice_<%=course.id %>').hide();"
|
<a href="javascript:void(0)" onclick="archive_course(<%=course.id %>, <%=course.is_delete %>, 0);" onmouseover="$('#archive_notice_<%=course.id %>').show();" onmouseout="$('#archive_notice_<%=course.id %>').hide();"
|
||||||
class="btn_grey_big fr mt5 mr15" style="width: 56px;"><%= course.is_delete == 0 ? '归档' : '恢复' %></a>
|
class="btn_grey_big fr mt5 mr15" style="width: 56px;"><%= course.is_delete == 0 ? '归档' : '恢复' %></a>
|
||||||
<div class="archive_course_notice fontGrey2 none" id="archive_notice_<%=course.id %>" style="width: 230px;">
|
<div class="archive_course_notice fontGrey2 none" id="archive_notice_<%=course.id %>" style="width: 230px; top: -10px;">
|
||||||
<em></em>
|
<em style="top: 21px;"></em>
|
||||||
<span></span>
|
<span style="top: 21px;"></span>
|
||||||
<p class="mt5 mb5 break_word">
|
<p class="mt5 mb5 break_word">
|
||||||
<% if course.is_delete == 0 %>
|
<% if course.is_delete == 0 %>
|
||||||
此班级的信息将不再显示<br/>
|
此班级的信息将不再显示<br/>
|
||||||
|
|
Loading…
Reference in New Issue