可拖拽作业列表
This commit is contained in:
parent
308f247c71
commit
ed46ca0735
|
@ -16,7 +16,7 @@
|
|||
<%= student_work.user.show_name%>
|
||||
</td>
|
||||
<td class="<%=@homework.anonymous_comment == 1 ? 'hworkStID90' : 'hworkStID'%> pr10 float-none student_work_<%= student_work.id%>" title="<%= student_work.user.user_extensions.nil? ? "--" : student_work.user.user_extensions.student_id%>" onclick="show_student_work('<%= student_work_path(student_work)%>');" style="cursor:pointer;">
|
||||
<span style="width:80px;" class="hidden fl"><%= student_work.user.user_extensions.nil? ? "--" : student_work.user.user_extensions.student_id%></span>
|
||||
<%= student_work.user.user_extensions.nil? ? "--" : student_work.user.user_extensions.student_id%>
|
||||
</td>
|
||||
<% elsif @homework.homework_type == 3 && @homework.homework_detail_group.base_on_project == 1 %>
|
||||
<td class="hworkName float-none pr10 student_work_<%= student_work.id%> width130" style="cursor: pointer;" onclick="show_student_work('<%= student_work_path(student_work)%>');">
|
||||
|
|
|
@ -2,12 +2,9 @@
|
|||
* Created by ttang on 2016/5/24.
|
||||
*/
|
||||
$(document).ready(function(){
|
||||
window.onload = function(){
|
||||
$("th").each(function(){
|
||||
$(this).css("width",$(this).width()-1);
|
||||
});
|
||||
}
|
||||
|
||||
$("th").each(function(){
|
||||
$(this).css("width",$(this).width()-1);
|
||||
});
|
||||
resizeable_table = function(colS,colE,p1,p2){
|
||||
var headerTds = document.getElementById("homework_table").rows[0].cells;
|
||||
var mousedown = false;
|
||||
|
|
Loading…
Reference in New Issue