From e4f6852d1bde788c7b5fdc3e67b2ed74c817b40a Mon Sep 17 00:00:00 2001 From: Tim Date: Wed, 21 Sep 2016 09:44:02 +0800 Subject: [PATCH] =?UTF-8?q?=E6=88=91=E7=9A=84=E4=BD=9C=E4=B8=9A=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=EF=BC=8C=E6=8C=89=E9=92=AE=E5=AD=97=E4=BD=93=E5=A4=A7?= =?UTF-8?q?=E5=B0=8F=E7=BB=9F=E4=B8=80=EF=BC=8C=E4=BD=9C=E5=93=81=E6=95=B0?= =?UTF-8?q?=E5=AE=BD=E5=BA=A6=E5=A2=9E=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/users/_manage_homework_list.html.erb | 8 ++++---- public/stylesheets/sy_public.css | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/app/views/users/_manage_homework_list.html.erb b/app/views/users/_manage_homework_list.html.erb index e8912c4c9..79294d7ea 100644 --- a/app/views/users/_manage_homework_list.html.erb +++ b/app/views/users/_manage_homework_list.html.erb @@ -16,13 +16,13 @@ <%= link_to homework.course.name, course_path(homework.course), :target => '_blank', :class => 'hw_cgrey hw_classname fl mr15' %> 类别:<%=homework.homework_type_ch %> 作品: - <%=homework.student_works.has_committed.count %> + <%=homework.student_works.has_committed.count %> / - <%= homework.homework_type == 3 ? '--' : homework.course.student.count %> + <%= homework.homework_type == 3 ? '--' : homework.course.student.count %> 待评阅: - <%= homework.student_works.has_committed.where("teacher_score is null and teaching_asistant_score is null").count %> + <%= homework.student_works.has_committed.where("teacher_score is null and teaching_asistant_score is null").count %> / - <%=homework.student_works.has_committed.count %> + <%=homework.student_works.has_committed.count %> 发布时间: <% if homework.publish_time %> <%= format_date(homework.publish_time) %> diff --git a/public/stylesheets/sy_public.css b/public/stylesheets/sy_public.css index 454bdcb4a..adfce90bb 100644 --- a/public/stylesheets/sy_public.css +++ b/public/stylesheets/sy_public.css @@ -38,7 +38,7 @@ a.hw_btn_green2{ border:1px solid #60b25e; background:#fff; text-align: center; - font-size: 14px; + font-size: 12px; padding:0 10px; height: 30px; line-height: 30px; @@ -71,14 +71,14 @@ a:hover.hw_corange{ color: #e1412b;} .hw_cir_lorange{ background:#f79981;} .hw_cir_lgreen{ background:#7ecfa2;} .hw_w20{ width:20px; display:block; text-align:center;} -.hw_w20{ width:20px; display:block; text-align:center;} +.hw_w30{ width:30px; display:block; text-align:center;} /* 按钮*/ a.btn_orange_big{ display:inline-block; border: 1px solid #ee4a1f; color: #ee4a1f; text-align: center; - font-size: 14px; + font-size: 12px; padding:0 10px; height: 30px; line-height: 30px;