* adjust for edit project in program.
This commit is contained in:
@@ -3,3 +3,6 @@
|
||||
.table tbody>tr>td .dropdown {display: inline-block; line-height: 1;}
|
||||
tbody.sortable > tr > td.sort-handler .table-nest-toggle:before {cursor: pointer !important;}
|
||||
.table .avatar {display: inline-block; width: 20px; height: 20px; line-height: 20px; top: 6px;}
|
||||
|
||||
label[for^="projectIdList"]:before {top: 1px; width:14px; height:14px;}
|
||||
label[for^="projectIdList"]:after {width: 14px; height:14px;}
|
||||
|
||||
@@ -55,9 +55,15 @@ function showEditCheckbox(show)
|
||||
if(show)
|
||||
{
|
||||
$tr.find('td:first').prepend("<div class='checkbox-primary'><input type='checkbox' name='projectIdList[]' value='" + projectID + "' id='projectIdList" + projectID + "'/><label for='projectIdList" + projectID + "'></lable></div>");
|
||||
|
||||
var marginLeft = $tr.find('td:first').find('span.table-nest-icon').css('margin-left');
|
||||
$tr.find('td:first').find('.checkbox-primary').css('margin-left', marginLeft).css('width', '14');
|
||||
$tr.find('td:first').find('span.table-nest-icon').css('margin-left', '0');
|
||||
}
|
||||
else
|
||||
{
|
||||
var marginLeft = $tr.find('td:first').find('.checkbox-primary').css('margin-left');
|
||||
$tr.find('td:first').find('span.table-nest-icon').css('margin-left', marginLeft);
|
||||
$tr.find('td:first').find('[name^="projectIdList"]').parent().remove();
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user