No changes
This commit is contained in:
parent
8680a02b13
commit
b6b398f5bf
17374 changed files with 2475441 additions and 0 deletions
29
ControlPanel/themes/AdminLTE/modules/ftp/ftp_admin.js
Normal file
29
ControlPanel/themes/AdminLTE/modules/ftp/ftp_admin.js
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
$(document).ready(function()
|
||||
{
|
||||
// ftp account table to div conversion
|
||||
$('.main > form').prepend('<div class="row addacc mb-2"></div>');
|
||||
$('.main > form > table tr:first-child > td').each(function()
|
||||
{
|
||||
$('.main .addacc').append('<div class="col-12 col-lg-3 col-md-6">'+$(this).html()+'</div>');
|
||||
});
|
||||
$('.main .addacc').append('<div class="col-12 mt-1">'+$('.main > form > table tr:last-child > td').html()+'</div>');
|
||||
$('.main > form > table').remove();
|
||||
|
||||
$('.main b').removeAttr('style');
|
||||
});
|
||||
|
||||
$(window).load(function()
|
||||
{
|
||||
$('.tablesorter-hasChildRow td.collapsed').html('<i class="fa fa-plus-square"</i>');
|
||||
|
||||
$('.tablesorter-hasChildRow td.collapsible').click(function()
|
||||
{
|
||||
if($(this).hasClass('collapsed'))
|
||||
{
|
||||
$(this).html('<i class="fa fa-plus-square"></i>');
|
||||
}else
|
||||
{
|
||||
$(this).html('<i class="fa fa-minus-square"</i>');
|
||||
}
|
||||
});
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue