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
1
themes/Obsidian/modules/server/server.css
Normal file
1
themes/Obsidian/modules/server/server.css
Normal file
|
|
@ -0,0 +1 @@
|
|||
#servermonitor{font-family:'Open Sans',sans-serif;margin:10px 0 15px;width:100%;text-align:left;border-collapse:collapse;border-spacing:1px;border:1px solid #0f1a26!important}#servermonitor th{background-color:#0f1a26;font-size:10pt;padding:6px 5px}#servermonitor tr{color:#fff;padding:6px 4px;background-color:#162535!important}#servermonitor tr:nth-child(4n+1)>td,#servermonitor tr:nth-child(4n+2)>td{background-color:#111f2d!important}#servermonitor td{padding:5px 8px}.mini-btn{padding:1px 4px;border-radius:2px;cursor:pointer;margin:2px;font-weight:normal!important;color:#fff!important;background-color:#37b799;border:2px solid #37b799;font-size:11px;transition:all 0ms!important;float:left}.mini-btn:hover{border:2px solid #248e75;background:#248e75!important}.mini-btn:active{border:2px solid #204d74!important;background:#204d74!important}.yellow-btn{background-color:#f1c40f!important;border:2px solid #f1c40f!important}.yellow-btn:hover{background-color:#f39c12!important;border:2px solid #f39c12!important}.yellow-btn:before{content:"\f021"}.red-btn{background-color:#e74c3c!important;border:2px solid #e74c3c!important}.red-btn:before{content:"\f00d"}.red-btn:hover{background-color:#c0392b!important;border:2px solid #c0392b!important}.mini-btn:before{font:normal normal normal 14px/1 FontAwesome;font-size:inherit;text-rendering:auto;padding-right:2px}#servermonitor tr:last-child td{padding:5px 0}.ui-tooltip{border:1px solid white!important;max-width:451px!important;padding:0!important;border-radius:20px;box-shadow:0 0 7px black!important;overflow:hidden}.success{background-color:#20aa52;display:inline;padding:.2em .6em .3em;font-size:78%;font-weight:700;line-height:2.5;color:#fff;text-align:center;white-space:nowrap;vertical-align:baseline;border-radius:.25em;position:relative;top:-2px}.failure{background-color:#dd4b39;display:inline;padding:.2em .6em .3em;font-size:78%;font-weight:700;line-height:2.5;color:#fff;text-align:center;white-space:nowrap;vertical-align:baseline;border-radius:.25em;position:relative;top:-2px}.log-btn:before{content:"\f022"}.edit-btn:before{content:"\f044"}.fire-btn:before{content:"\f085"}.fire-btn{top:6px;position:relative}td.collapsible{vertical-align:middle!important}tr.maintr>td:nth-child(3)>b{display:none}
|
||||
19
themes/Obsidian/modules/server/server.js
Normal file
19
themes/Obsidian/modules/server/server.js
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
jQuery(function($){
|
||||
$( ".maintr" ).each(function( index ) {
|
||||
$( this ).find( "td:eq(-1) > a" ).addClass('mini-btn'); //gives buttons shap
|
||||
$( this ).find( "td:eq(-1) > a:eq(0)" ).addClass('red-btn'); //gives yellow color to buttons
|
||||
$( this ).find( "td:eq(-1) > a:eq(1)" ).addClass('edit-btn'); //gives yellow color to buttons
|
||||
$( this ).find( "td:eq(-1) > a:eq(4)" ).addClass('log-btn'); //gives yellow color to buttons
|
||||
$( this ).find( "td:eq(-1) > a:eq(2)" ).addClass('yellow-btn'); //gives yellow color to buttons
|
||||
$( this ).find( "td:eq(-1) > a:eq(3)" ).addClass('yellow-btn'); //gives yellow color to buttons
|
||||
});
|
||||
|
||||
$('tr.maintr > td:last-child > a').each(function() {
|
||||
this.textContent = this.textContent.replace(/]|\[/g, ""); //removes [ and ] from buttons
|
||||
});
|
||||
$('tr.expand-child > td:last-child > a').each(function() {
|
||||
this.textContent = this.textContent.replace(/]|\[/g, ""); //removes [ and ] from buttons
|
||||
$( this ).addClass('mini-btn'); //gives buttons shap
|
||||
$( this ).addClass('fire-btn'); //gives yellow color to buttons
|
||||
});
|
||||
})
|
||||
Loading…
Add table
Add a link
Reference in a new issue