From b6eb5a3668382604bcc99d1f4c87ccd1b974a5ce Mon Sep 17 00:00:00 2001 From: cxt Date: Wed, 8 Jun 2016 11:28:20 +0800 Subject: [PATCH] =?UTF-8?q?=E8=BF=98=E5=8E=9F=E4=BD=9C=E5=93=81=E5=88=97?= =?UTF-8?q?=E8=A1=A8=E7=9A=84=E6=8B=96=E5=8A=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/student_work/_evaluation_title.html.erb | 6 +++++- app/views/student_work/_evaluation_un_title.html.erb | 6 +++++- app/views/student_work/index.js.erb | 3 ++- public/javascripts/resizeable_table.js | 3 ++- public/stylesheets/courses.css | 2 +- 5 files changed, 15 insertions(+), 5 deletions(-) diff --git a/app/views/student_work/_evaluation_title.html.erb b/app/views/student_work/_evaluation_title.html.erb index 950c1660a..6a89b51b1 100644 --- a/app/views/student_work/_evaluation_title.html.erb +++ b/app/views/student_work/_evaluation_title.html.erb @@ -1,4 +1,8 @@ - + + +
diff --git a/app/views/student_work/_evaluation_un_title.html.erb b/app/views/student_work/_evaluation_un_title.html.erb index 5ed2e82d6..c4a6a3e9b 100644 --- a/app/views/student_work/_evaluation_un_title.html.erb +++ b/app/views/student_work/_evaluation_un_title.html.erb @@ -1,4 +1,8 @@ -
序号  
+ + +
diff --git a/app/views/student_work/index.js.erb b/app/views/student_work/index.js.erb index 709561f1a..da2428316 100644 --- a/app/views/student_work/index.js.erb +++ b/app/views/student_work/index.js.erb @@ -1,3 +1,4 @@ $("#homework_student_work_list").html("<%= escape_javascript(render :partial => 'student_work/student_work_list') %>"); $("#export_student_work").replaceWith("<%= escape_javascript( link_to "导出作业成绩", student_work_index_path(:homework => @homework.id,:order => @order, :sort => @b_sort, :group => @group, :name => @name, :format => 'xls'),:class=>'hworkExport postTypeGrey', :id => 'export_student_work') %>"); -$("th").each(function(){$(this).css("width",$(this).width()-1);}); \ No newline at end of file +/* +$("th").each(function(){$(this).css("width",$(this).width()-1);});*/ diff --git a/public/javascripts/resizeable_table.js b/public/javascripts/resizeable_table.js index a17fc9109..a43078dee 100644 --- a/public/javascripts/resizeable_table.js +++ b/public/javascripts/resizeable_table.js @@ -1,7 +1,7 @@ /** * Created by ttang on 2016/5/24. */ - $(document).ready(function(){ + /*$(document).ready(function(){ $("th").each(function(){ $(this).css("width",$(this).width()-1); }); @@ -81,3 +81,4 @@ } } }); +*/ \ No newline at end of file diff --git a/public/stylesheets/courses.css b/public/stylesheets/courses.css index 6d710b9ec..46fbc5950 100644 --- a/public/stylesheets/courses.css +++ b/public/stylesheets/courses.css @@ -109,7 +109,7 @@ a.hworkSearchIcon:hover {background:url(../images/nav_icon.png) -49px -1px no-re /*20160520作品列表table*/ .hwork-table-wrap {width:720px; border-collapse:collapse; vertical-align:middle; table-layout:fixed;} -.hwork-table-wrap th {font-size:14px; color:#2d2d2d; border:1px solid #e1e1e1;} +.hwork-table-wrap th {font-size:14px; color:#2d2d2d; border-bottom:1px solid #e1e1e1;} /*作业信息*/ .mt-2 {margin-top:-2px;}
序号