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
24
themes/Obsidian/modules/tickets/viewticket.js
Normal file
24
themes/Obsidian/modules/tickets/viewticket.js
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
jQuery(function($){
|
||||
$('.divTable').each(function() {
|
||||
$('.divTableCell.infoblock_ticket').each(function(){
|
||||
$(this).replaceWith('<td class="divTableCell infoblock_ticket">'+$(this).html()+'</td>');
|
||||
});
|
||||
$('.divTableCell.contentblock_ticket').each(function(){
|
||||
$(this).replaceWith('<td class="divTableCell contentblock_ticket">'+$(this).html()+'</td>');
|
||||
});
|
||||
$('.divTableRow').each(function(){
|
||||
$(this).replaceWith('<tr class="divTableRow">'+$(this).html()+'</tr>');
|
||||
});
|
||||
$('.divTableBody').each(function(){
|
||||
$(this).replaceWith('<tbody class="divTableBody">'+$(this).html()+'</tbody>');
|
||||
});
|
||||
$('.divTable').each(function(){
|
||||
$(this).replaceWith('<table class="divTable">'+$(this).html()+'</table>');
|
||||
});
|
||||
});
|
||||
|
||||
$('.message').each(function() {
|
||||
$(this).contents().wrapAll("<span class='message'></span>");
|
||||
$(this).contents().unwrap();
|
||||
});
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue