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;}