$(document).ready(function() { $('img[src$="edit.png"]').replaceWith(''); $('img[src$="refresh.png"]').replaceWith(''); $('[name="stopvServer"]').removeClass('btn-primary').addClass('btn-danger'); $('.edit, .main [href^="home.php?m=TS3Admin"], .main [href*="home.php?m=TS3Admin&token"], .main [href="home.php?m=TS3Admin&liveview"]').addClass('btn').addClass('btn-xs').addClass('btn-primary'); $('.propHeadline').parent('td').each(function(){ $(this).replaceWith(''+$(this).html()+''); }); $('.table .table0').each(function(){ $(this).replaceWith(''+$(this).html()+''); }); $('#serverview').css('padding','5px').wrap(''); $('#serverstatus').parent('td').children('a').addClass('label').addClass('label-primary').addClass('label-size'); $('#clearLink').parent('div').each(function(){ $(this).find('img').remove(); $(this).html($(this).html().replace('|','')); }); });