取消拖拽
This commit is contained in:
parent
563fb3b459
commit
ec33569033
|
@ -1,6 +1,4 @@
|
||||||
<%= javascript_include_tag 'resizeable_table'%>
|
<table class="hwork-table-wrap" style="border-bottom:1px solid #eaeaea;">
|
||||||
|
|
||||||
<table class="hwork-table-wrap">
|
|
||||||
<tr class="b_grey hworkH30">
|
<tr class="b_grey hworkH30">
|
||||||
<th class="hworkList30 pl5 pr5"><span class="c_dark f14 fb">序号</span></th>
|
<th class="hworkList30 pl5 pr5"><span class="c_dark f14 fb">序号</span></th>
|
||||||
<th class="hworkList50"> </th>
|
<th class="hworkList50"> </th>
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
<table class="hwork-table-wrap" id="homework_table" onmouseenter="<%= @homework.homework_type == 3 ? '' : 'resizeable_table(2,4,1,1)' %>">
|
<table class="hwork-table-wrap" id="homework_table">
|
||||||
<tr class="b_grey hworkH30">
|
<tr class="b_grey hworkH30">
|
||||||
<th class="hworkList30 hworkH30 pl5 pr5">序号</th>
|
<th class="hworkList30 hworkH30 pl5 pr5">序号</th>
|
||||||
<th class="hworkList50"> </th>
|
<th class="hworkList50"> </th>
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
<table class="hwork-table-wrap" id="homework_table" onmouseenter="<%= @homework.homework_type == 3 ? '' : 'resizeable_table(2,4,11,11)' %>">
|
<table class="hwork-table-wrap" id="homework_table">
|
||||||
<tr class="b_grey hworkH30">
|
<tr class="b_grey hworkH30">
|
||||||
<th class="hworkList30 hworkH30 pl5 pr5">序号</th>
|
<th class="hworkList30 hworkH30 pl5 pr5">序号</th>
|
||||||
<th class="hworkList50"> </th>
|
<th class="hworkList50"> </th>
|
||||||
|
|
|
@ -1,3 +1,2 @@
|
||||||
$("#homework_student_work_list").html("<%= escape_javascript(render :partial => 'student_work/student_work_list') %>");
|
$("#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') %>");
|
$("#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);});
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/**
|
/**
|
||||||
* Created by ttang on 2016/5/24.
|
* Created by ttang on 2016/5/24.
|
||||||
*/
|
*/
|
||||||
$(document).ready(function(){
|
/* $(document).ready(function(){
|
||||||
$("th").each(function(){
|
$("th").each(function(){
|
||||||
$(this).css("width",$(this).width()-1);
|
$(this).css("width",$(this).width()-1);
|
||||||
});
|
});
|
||||||
|
@ -80,4 +80,5 @@
|
||||||
element.addEventListener?element.addEventListener(type,listener,useCapture):element.attachEvent("on" + type,listener);
|
element.addEventListener?element.addEventListener(type,listener,useCapture):element.attachEvent("on" + type,listener);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
*/
|
|
@ -109,7 +109,7 @@ a.hworkSearchIcon:hover {background:url(../images/nav_icon.png) -49px -1px no-re
|
||||||
|
|
||||||
/*20160520作品列表table*/
|
/*20160520作品列表table*/
|
||||||
.hwork-table-wrap {width:720px; border-collapse:collapse; vertical-align:middle; table-layout:fixed;}
|
.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; text-align:center;}
|
.hwork-table-wrap th {font-size:14px; color:#2d2d2d; border-bottom:1px solid #e1e1e1; text-align:center;}
|
||||||
|
|
||||||
/*作业信息*/
|
/*作业信息*/
|
||||||
.mt-2 {margin-top:-2px;}
|
.mt-2 {margin-top:-2px;}
|
||||||
|
|
Loading…
Reference in New Issue