班级左侧添加“分班”入口
This commit is contained in:
parent
355f0580cb
commit
724ae058db
|
@ -45,9 +45,13 @@
|
|||
<%= link_to( "", new_exercise_path(:course_id => @course.id), :class => 'sy_class_add', :title =>"新建试卷") if is_teacher %>
|
||||
</li>
|
||||
<% end %>
|
||||
<% if (User.current.logged? && @course.open_student == 1) || (User.current.member_of_course?(@course)) || User.current.admin? %>
|
||||
<li>
|
||||
<%=link_to "分班", course_member_path(@course, :role => 2) %>
|
||||
</li>
|
||||
<% end %>
|
||||
<% if show_nav?(0) %>
|
||||
<li>
|
||||
<a href="<%=statistics_course_course_path(@course) %>">统计</a>
|
||||
<!--<a href="javascript:void(0);" class="sy_class_add"></a>-->
|
||||
</li>
|
||||
<% end %>
|
|
@ -408,6 +408,10 @@ a:hover.sy_btn_orange{
|
|||
color: #ee4a1f;
|
||||
background: #fff;
|
||||
}
|
||||
.sub-menu > li:hover > a{
|
||||
color: #ee4a1f;
|
||||
background: #fff;
|
||||
}
|
||||
.accordion > li:target > a,
|
||||
.accordion > li > a.active {
|
||||
color: #ee4a1f;
|
||||
|
|
Loading…
Reference in New Issue