force sync from /var/www/html/panel: 2025-09-08T20:36:30Z
This commit is contained in:
commit
4f717c9ee8
18119 changed files with 2566034 additions and 0 deletions
4
ControlPanel/themes/AdminLTE/modules/user_games/add.js
Executable file
4
ControlPanel/themes/AdminLTE/modules/user_games/add.js
Executable file
|
|
@ -0,0 +1,4 @@
|
|||
$(document).ready(function()
|
||||
{
|
||||
$('.main [href="?m=user_games"]').addClass('btn btn-primary btn-xs');
|
||||
});
|
||||
6
ControlPanel/themes/AdminLTE/modules/user_games/assign.js
Executable file
6
ControlPanel/themes/AdminLTE/modules/user_games/assign.js
Executable file
|
|
@ -0,0 +1,6 @@
|
|||
$(document).ready(function()
|
||||
{
|
||||
$('.main [href="?m=user_admin&p=show_groups"], .main [href="?m=user_admin"]').addClass('btn btn-sm btn-primary');
|
||||
|
||||
$('input[name="unassign"]').removeClass('btn-primary').addClass('btn-danger');
|
||||
});
|
||||
6
ControlPanel/themes/AdminLTE/modules/user_games/clone.js
Executable file
6
ControlPanel/themes/AdminLTE/modules/user_games/clone.js
Executable file
|
|
@ -0,0 +1,6 @@
|
|||
$(document).ready(function() {
|
||||
$('.main [href="?m=user_games"]').addClass('btn').addClass('btn-primary').addClass('btn-sm');
|
||||
|
||||
});
|
||||
|
||||
|
||||
5
ControlPanel/themes/AdminLTE/modules/user_games/custom_fields.js
Executable file
5
ControlPanel/themes/AdminLTE/modules/user_games/custom_fields.js
Executable file
|
|
@ -0,0 +1,5 @@
|
|||
$(document).ready(function() {
|
||||
$('p > a').addClass('btn').addClass('btn-primary').addClass('btn-sm');
|
||||
|
||||
});
|
||||
|
||||
3
ControlPanel/themes/AdminLTE/modules/user_games/del.css
Executable file
3
ControlPanel/themes/AdminLTE/modules/user_games/del.css
Executable file
|
|
@ -0,0 +1,3 @@
|
|||
#deleteLink {
|
||||
margin-right: 20px;
|
||||
}
|
||||
23
ControlPanel/themes/AdminLTE/modules/user_games/del.js
Executable file
23
ControlPanel/themes/AdminLTE/modules/user_games/del.js
Executable file
|
|
@ -0,0 +1,23 @@
|
|||
$(document).ready(function()
|
||||
{
|
||||
$('.main > p:nth-child(1)').replaceWith('\
|
||||
<div class="row">\
|
||||
<div class="col-12">\
|
||||
<div class="callout callout-warning">\
|
||||
<p>'+$('.main > p:nth-child(1)').html()+'</p>\
|
||||
</div>\
|
||||
</div>\
|
||||
</div>\
|
||||
');
|
||||
|
||||
|
||||
$('.main > p:nth-child(2)').replaceWith('<table class="table table-sm table-striped"><tr><td>'+$('.main > p:nth-child(2)').html()+'</td></table>');
|
||||
$('.main td').each(function()
|
||||
{
|
||||
$(this).html($(this).html().replace('|',''));
|
||||
});
|
||||
|
||||
$('.main [href$="&files=y"]').addClass('btn btn-sm btn-danger').prepend('<i class="fas fa-trash-alt mr-1"></i>');
|
||||
$('.main [href^="?m=user_games&p=del&y=y&home_id="]').addClass('btn btn-sm btn-danger');
|
||||
$('.main [href="?m=user_games"]').addClass('btn btn-sm btn-primary');
|
||||
});
|
||||
22
ControlPanel/themes/AdminLTE/modules/user_games/edit.css
Executable file
22
ControlPanel/themes/AdminLTE/modules/user_games/edit.css
Executable file
|
|
@ -0,0 +1,22 @@
|
|||
select[name="ip"],
|
||||
input[name="port"]
|
||||
{
|
||||
max-width: 200px;
|
||||
display: inline-block;
|
||||
margin: 0px 10px;
|
||||
}
|
||||
|
||||
#cpu_select span {
|
||||
margin-right: 10px;
|
||||
}
|
||||
|
||||
td.left select,
|
||||
td.left input {
|
||||
display: inline-block;
|
||||
width: auto;
|
||||
margin-right: 1rem;
|
||||
}
|
||||
|
||||
td.right {
|
||||
font-weight: bold;
|
||||
}
|
||||
33
ControlPanel/themes/AdminLTE/modules/user_games/edit.js
Executable file
33
ControlPanel/themes/AdminLTE/modules/user_games/edit.js
Executable file
|
|
@ -0,0 +1,33 @@
|
|||
$(document).ready(function()
|
||||
{
|
||||
$('.main p > a').addClass('btn btn-primary btn-sm');
|
||||
|
||||
$('.main [name="change_user_id_main"]').removeClass('btn-primary').addClass('btn-warning');
|
||||
$('.main [href*="&delete_ip&"]').addClass('btn btn-xs btn-danger');
|
||||
|
||||
$('.main form[action^="?m=user_games&p=edit&home_id="]').addClass('mb-1');
|
||||
|
||||
$('.main #mods').bind("DOMSubtreeModified",function()
|
||||
{
|
||||
$(this).find('table').addClass('table table-sm table-striped');
|
||||
$(this).find('select').addClass('form-control');
|
||||
$(this).find('input[type="text"]').addClass('form-control');
|
||||
$(this).find('[href$="&submit=delete_mod"]').addClass('btn btn-xs btn-danger');
|
||||
$(this).find('[href^="?m=user_games&p=install_cmds&home_id="]').addClass('btn btn-xs btn-primary');
|
||||
$(this).find('.set_options').addClass('btn btn-sm btn-primary');
|
||||
$(this).find('[type="submit"]').addClass('btn btn-sm btn-primary');
|
||||
$(this).find('[id^="mod_cfg_id_"] > td').find('br').remove();
|
||||
|
||||
$(this).find('[href$="&submit=delete_mod"]').each(function()
|
||||
{
|
||||
var thisValue = $(this).text();
|
||||
if(thisValue.includes('['))
|
||||
{
|
||||
$(this).text(thisValue.replace('[','').replace(']','').trim());
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
$('.main td.right').attr('rowspan', 2);
|
||||
$('.main td.info').addClass('text-sm text-muted').css('border-top', 'none');
|
||||
});
|
||||
4
ControlPanel/themes/AdminLTE/modules/user_games/install_cmds.js
Executable file
4
ControlPanel/themes/AdminLTE/modules/user_games/install_cmds.js
Executable file
|
|
@ -0,0 +1,4 @@
|
|||
$(document).ready(function() {
|
||||
$('.main [href^="?m=user_games&p=edit&home_id="]').addClass('btn').addClass('btn-primary').addClass('btn-sm');
|
||||
|
||||
});
|
||||
4
ControlPanel/themes/AdminLTE/modules/user_games/user_games.css
Executable file
4
ControlPanel/themes/AdminLTE/modules/user_games/user_games.css
Executable file
|
|
@ -0,0 +1,4 @@
|
|||
#searchType, #search {
|
||||
display: inline-block !important;
|
||||
width: auto !important;
|
||||
}
|
||||
20
ControlPanel/themes/AdminLTE/modules/user_games/user_games.js
Executable file
20
ControlPanel/themes/AdminLTE/modules/user_games/user_games.js
Executable file
|
|
@ -0,0 +1,20 @@
|
|||
$(document).ready(function()
|
||||
{
|
||||
$('.main [href^="?m=user_games&p="]').each(function() {
|
||||
var newContent = $(this).text().replace('[', '').replace(']', '');
|
||||
$(this).text(newContent);
|
||||
});
|
||||
$('.main .size').each(function() {
|
||||
var newSize = $(this).text().replace('[', '').replace(']', '')
|
||||
$(this).text(newSize);
|
||||
});
|
||||
$('.main .size').addClass('btn btn-xs btn-default');
|
||||
|
||||
$('.main [href="?m=user_games&p=add"]').prepend('<i class="fas fa-plus-square mr-1"></i>').addClass('btn btn-primary btn-sm');
|
||||
$('.main [href^="?m=user_games&p=del&home_id"]').prepend('<i class="fas fa-trash-alt mr-1"></i>').addClass('btn btn-danger btn-xs');
|
||||
$('.main [href^="?m=user_games&p=edit&home_id"]').prepend('<i class="fas fa-edit mr-1"></i>').addClass('btn btn-primary btn-xs');
|
||||
$('.main [href^="?m=user_games&p=clone&home_id"]').prepend('<i class="fas fa-clone mr-1"></i>').addClass('btn btn-primary btn-xs');
|
||||
|
||||
$('.main th:last-of-type').css('width', '150px');
|
||||
$('.main tr:last-of-type > td[colspan="2"]').removeAttr('colspan').attr('colspan', 3);
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue