From 248ab43b10a3aab56dbaa186df089b817b14ab17 Mon Sep 17 00:00:00 2001 From: caishi <1149225589@qq.com> Date: Wed, 26 Jul 2017 19:59:46 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A0=B7=E5=BC=8F=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/subjects/show.html.erb | 4 ++-- public/stylesheets/css/edu-subject.css | 5 +++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/app/views/subjects/show.html.erb b/app/views/subjects/show.html.erb index 18d0f3506..f965d315d 100644 --- a/app/views/subjects/show.html.erb +++ b/app/views/subjects/show.html.erb @@ -60,7 +60,7 @@ <% stage.stage_shixuns.each_with_index do |stage_shixun, index| %> <% shixun = stage_shixun.shixun %>
-
  • +
  • <%= shixun.name %>
  • @@ -70,7 +70,7 @@
  • <%= shixun.shixun_score %>
  • -
  • +
  • <% if @subject.status == 0 && User.current.manager_of_subject?(@subject) %> <%= shixun.shixun_status %> diff --git a/public/stylesheets/css/edu-subject.css b/public/stylesheets/css/edu-subject.css index 7a671a79d..d409e8ff9 100644 --- a/public/stylesheets/css/edu-subject.css +++ b/public/stylesheets/css/edu-subject.css @@ -30,9 +30,10 @@ .lesson-saved-list-item{border:1px solid #EEEEEE} .lesson-saved-list-item:hover .edit{color:#29bd8b!important;} .lesson-saved-list-item:hover .delete{color:#29bd8b!important;} -li.li-width55{width: 55%;text-align: left} +li.li-width63{width: 63%;text-align: left} li.li-width20{width: 20%;text-align: left} -li.li-width15{width: 15%;text-align: right} +li.li-width15{width: 15%;text-align: left} +li.li-width7{width: 7%;text-align: left} .lesson-saved-list-item{background-color: #FFFFFF} /*------课程实训首页---------*/