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
50
themes/Obsidian/modules/user_games/assign.css
Normal file
50
themes/Obsidian/modules/user_games/assign.css
Normal file
|
|
@ -0,0 +1,50 @@
|
|||
table {
|
||||
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;
|
||||
}
|
||||
|
||||
th {
|
||||
background-color: #0F1A26;
|
||||
font-size: 10pt;
|
||||
padding: 6px 5px;
|
||||
}
|
||||
|
||||
tr {
|
||||
color: #fff;
|
||||
padding: 6px 4px;
|
||||
background-color: #162535 !important;
|
||||
}
|
||||
|
||||
.tr1 {
|
||||
background-color: #111F2D !important;
|
||||
}
|
||||
|
||||
.actions {
|
||||
padding: 4px 0px;
|
||||
}
|
||||
|
||||
input[type="submit"] {
|
||||
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;
|
||||
}
|
||||
input[type="submit"]:hover {
|
||||
border: 2px solid #248E75;
|
||||
background: #248E75 !important;
|
||||
}
|
||||
input[type="submit"]:active {
|
||||
border: 2px solid #204d74 !important;
|
||||
background: #204d74 !important;
|
||||
}
|
||||
1
themes/Obsidian/modules/user_games/edit.css
Normal file
1
themes/Obsidian/modules/user_games/edit.css
Normal file
|
|
@ -0,0 +1 @@
|
|||
select[style^="background: rgb(189, 242, 162)"],input[style^="background: rgb(189, 242, 162)"]{background:rgba(32,170,82,0.7)!important}select[style^="background: rgb(254, 156, 177)"],input[style^="background: rgb(254, 156, 177)"]{background:rgba(221,75,57,0.7)!important}.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}#mods table{font-family:'Open Sans',sans-serif;margin:10px 0 15px;text-align:left;border-collapse:collapse;border-spacing:1px;border:1px solid #0f1a26!important}#mods tr:nth-child(1) td{background-color:#0f1a26;font-size:10pt;padding:6px 5px}#mods tr{color:#fff;padding:6px 4px;background-color:#162535!important}#mods td{padding:5px 8px;color:#fff;border-bottom:1px solid #0f1a26}#mods tr td br{display:none}.mini-btn,a[href*="submit=delete_mod"],a[href*="install_cmds"]{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}.mini-btn:hover,a[href*="install_cmds"]:hover{border:2px solid #248e75;background:#248e75!important}.mini-btn:active,a[href*="submit=delete_mod"]:active,a[href*="install_cmds"]:active{border:2px solid #204d74!important;background:#204d74!important}.red-btn,a[href*="submit=delete_mod"]{background-color:#e74c3c!important;border:2px solid #e74c3c!important}.red-btn:before{font:normal normal normal 14px/1 FontAwesome;content:"\f00d"}.red-btn:hover,a[href*="submit=delete_mod"]:hover{background-color:#c0392b!important;border:2px solid #c0392b!important}
|
||||
9
themes/Obsidian/modules/user_games/edit.js
Normal file
9
themes/Obsidian/modules/user_games/edit.js
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
|
||||
jQuery(function($){
|
||||
|
||||
$( "a[href*='delete_ip']" ).each(function( index ) {
|
||||
$(this).addClass('mini-btn'); //gives links a mini button style
|
||||
$( this ).addClass('red-btn'); //gives red color to buttons
|
||||
this.textContent = this.textContent.replace(/]|\[/g, ""); //removes [ and ] from buttons
|
||||
});
|
||||
})
|
||||
1
themes/Obsidian/modules/user_games/user_games.css
Normal file
1
themes/Obsidian/modules/user_games/user_games.css
Normal file
|
|
@ -0,0 +1 @@
|
|||
.main-content>table:nth-child(2),.main-content>table:nth-child(2) tr{background-color:transparent!important;border-color:transparent!important}table{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}th{background-color:#0f1a26;font-size:10pt;padding:6px 5px}tr{color:#fff;padding:6px 4px;background-color:#162535!important}.tr1{background-color:#111f2d!important}.actions{padding:4px 0}.mini-btn,a[href="?m=user_games&p=add"],.size,.total{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,a[href="?m=user_games&p=add"]:hover,.size:hover,.total:hover{border:2px solid #248e75;background:#248e75!important}.mini-btn:active,a[href="?m=user_games&p=add"]:active,.size:active,.total:active{border:2px solid #204d74!important;background:#204d74!important}.mini-btn:before{content:"\f24d"}.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:"\f044"}.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}table,tr:last-child{background-color:#0f1a26!important}tr:last-child td{padding:8px 0}
|
||||
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