From d6fb35544ecbe9abe4dc8faae8bc3bb1a1946814 Mon Sep 17 00:00:00 2001 From: sw <939547590@qq.com> Date: Thu, 4 Jun 2015 09:01:49 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AF=84=E5=88=86=E4=BD=9C=E5=93=81=E6=97=B6?= =?UTF-8?q?=E6=8F=90=E4=BA=A4=E6=8C=89=E9=92=AE=E5=9B=BA=E5=AE=9A=E5=9C=A8?= =?UTF-8?q?=E6=8F=90=E4=BA=A4=E6=A0=8F=E7=9A=84=E5=8F=B3=E4=B8=8B=E8=A7=92?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/student_work/_add_score.html.erb | 2 +- app/views/student_work/_show.html.erb | 2 +- public/stylesheets/courses.css | 2 ++ 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/app/views/student_work/_add_score.html.erb b/app/views/student_work/_add_score.html.erb index e091e507d..bdfcff6e1 100644 --- a/app/views/student_work/_add_score.html.erb +++ b/app/views/student_work/_add_score.html.erb @@ -16,7 +16,7 @@ <%= render :partial => 'student_work/student_work_attachment_form', :locals => {:work => work,:score => score} %> <%end%> - 提交 + 提交
<% end%> \ No newline at end of file diff --git a/app/views/student_work/_show.html.erb b/app/views/student_work/_show.html.erb index 3758ffedd..a04b5036b 100644 --- a/app/views/student_work/_show.html.erb +++ b/app/views/student_work/_show.html.erb @@ -54,7 +54,7 @@ <% if @is_teacher || (@homework.homework_type == 1 && @homework.homework_detail_manual.comment_status == 2 && @work.user != User.current )%> -
+
<%= render :partial => 'add_score',:locals => {:work => @work,:score => @score}%>
<% end%> diff --git a/public/stylesheets/courses.css b/public/stylesheets/courses.css index 85db8361d..0663dc905 100644 --- a/public/stylesheets/courses.css +++ b/public/stylesheets/courses.css @@ -671,6 +671,8 @@ input#score{ width:40px;} .ui-slider .ui-slider-range{position:absolute;z-index:1;font-size:.7em;display:block;border:0;top:0;height:100%;background:#64bdd9;left:0;} .filename { background: url(../images/pic_file.png) 0 -25px no-repeat;color: #3ca5c6;max-width: 150px;border: none; padding-left: 20px;margin-right: 10px;margin-bottom: 5px;} +.evaluation{position: relative;} +.evaluation_submit{position: absolute;right: 0px;bottom: 5px;}