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
19
ControlPanel/themes/MasterControlProgram/modules/user_games/user_games.js
Executable file
19
ControlPanel/themes/MasterControlProgram/modules/user_games/user_games.js
Executable file
|
|
@ -0,0 +1,19 @@
|
|||
$(document).ready(function() {
|
||||
$('[href="?m=user_games&p=add"]').addClass('btn').addClass('btn-primary').addClass('btn-sm');
|
||||
$('[href^="?m=user_games&p=del&home_id"]').addClass('btn').addClass('btn-danger').addClass('btn-xs');
|
||||
$('[href^="?m=user_games&p=edit&home_id"]').addClass('btn').addClass('btn-primary').addClass('btn-xs');
|
||||
$('[href^="?m=user_games&p=clone&home_id"]').addClass('btn').addClass('btn-primary').addClass('btn-xs');
|
||||
|
||||
$('[href^="?m=user_games&p="]').each(function() {
|
||||
var newContent = $(this).text().replace('[', '').replace(']', '');
|
||||
$(this).text(newContent);
|
||||
});
|
||||
$('.size').each(function() {
|
||||
var newSize = $(this).text().replace('[', '').replace(']', '')
|
||||
$(this).text(newSize);
|
||||
});
|
||||
$('.size').addClass('btn').addClass('btn-xs').addClass('btn-default');
|
||||
|
||||
$('th:last-of-type').css('width', '150px');
|
||||
$('tr:last-of-type > td[colspan="2"]').removeAttr('colspan').attr('colspan', 3);
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue