From af4ace13196f7bd6ee92fbe02275409964b17cd5 Mon Sep 17 00:00:00 2001 From: Tim Date: Wed, 12 Oct 2016 16:00:10 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B0=86=E5=8C=BF=E8=AF=84=E5=92=8C=E5=88=86?= =?UTF-8?q?=E6=95=B0=E6=8F=90=E7=A4=BA=E5=BC=B9=E6=A1=86=E5=9C=A8=E5=8F=B3?= =?UTF-8?q?=E4=BE=A7=E5=9B=BA=E5=AE=9A=E4=BD=8D=E7=BD=AE=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../_evaluation_un_group_member_work.html.erb | 14 ++++++++------ .../_evaluation_un_group_work.html.erb | 4 +++- .../student_work/_evaluation_un_work.html.erb | 8 ++++++-- public/stylesheets/css/courses.css | 10 +++++++++- 4 files changed, 26 insertions(+), 10 deletions(-) diff --git a/app/views/student_work/_evaluation_un_group_member_work.html.erb b/app/views/student_work/_evaluation_un_group_member_work.html.erb index efd3440f7..c8cd738da 100644 --- a/app/views/student_work/_evaluation_un_group_member_work.html.erb +++ b/app/views/student_work/_evaluation_un_group_member_work.html.erb @@ -1,7 +1,7 @@ <% is_expand = st.student_work_projects.empty? %> diff --git a/app/views/student_work/_evaluation_un_group_work.html.erb b/app/views/student_work/_evaluation_un_group_work.html.erb index fb0efd9c8..de8360aaf 100644 --- a/app/views/student_work/_evaluation_un_group_work.html.erb +++ b/app/views/student_work/_evaluation_un_group_work.html.erb @@ -50,7 +50,9 @@
<%= score.nil? ? "--" : format("%.1f",score<0 ? 0 : score)%> <% unless score.nil?%> -
+
+ + 作品最终评分为  <%= student_work.final_score%> 分。
迟交扣分 diff --git a/app/views/student_work/_evaluation_un_work.html.erb b/app/views/student_work/_evaluation_un_work.html.erb index 2a2b7faee..86b9c5845 100644 --- a/app/views/student_work/_evaluation_un_work.html.erb +++ b/app/views/student_work/_evaluation_un_work.html.erb @@ -77,7 +77,9 @@ (<%= student_work.student_works_scores.where(:reviewer_role => 3).group_by(&:user_id).count%>) -
+
+ + 现共有  <%= student_work.student_works_scores.where(:reviewer_role => 3).group_by(&:user_id).count%>  名学生进行了匿评,平均分为 @@ -95,7 +97,9 @@ <%= score.nil? ? "--" : format("%.1f",score<0 ? 0 : score)%> <% unless score.nil?%> -
+
+ + 作品最终评分为  <%= student_work.final_score%> 
迟交扣分 diff --git a/public/stylesheets/css/courses.css b/public/stylesheets/css/courses.css index cd6c8b9e8..01a1f103c 100644 --- a/public/stylesheets/css/courses.css +++ b/public/stylesheets/css/courses.css @@ -187,7 +187,7 @@ div.content{padding-top:10px;} .hworkListRow:hover {background-color:#f6f6f7;} .hworkUl li{ float:left;} .hworkListRow li{ float:left;} -.hworkTip{position:absolute; padding:3px 5px; border:1px solid #eaeaea; display:block; right:-108px; top:-15px; background-color:#ffffff; line-height:20px; box-shadow:0px 2px 8px rgba(146, 153, 169, 0.5);} +.hworkTip{position:absolute; padding:3px 5px; border:1px solid #eaeaea; display:block; right:-118px; top:-15px; background-color:#ffffff; line-height:20px; box-shadow:0px 2px 8px rgba(146, 153, 169, 0.5);} .hworkTip em {display:block; border-width:8px; position:absolute; bottom:4px; left:-16px; border-style:dashed solid dashed dashed; border-color:transparent #eaeaea transparent transparent; font-size:0; line-height:0;} .hworkTip span {display:block; border-width:8px; position:absolute; bottom:4px; left:-15px; border-style:dashed solid dashed dashed; border-color:transparent #FFF transparent transparent; font-size:0; line-height:0;} .hworkList340 {width:335px; text-align:left; height:50px; line-height:50px;padding-left:5px;} @@ -246,6 +246,14 @@ a.hworkSearchIcon:hover {background:url(../images/nav_icon.png) -49px -1px no-re .HomeworkStuTitle{width: 80px;text-align: center;} .StudentName{display: table-cell;width: 115px;vertical-align: middle;text-align: left;height: 40px;} +.score-tip {width:140px; color:#666; position:absolute; padding:3px 5px; border:1px solid #eaeaea; right:-183px; top:-8px; background-color:#ffffff; line-height:20px; box-shadow:0px 2px 8px rgba(146, 153, 169, 0.5); white-space:nowrap;} +.score-tip em {display:block; border-width:8px; position:absolute; bottom:32px; left:-16px; border-style:dashed solid dashed dashed; border-color:transparent #eaeaea transparent transparent; font-size:0; line-height:0;} +.score-tip font {display:block; border-width:8px; position:absolute; bottom:31px; left:-15px; border-style:dashed solid dashed dashed; border-color:transparent #FFF transparent transparent; font-size:0; line-height:0;} + +.anonymous-tip {width:100px;color:#666; position:absolute; padding:3px 5px; border:1px solid #eaeaea; right:-143px; top:-1px; background-color:#ffffff; line-height:20px; box-shadow:0px 2px 8px rgba(146, 153, 169, 0.5); white-space:nowrap;} +.anonymous-tip em {display:block; border-width:8px; position:absolute; bottom:25px; left:-16px; border-style:dashed solid dashed dashed; border-color:transparent #eaeaea transparent transparent; font-size:0; line-height:0;} +.anonymous-tip font {display:block; border-width:8px; position:absolute; bottom:26px; left:-15px; border-style:dashed solid dashed dashed; border-color:transparent #FFF transparent transparent; font-size:0; line-height:0;} + /*作业信息*/ .homeworkInfo {background:#F6F6F6; padding:10px;} .homeworkDetail {line-height:18px; font-size:12px; color:#484848; overflow:hidden;}