- <%=index + 1 %> |
+ <%=index + 1 %> |
<%= link_to(image_tag(url_to_avatar(exercise.user),:width =>"40",:height => "40",:style => "display:block;", :class => "mt15"),user_activities_path(exercise.user)) %>
|
@@ -30,7 +31,7 @@
--
|
- |
+ |
<% if exercise.created_at%>
<%= Time.parse(format_time(exercise.created_at)).strftime("%m-%d %H:%M")%>
diff --git a/app/views/student_work/_evaluation_title.html.erb b/app/views/student_work/_evaluation_title.html.erb
index 6a89b51b1..950c1660a 100644
--- a/app/views/student_work/_evaluation_title.html.erb
+++ b/app/views/student_work/_evaluation_title.html.erb
@@ -1,8 +1,4 @@
-
-
-
+
序号 |
|
diff --git a/app/views/student_work/_evaluation_un_title.html.erb b/app/views/student_work/_evaluation_un_title.html.erb
index c4a6a3e9b..5ed2e82d6 100644
--- a/app/views/student_work/_evaluation_un_title.html.erb
+++ b/app/views/student_work/_evaluation_un_title.html.erb
@@ -1,8 +1,4 @@
-
-
-
+
序号 |
|
diff --git a/app/views/student_work/index.js.erb b/app/views/student_work/index.js.erb
index da2428316..f65782805 100644
--- a/app/views/student_work/index.js.erb
+++ b/app/views/student_work/index.js.erb
@@ -1,4 +1,3 @@
$("#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);});*/
+$("th").each(function(){$(this).css("width",$(this).width()-1);});
diff --git a/public/javascripts/resizeable_table.js b/public/javascripts/resizeable_table.js
index a43078dee..1f84d4471 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);
});
@@ -80,5 +80,4 @@
element.addEventListener?element.addEventListener(type,listener,useCapture):element.attachEvent("on" + type,listener);
}
}
- });
-*/
\ No newline at end of file
+ });
\ No newline at end of file
diff --git a/public/stylesheets/courses.css b/public/stylesheets/courses.css
index 46fbc5950..382283f75 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-bottom:1px solid #e1e1e1;}
+.hwork-table-wrap th {font-size:14px; color:#2d2d2d; border:1px solid #e1e1e1; text-align:center;}
/*作业信息*/
.mt-2 {margin-top:-2px;}
|