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
67
themes/Obsidian/modules/user_admin/show_groups.css
Normal file
67
themes/Obsidian/modules/user_admin/show_groups.css
Normal file
|
|
@ -0,0 +1,67 @@
|
|||
table:nth-child(3) {
|
||||
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;
|
||||
}
|
||||
table tbody tr.tr0 td {
|
||||
background-color: #0F1A26;
|
||||
font-size: 10pt;
|
||||
padding: 6px 5px;
|
||||
}
|
||||
table:nth-child(3) tbody tr {
|
||||
color: #fff;
|
||||
padding: 6px 4px;
|
||||
background-color: #162535 !important;
|
||||
}
|
||||
table:nth-child(3) tbody tr:nth-child(odd) {
|
||||
background-color: #111F2D !important;
|
||||
}
|
||||
table:nth-child(3) tbody tr td {
|
||||
padding: 5px 8px;
|
||||
text-align: center;
|
||||
}
|
||||
.mini-btn {
|
||||
padding: 1px 4px;
|
||||
border-radius: 2px;
|
||||
cursor: pointer;
|
||||
margin: 0 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 {
|
||||
border: 2px solid #248E75;
|
||||
background: #248E75 !important;
|
||||
}
|
||||
.mini-btn:active {
|
||||
border: 2px solid #204d74 !important;
|
||||
background: #204d74 !important;
|
||||
}
|
||||
.mini-btn:before {
|
||||
content: "\f067";
|
||||
}
|
||||
.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;
|
||||
}
|
||||
11
themes/Obsidian/modules/user_admin/show_groups.js
Normal file
11
themes/Obsidian/modules/user_admin/show_groups.js
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
jQuery(function($){
|
||||
$( "table.center:nth-child(3) > tbody > tr > td:nth-child(1)" ).each(function( index ) {
|
||||
$( this ).find( "a" ).addClass('mini-btn'); //gives button look
|
||||
$( this ).find( "br" ).remove();
|
||||
$( this ).find( "a:eq(1)" ).addClass('red-btn'); //gives red color to buttons
|
||||
});
|
||||
|
||||
$('.mini-btn').each(function() {
|
||||
this.textContent = this.textContent.replace(/]|\[/g, ""); //removes [ and ] from buttons
|
||||
});
|
||||
})
|
||||
84
themes/Obsidian/modules/user_admin/user_admin.css
Normal file
84
themes/Obsidian/modules/user_admin/user_admin.css
Normal file
|
|
@ -0,0 +1,84 @@
|
|||
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;
|
||||
}
|
||||
|
||||
.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;
|
||||
}
|
||||
.mini-btn:before {
|
||||
content: "\f044";
|
||||
}
|
||||
.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: "\f00c";
|
||||
}
|
||||
.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;
|
||||
}
|
||||
19
themes/Obsidian/modules/user_admin/user_admin.js
Normal file
19
themes/Obsidian/modules/user_admin/user_admin.js
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
|
||||
jQuery(function($){
|
||||
$('.actions > a:nth-child(1)').each(function() {
|
||||
$(this).addClass('yellow-btn'); //gives yellow color to buttons
|
||||
});
|
||||
|
||||
$( ".actions" ).each(function( index ) {
|
||||
$( this ).find( "a:eq(1)" ).addClass('red-btn'); //gives red color to buttons
|
||||
});
|
||||
|
||||
$('.actions > a').each(function() {
|
||||
$(this).addClass('mini-btn'); //gives links a mini button style
|
||||
this.textContent = this.textContent.replace(/]|\[/g, ""); //removes [ and ] from buttons
|
||||
});
|
||||
|
||||
$('.actions > br').each(function() {
|
||||
$(this).remove();
|
||||
});
|
||||
})
|
||||
Loading…
Add table
Add a link
Reference in a new issue