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
18
themes/Obsidian/modules/user_games/user_games.js
Normal file
18
themes/Obsidian/modules/user_games/user_games.js
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
|
||||
jQuery(function($){
|
||||
$('tr > td:last-child > a:nth-child(1)').each(function() {
|
||||
$(this).addClass('red-btn'); //gives yellow color to buttons
|
||||
});
|
||||
|
||||
$( "tr > td:last-child" ).each(function( index ) {
|
||||
$( this ).find( "a:eq(1)" ).addClass('yellow-btn'); //gives red color to buttons
|
||||
});
|
||||
|
||||
$('tr > td > a').each(function() {
|
||||
$(this).addClass('mini-btn'); //gives links a mini button style
|
||||
this.textContent = this.textContent.replace(/]|\[/g, ""); //removes [ and ] from buttons
|
||||
});
|
||||
$('tr > td > div').each(function() {
|
||||
this.textContent = this.textContent.replace(/]|\[/g, ""); //removes [ and ] from buttons
|
||||
});
|
||||
})
|
||||
Loading…
Add table
Add a link
Reference in a new issue