From 13f3ffec9f9c4234d35edd3e88760d18bb9a650c Mon Sep 17 00:00:00 2001 From: Tim Date: Fri, 23 Sep 2016 16:47:12 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BE=A7=E5=AF=BC=E8=88=AA=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/layouts/_user_courses.html.erb | 13 +++++-------- app/views/layouts/new_base_user.html.erb | 4 ++-- public/images/user/icons_user_leftnav.png | Bin 3465 -> 3468 bytes public/images/user/user_navmore_icons.png | Bin 1085 -> 1085 bytes public/stylesheets/css/structure.css | 12 ++++++------ 5 files changed, 13 insertions(+), 16 deletions(-) diff --git a/app/views/layouts/_user_courses.html.erb b/app/views/layouts/_user_courses.html.erb index 8f996fe1c..3e9ba3019 100644 --- a/app/views/layouts/_user_courses.html.erb +++ b/app/views/layouts/_user_courses.html.erb @@ -2,17 +2,14 @@
  • <% is_teacher = User.current.logged? && (User.current.admin? || User.current.allowed_to?(:as_teacher,course)) %> -

    + <%= link_to course.syllabus.title + course.name, course_path(course.id,:host=>Setting.host_course), :target => '_blank', :class => 'hidden', :style => 'display:block;'%>

    <%#= link_to course.name+"("+current_time_and_term_short(course)+")", course_path(course.id,:host=>Setting.host_course), :id => "show_course_#{course.id}", :class => 'course_list_menu hidden', :target => '_blank', :title => (course.is_public? ? "公开班级:":"私有班级:")+course.name+"("+current_time_and_term(course)+")"%> @@ -125,7 +122,7 @@ $(".sub-menu-title").each(function(){ var boxWidth = $(this).width(); - var leftAttr = boxWidth + 50 + var leftAttr = boxWidth + 30 $(this).css("left",-leftAttr); $(this).mouseover(function(){ $(this).stop(); diff --git a/app/views/layouts/new_base_user.html.erb b/app/views/layouts/new_base_user.html.erb index f38b4d531..c192bd724 100644 --- a/app/views/layouts/new_base_user.html.erb +++ b/app/views/layouts/new_base_user.html.erb @@ -163,7 +163,7 @@