From d4f08f6498d5ab96ab60fba4fec9edc32a8b77a2 Mon Sep 17 00:00:00 2001 From: Tim Date: Fri, 5 Aug 2016 17:30:13 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AF=BE=E7=A8=8Blogo=E6=9B=BF=E6=8D=A2?= =?UTF-8?q?=EF=BC=8C=E9=82=80=E8=AF=B7=E7=A0=81=E6=A0=B7=E5=BC=8F=E6=9B=B4?= =?UTF-8?q?=E6=94=B9=EF=BC=8C=E7=8F=AD=E7=BA=A7=E8=B7=AF=E5=BE=84=E6=98=BE?= =?UTF-8?q?=E7=A4=BA=E4=B8=BB=E8=AE=B2=E6=95=99=E5=B8=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/layouts/_course_base_info.html.erb | 2 ++ public/stylesheets/syllabus.css | 7 ++++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/app/views/layouts/_course_base_info.html.erb b/app/views/layouts/_course_base_info.html.erb index 1c01ecf53..805e708a9 100644 --- a/app/views/layouts/_course_base_info.html.erb +++ b/app/views/layouts/_course_base_info.html.erb @@ -3,6 +3,8 @@ <% student_num = studentCount(@course) %> <% course_file_num = visable_attachemnts_incourse(@course).count %>

+ <%= link_to(@course.teacher.show_name, user_path(@course.teacher), :class => 'sy_cgrey') %> +  >  <% if @course.syllabus %> <%=link_to @course.syllabus.title, syllabus_path(@course.syllabus_id), :class => 'sy_cgrey' %>  >  diff --git a/public/stylesheets/syllabus.css b/public/stylesheets/syllabus.css index d0f8d0286..6a214780a 100644 --- a/public/stylesheets/syllabus.css +++ b/public/stylesheets/syllabus.css @@ -323,9 +323,10 @@ a.sy_class_option:hover { height:110px; } .sy_class_id{ - width:110px; - height:80px; - background:#f1f1f1; + width:108px; + height:78px; + border:1px solid #f1f1f1; + background:#fff; text-align:center; padding-top:30px; }