No changes
This commit is contained in:
parent
8680a02b13
commit
b6b398f5bf
17374 changed files with 2475441 additions and 0 deletions
28
themes/AdminLTE/modules/cron/user_cron.js
Normal file
28
themes/AdminLTE/modules/cron/user_cron.js
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
$(document).ready(function()
|
||||
{
|
||||
$('.content-wrapper [href="home.php?m=cron&p=cron"]').addClass('btn btn-sm btn-warning').prepend('<i class="fas fa-crown mr-1"></i>');
|
||||
$('.content-wrapper [href="?m=administration&p=main"], .main [href="javascript:history.go(-1)"]').addClass('btn btn-sm btn-primary');
|
||||
$('.content-wrapper input[name="removeJob"]').removeClass('btn-primary').addClass('btn-danger');
|
||||
|
||||
$('.content-wrapper th:last-child').attr('colspan', 2);
|
||||
});
|
||||
|
||||
$(window).load(function()
|
||||
{
|
||||
var doWrap = false;
|
||||
$('.main > *').each(function(index)
|
||||
{
|
||||
if($(this).is('h2'))
|
||||
{
|
||||
doWrap = true;
|
||||
$('.content .row > div').append('<div class="card"><div class="card-header"><h3 class="card-title">'+$(this).text()+'</h3></div><div class="card-body"></div></div>');
|
||||
$(this).remove();
|
||||
}else
|
||||
{
|
||||
if(doWrap)
|
||||
{
|
||||
$('.content .card-body:not(.main)').append($(this));
|
||||
}
|
||||
}
|
||||
});
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue