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
531 B
JavaScript
19 lines
No EOL
531 B
JavaScript
|
|
jQuery(function($){
|
|
$('.actions > a:nth-child(1)').each(function() {
|
|
$(this).addClass('yellow-btn'); //gives yellow color to buttons
|
|
});
|
|
|
|
$( ".actions" ).each(function( index ) {
|
|
$( this ).find( "a:eq(1)" ).addClass('red-btn'); //gives red color to buttons
|
|
});
|
|
|
|
$('.actions > a').each(function() {
|
|
$(this).addClass('mini-btn'); //gives links a mini button style
|
|
this.textContent = this.textContent.replace(/]|\[/g, ""); //removes [ and ] from buttons
|
|
});
|
|
|
|
$('.actions > br').each(function() {
|
|
$(this).remove();
|
|
});
|
|
}) |