From 6992a50f64a4c5ad9999fbe30069c7c1c6578bf1 Mon Sep 17 00:00:00 2001
From: sw <939547590@qq.com>
Date: Wed, 3 Jun 2015 16:21:40 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BD=9C=E5=93=81=E5=88=97=E8=A1=A8=E5=AD=A6?=
=?UTF-8?q?=E5=8F=B7=E6=98=BE=E7=A4=BA=E4=B8=BA=E7=81=B0=E8=89=B2=EF=BC=8C?=
=?UTF-8?q?=E5=8F=96=E6=B6=88=E8=BF=9E=E6=8E=A5=EF=BC=9B=E4=BD=9C=E5=93=81?=
=?UTF-8?q?=E5=90=8D=E7=A7=B0=E6=98=BE=E7=A4=BA=E4=B8=BA=E7=BB=BF=E8=89=B2?=
=?UTF-8?q?=EF=BC=8C=E5=AD=A6=E7=94=9F=E5=A7=93=E5=90=8D=E9=9D=A0=E5=B7=A6?=
=?UTF-8?q?=E5=AF=B9=E9=BD=90?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
app/views/student_work/_evaluation_work.html.erb | 6 +++---
app/views/student_work/_student_work.html.erb | 4 ++--
public/stylesheets/courses.css | 4 ++--
3 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/app/views/student_work/_evaluation_work.html.erb b/app/views/student_work/_evaluation_work.html.erb
index caf2c49b5..2b8369b24 100644
--- a/app/views/student_work/_evaluation_work.html.erb
+++ b/app/views/student_work/_evaluation_work.html.erb
@@ -4,9 +4,9 @@
<% if is_my_work%>
<% student_id = student_work.user.user_extensions.nil? ? "--" : student_work.user.user_extensions.student_id%>
- <%= link_to student_id,user_path(student_work.user),:class => "c_blue02 hwork_center",:title => student_id%>
+ <%= link_to student_id,"javascript:void(0)",:class => "c_grey hwork_center",:title => student_id%>
<% else%>
- <%= link_to "--", "javascript:void(0)",:class => "c_blue02 hwork_center"%>
+ <%= link_to "--", "javascript:void(0)",:class => "c_grey hwork_center"%>
<% end%>
@@ -17,7 +17,7 @@
<% end%>
- <%= link_to student_work.name, student_work_path(student_work),:remote => true, :title => student_work.name%>
+ <%= link_to student_work.name, student_work_path(student_work),:remote => true, :title => student_work.name, :class => "c_blue02"%>
<% my_score = student_work_score(student_work,User.current) %>
diff --git a/app/views/student_work/_student_work.html.erb b/app/views/student_work/_student_work.html.erb
index 674454bc4..cff481b7a 100644
--- a/app/views/student_work/_student_work.html.erb
+++ b/app/views/student_work/_student_work.html.erb
@@ -2,13 +2,13 @@
" id="student_work_<%= student_work.id%>">
-
<% student_id = student_work.user.user_extensions.nil? ? "--" : student_work.user.user_extensions.student_id%>
- <%= link_to student_id,user_path(student_work.user),:class => "c_blue02 hwork_center",:title => student_id%>
+ <%= link_to student_id,"javascript:void(0)",:class => "c_grey hwork_center",:title => student_id%>
-
<%= link_to student_work.user.show_name,user_path(student_work.user),:class => "c_blue02 hwork_name",:title => student_work.user.show_name%>
-
- <%= link_to student_work.name, student_work_path(student_work),:remote => true,:title => student_work.name%>
+ <%= link_to student_work.name, student_work_path(student_work),:remote => true,:title => student_work.name, :class => "c_blue02"%>
-
<%= student_work.teacher_score.nil? ? "--" : format("%.2f",student_work.teacher_score)%>
diff --git a/public/stylesheets/courses.css b/public/stylesheets/courses.css
index 457d6da75..85db8361d 100644
--- a/public/stylesheets/courses.css
+++ b/public/stylesheets/courses.css
@@ -636,8 +636,8 @@ a:hover.icon_add{background:url(images/icons.png) -20px -310px no-repeat;}
.hwork_tit_e a{ width:455px; display:block; overflow:hidden; white-space: nowrap; text-overflow:ellipsis; }
.hwork_code{ width:60px; text-align:center; margin-right:15px;}
.hwork_code02{ width:60px; text-align:center; margin-right:10px;}
-a.hwork_center{ display:block; width:60px; text-align:center; margin-right:5px;overflow: hidden; white-space: nowrap; text-overflow:ellipsis;}
-a.hwork_name{ display:block;width:65px; text-align:center; margin-right:10px;overflow: hidden;white-space: nowrap; text-overflow:ellipsis;min-height: 1px;}
+a.hwork_center{ display:block; width:60px; margin-right:5px;overflow: hidden; white-space: nowrap; text-overflow:ellipsis;}
+a.hwork_name{ display:block;width:65px; margin-right:10px;overflow: hidden;white-space: nowrap; text-overflow:ellipsis;min-height: 1px;}
.show_hwork{ border:2px solid #64bdd9; width:646px; padding:10px; color:#666666; padding-bottom:0px; }
.show_hwork ul li{ margin-bottom:5px;}
.show_hwork_arrow{ position:relative; top:2px; left:25px;background:url(../images/course/arrow_up.jpg) 0 0 no-repeat; width:20px; height:11px;}