feat: GSP 1.0 baseline – module versions, FAQ refresh, XML editor validation, Obsidian theme
Agent-Logs-Url: https://github.com/GameServerPanel/GSP/sessions/40ca313f-3f17-4f62-8f05-ba72540a8d30 Co-authored-by: iaretechnician <2749183+iaretechnician@users.noreply.github.com>
This commit is contained in:
parent
1b3b79447f
commit
d564476d1c
178 changed files with 3327 additions and 44 deletions
19
themes/Obsidian/modules/administration/main.js
Normal file
19
themes/Obsidian/modules/administration/main.js
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
jQuery(function($){
|
||||
$('a.administration-buttons').each(function() {
|
||||
$(this).find("img").remove();
|
||||
$(this).find("br").remove();
|
||||
var button_title = $(this).find("div").html();
|
||||
$(this).find("div").remove();
|
||||
$(this).append(button_title);
|
||||
$(this).wrapAll('<div class="administration-buttons">');
|
||||
$(this).removeClass("administration-buttons");
|
||||
});
|
||||
var admin_table = ".administration-table:first";
|
||||
$(admin_table).find('td').contents().unwrap();//Removing all Td tags
|
||||
$("td.administration-buttons-hmargin").remove();
|
||||
$(admin_table).find('tr').contents().unwrap();//Removing all Td tags
|
||||
$(admin_table).find('tbody').contents().unwrap();//Removing all Td tags
|
||||
$(admin_table).find('td').remove();//Removing all Td tags
|
||||
$(admin_table).contents().wrapAll('<div style="text-align: center;">');
|
||||
$(admin_table).replaceWith($(admin_table).contents());
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue