Agent-Logs-Url: https://github.com/GameServerPanel/GSP/sessions/40ca313f-3f17-4f62-8f05-ba72540a8d30 Co-authored-by: iaretechnician <2749183+iaretechnician@users.noreply.github.com>
19 lines
No EOL
1 KiB
JavaScript
19 lines
No EOL
1 KiB
JavaScript
jQuery(function($){
|
|
$( ".maintr" ).each(function( index ) {
|
|
$( this ).find( "td:eq(-1) > a" ).addClass('mini-btn'); //gives buttons shap
|
|
$( this ).find( "td:eq(-1) > a:eq(0)" ).addClass('red-btn'); //gives yellow color to buttons
|
|
$( this ).find( "td:eq(-1) > a:eq(1)" ).addClass('edit-btn'); //gives yellow color to buttons
|
|
$( this ).find( "td:eq(-1) > a:eq(4)" ).addClass('log-btn'); //gives yellow color to buttons
|
|
$( this ).find( "td:eq(-1) > a:eq(2)" ).addClass('yellow-btn'); //gives yellow color to buttons
|
|
$( this ).find( "td:eq(-1) > a:eq(3)" ).addClass('yellow-btn'); //gives yellow color to buttons
|
|
});
|
|
|
|
$('tr.maintr > td:last-child > a').each(function() {
|
|
this.textContent = this.textContent.replace(/]|\[/g, ""); //removes [ and ] from buttons
|
|
});
|
|
$('tr.expand-child > td:last-child > a').each(function() {
|
|
this.textContent = this.textContent.replace(/]|\[/g, ""); //removes [ and ] from buttons
|
|
$( this ).addClass('mini-btn'); //gives buttons shap
|
|
$( this ).addClass('fire-btn'); //gives yellow color to buttons
|
|
});
|
|
}) |