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
27
themes/Obsidian/modules/litefm/litefm.js
Normal file
27
themes/Obsidian/modules/litefm/litefm.js
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
jQuery(function($){
|
||||
$('img').each(function() {
|
||||
fm_img_path = 'modules/litefm/action-images/';
|
||||
if ($(this).attr('src') == fm_img_path + 'remove.gif') {
|
||||
$(this).replaceWith('<i class="fa fa-trash file-op"></i>');
|
||||
}else if ($(this).attr('src') == fm_img_path + 'rename.gif') {
|
||||
$(this).replaceWith('<i class="fa fa-edit file-op"></i>');
|
||||
}else if ($(this).attr('src') == fm_img_path + 'move.gif') {
|
||||
$(this).replaceWith('<i class="fa fa-share-square-o file-op"></i>');
|
||||
}else if ($(this).attr('src') == fm_img_path + 'copy.gif') {
|
||||
$(this).replaceWith('<i class="fa fa-clipboard file-op"></i>');
|
||||
}else if ($(this).attr('src') == fm_img_path + 'compress.gif') {
|
||||
$(this).replaceWith('<i class="fa fa-file-archive-o file-op"></i>');
|
||||
}else if ($(this).attr('src') == fm_img_path + 'uncompress.gif') {
|
||||
$(this).replaceWith('<i class="fa fa-folder-open file-op"></i>');
|
||||
}else if ($(this).attr('src') == fm_img_path + 'create_file.gif') {
|
||||
$(this).replaceWith('<i class="fa fa-file file-op"></i>');
|
||||
}else if ($(this).attr('src') == fm_img_path + 'create_folder.gif') {
|
||||
$(this).replaceWith('<i class="fa fa-folder file-op"></i>');
|
||||
}else if ($(this).attr('src') == fm_img_path + 'upload.gif') {
|
||||
$(this).replaceWith('<i class="fa fa-upload file-op"></i>');
|
||||
}else if ($(this).attr('src') == fm_img_path + 'send_by_email.gif') {
|
||||
$(this).replaceWith('<i class="fa fa-envelope file-op"></i>');
|
||||
}
|
||||
});
|
||||
$('[href^="?m=gamemanager&p=game_monitor&home_id="]').addClass('default-btn'); //gives button look
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue