From the panel site

This commit is contained in:
Frank Harris 2025-09-17 21:14:45 -04:00
parent d684ca74fb
commit 2fc04bcfac
1194 changed files with 154606 additions and 13040 deletions

View file

@ -1,9 +1,9 @@
<div class="col col-lg-12 footer">
<!-- Footer -->
Join our Discord server for support and any questions <a href="https://discord.gg/PBaDdnTfHH" target="_blank">Xp Game Host Discord</a>
Join our Discord server for support and any questions</br>
<div class="copy">
<!-- copyright -->
&#169; 2023 Xp Game Host
&#169; 2025 World Domination Software
</div>
</div>

View file

@ -0,0 +1,930 @@
@import url('https://fonts.googleapis.com/css?family=Roboto:300,400');
@import url("font-awesome.min.css");
body {
-webkit-background-size: cover !important;
-moz-background-size: cover !important;
-o-background-size: cover !important;
background-size: cover !important;
background-repeat: no-repeat;
background-attachment: fixed;
background-position: center;
text-shadow: 0 1px 3px rgba(0,0,0,.5);
}
#editor_wrapper {
text-shadow: none;
}
body > .container-fluid {
display: none;
}
::-webkit-scrollbar-button{
display: none;
}
::-webkit-scrollbar-button:hover{
background-color: #AAA;
}
::-webkit-scrollbar-thumb{
background-color: #CCC;
}
::-webkit-scrollbar-thumb:hover{
background-color: #CCC;
}
::-webkit-scrollbar-track{
background-color: rgba(40, 42, 49, 1);
}
::-webkit-scrollbar-track:hover{
background-color: #CCC;
}
::-webkit-scrollbar{
width: 3px;
height: 3px;
}
@-webkit-keyframes autofill {
to {
color: #fff;
background: transparent;
}
}
input:-webkit-autofill,
textarea:-webkit-autofill,
select:-webkit-autofill {
-webkit-animation-name: autofill;
-webkit-animation-fill-mode: both;
}
@media (max-width: 360px) {
.g-recaptcha {
-ms-zoom: 0.95;
-moz-transform: scale(0.95);
-moz-transform-origin: 0 0;
-o-transform: scale(0.95);
-o-transform-origin: 0 0;
-webkit-transform: scale(0.95);
-webkit-transform-origin: 0 0;
}
}
input[type="image"]{
margin-right: 5px;
}
input[type="radio"], input[type="checkbox"] {
margin: 4px 6px;
}
input#search,
input#search + input[type="submit"] {
display: inline-block !important;
width: auto !important;
}
.input-group-btn > .btn-file {
line-height: 22px;
border: 0px solid transparent;
margin-left: 2px;
}
.input-group-btn > .btn-file > .fa {
line-height: 22px;
}
.input-group .fa {
min-width: 12px;
}
.btn-file {
position: relative;
overflow: hidden;
}
.btn-file input[type=file] {
position: absolute;
top: 0;
right: 0;
min-width: 100%;
min-height: 100%;
font-size: 100px;
text-align: right;
filter: alpha(opacity=0);
opacity: 0;
outline: none;
background: white;
cursor: inherit;
display: block;
}
.btn,
.btn-primary {
overflow: hidden;
position: relative;
}
.btn-primary:after,
.btn:after,
.input-hack:after {
content: '';
position: absolute;
top: -10%;
right: -25%;
width: 60%;
height: 800%;
background-color: rgba(255,255,255,0.2);
z-index: 1;
-ms-transform-origin: 0 0;
transform-origin: 0 0;
-ms-transform: rotate(-15deg);
transform: rotate(-15deg);
transition: all .3s ease-in-out;
}
.input-hack {
display: inline-block;
position: relative;
overflow: hidden;
border-radius: 4px;
margin: 2px;
}
.input-hack > input {
margin: 0px !important;
}
.btn-primary:hover:after,
.btn:hover:after,
.input-hack:hover:after {
width: 70%;
}
.loading-overlay {
background-color: rgba(26, 28, 34, 0.8);
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 99;
text-align: center;
}
.loading-overlay img {
top: 40%;
position: absolute;
}
.loadinggif {
font-size: 100px;
}
.redirectLink {
margin-bottom: 15px !important;
}
h0, h1, h2, h3, h4, h5, h6, legend {
font-family: Roboto;
font-weight: 300;
}
h0, h1, h2, h3, h4, h5, h6 {
text-transform: uppercase;
padding-bottom: 10px;
}
td > h3 {
margin: 0px !important;
padding: 0px !important;
border-bottom: none !important;
}
.logo{
padding: 20px;
}
.logo h2 {
margin-top: 0px;
}
.login-container {
max-width: 550px;
padding: 20px;
margin: auto;
border-radius: 5px;
background-color: rgba(26, 28, 34, 0.3);
border: 1px solid rgba(35, 40, 46, 0.8);
}
.login-container input, .login-container select {
margin-bottom: 10px;
}
.login-container h3 {
margin-top: 0px;
}
.login-container .input-group {
margin-bottom: 10px;
}
.input-group > .form-control {
border-left: 0px;
}
.input-group > .form-control:focus {
box-shadow: none !important;
-webkit-box-shadow: none !important;
}
select.form-control {
padding-right: 30px;
}
.btn:not(span) {
margin: 2px;
}
h4.collapse,
.subUserShowHideTextTd.collapse {
display: block !important;
}
.bloc {
padding: 10px;
}
.col.footer {
background-color: rgba(26, 28, 34, 0.5);
padding: 40px;
margin-top: 40px;
}
.footer.center {
text-align: left !important;
}
.hidden, .hide {
display: none !important;
}
.inline-block{
display: inline-block;
}
div.OGPVersionArea{
width: 100%;
position: relative;
}
span.copyVersionResult{
position: absolute;
left: 90%;
top: 0;
}
.bootstrap-datetimepicker-widget > ul{
padding: 0px;
}
span.versionInfo{
cursor: pointer;
text-decoration: underline;
}
#dialog
{
height: auto !important;
color: #fff;
}
#dialog p{
text-align: left;
text-align: initial;
}
.table .table {
background-color: inherit;
}
.table>thead>tr>th {
border-bottom: none;
}
label {
font-weight: normal;
}
.label-size {
font-size: 90%;
line-height: 1.5;
font-weight: normal;
}
.tablesorter .header:hover {
cursor: pointer;
}
.headerSortDown:before,
.headerSortUp:before
{
font-family: 'FontAwesome';
margin-right: 5px;
float: left;
}
.headerSortDown:before { content: "\f107"; }
.headerSortUp:before { content: "\f106"; }
fieldset.infoBox {
margin-right: 10px;
}
th {
font-weight: 400 !important;
text-transform: uppercase !important;
background-color: rgba(26, 28, 34, 0.5);
}
.collapsible:hover {
cursor: pointer;
}
.expandme:hover {
background-color: rgba(67,72,87,0.6);
}
[data-toggle="tooltip"]:not(#bg_preview) {
font-size: 130%;
}
#bg_preview + .tooltip.in {
opacity: 1 !important;
}
.image-tooltip + .tooltip {
left: 40px !important;
}
.image-tooltip + .tooltip > .tooltip-inner {
max-width: 100%;
padding: 0px;
}
.online { color: #5cb85c; }
.offline { color: #d9534f; }
input[type="checkbox"] {
-moz-appearance: none;
-webkit-appearance: none;
-o-appearance: none;
font-family: FontAwesome;
border: 1px solid rgba(67, 72, 87, 1);
width: 16px;
height: 16px;
background-color: rgba(26, 28, 34, 0.2) !important;
border-radius: 3px;
display: inline-block;
outline: none;
margin: 0px 4px;
}
input[type="checkbox"][disabled] {
border: 1px solid rgba(67, 72, 87, 0.5);
}
input[type=checkbox]:before {
content: "\f00c";
color: transparent;
}
input[type=checkbox]:checked:before {
color: #fff;
}
select{
background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKBAMAAAB/HNKOAAAAGFBMVEUAAAD///////////////////////////8jfp1fAAAAB3RSTlMAGjG+6/P1wTTolgAAACVJREFUCFtjYEAC5uXl5Q4MYkBSgYExvbwIKCQGZDIwMAYxYAEA1swFyXm1qtoAAAAASUVORK5CYII=") no-repeat calc(100% - 10px) 50% rgba(26, 28, 34, 0.4) !important;
-moz-appearance: none;
-webkit-appearance: none;
appearance: none;
}
/* *** Button Fix *** */
button { -webkit-appearance: button; }
#server_icon,
input[name="empty_logger"]
{
cursor: pointer;
background-image: -webkit-linear-gradient(top, #1997c6 0, #126e90 100%);
background-image: -o-linear-gradient(top, #1997c6 0, #126e90 100%);
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #1997c6), to(#126e90));
background-image: linear-gradient(to bottom, #1997c6 0, #126e90 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff1997c6', endColorstr='#ff126e90', GradientType=0);
filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
background-repeat: repeat-x;
border-color: #116787;
text-shadow: 0 -1px 0 rgba(0,0,0,0.2);
-webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,0.15), 0 1px 1px rgba(0,0,0,0.075);
box-shadow: inset 0 1px 0 rgba(255,255,255,0.15), 0 1px 1px rgba(0,0,0,0.075);
padding: 5px 10px;
font-size: 12px;
line-height: 1.5;
border-radius: 3px;
color: #fff;
background-color:#126e90;
display: inline-block;
margin-bottom: 0;
font-weight: normal;
text-align: center;
vertical-align: middle;
-ms-touch-action: manipulation;
touch-action: manipulation;
white-space: nowrap;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
border: 1px solid transparent;
}
#server_icon:hover,
input[name="empty_logger"]:hover
{
background-color: #126e90;
background-position: 0 -15px;
}
/* *** Magnifier Restyling *** */
.mfp-bg {
opacity: 1 !important;
background: rgba(170, 170, 170, 0.3) !important;
}
.white-popup {
background-color: rgba(26, 28, 34, 0.9) !important;
border: 1px solid #23282e !important;
color: #fff !important;
border-radius: 4px !important;
padding: 2px !important;
}
.magnificTitle {
background-color: #1997C6 !important;
border-radius: 4px !important;
font-size: 15px !important;
}
.magnificSubTitle {
background-color: transparent !important;
padding: 5px !important;
font-size: 14px !important;
}
.mfp-close {
width: 30px !important;
height: 30px !important;
margin: 5px !important;
background-image: -webkit-linear-gradient(top, #1997c6 0, #126e90 100%) !important;
background-image: -o-linear-gradient(top, #1997c6 0, #126e90 100%) !important;
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #1997c6), to(#126e90)) !important;
background-image: linear-gradient(to bottom, #1997c6 0, #126e90 100%) !important;
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff1997c6', endColorstr='#ff126e90', GradientType=0) !important;
filter: progid:DXImageTransform.Microsoft.gradient(enabled = false) !important;
background-repeat: repeat-x !important;
border-color: #116787 !important;
overflow: hidden !important;
display: inline-block !important;
position: absolute !important;
}
button.mfp-close:hover {
background-color: #126e90 !important;
}
button.mfp-close:focus {
outline: none !important;
}
/* *** Alert Styling *** */
.alert {
padding-left: 50px;
position: relative;
}
.alert:before {
font-family: FontAwesome;
position: absolute;
top: 10px;
left: 15px;
font-size: 20px;
}
.alert.alert-info:before {
content: "\f05a";
}
.alert.alert-success:before {
content: "\f046";
}
.alert.alert-warning:before {
content: "\f071";
}
.alert.alert-danger:before {
content: "\f057";
}
.alert-success,
.alert-danger {
text-shadow: 0 1px 3px rgba(0,0,0,.2);
}
/* *** UI-Dialog Restyling *** */
.ui-widget-content {
background-color: transparent !important;
border-color: transparent !important;
}
.ui-dialog {
background-color: rgba(26, 28, 34, 0.8) !important;
border: 1px solid #23282e !important;
}
.ui-draggable .ui-dialog-titlebar {
background-color: #1997c6;
border: none;
color: #fff;
}
input[name="map-image"] {
color: #fff;
outline: none;
}
.ui-widget-content {
height: auto !important;
}
.ui-dialog-titlebar-close:before {
content: "\f00d";
}
.ui-dialog-titlebar-close
{
font-family: FontAwesome !important;
background-image: -webkit-linear-gradient(top, #d9534f 0, #c12e2a 100%);
background-image: -o-linear-gradient(top, #d9534f 0, #c12e2a 100%);
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #d9534f), to(#c12e2a));
background-image: linear-gradient(to bottom, #d9534f 0, #c12e2a 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9534f', endColorstr='#ffc12e2a', GradientType=0);
filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
background-repeat: repeat-x;
border-color: #b92c28;
}
.ui-dialog-titlebar-close:hover
{
background-color: #c12e2a;
}
.ui-widget input, .ui-widget select, .ui-widget textarea {
display: block;
width: 100%;
height: 34px;
padding: 6px 12px;
font-size: 14px;
line-height: 1.42857143;
color: #fff;
background-color: rgba(26, 28, 34, 0.4);
background-image: none;
border-radius: 4px;
-webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
-webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
-o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
margin-bottom: 2px;
border: 1px solid #22252f;
}
.ui-widget .btn:focus,
.ui-widget input:focus,
.ui-widget select:focus,
.ui-widget textarea:focus {
outline: 0;
}
.ui-widget button:not(.ui-dialog-titlebar-close) {
color: #fff;
background-color: #0f5c79;
border-color: #082f3e;
padding: 5px 10px;
font-size: 12px;
line-height: 1.5;
border-radius: 3px;
background-image: -webkit-linear-gradient(top, #1997c6 0, #126e90 100%);
background-image: -o-linear-gradient(top, #1997c6 0, #126e90 100%);
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #1997c6), to(#126e90));
background-image: linear-gradient(to bottom, #1997c6 0, #126e90 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff1997c6', endColorstr='#ff126e90', GradientType=0);
filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
background-repeat: repeat-x;
border-color: #116787;
text-shadow: 0 -1px 0 rgba(0,0,0,0.2);
-webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,0.15), 0 1px 1px rgba(0,0,0,0.075);
box-shadow: inset 0 1px 0 rgba(255,255,255,0.15), 0 1px 1px rgba(0,0,0,0.075);
border: 1px transparent;
}
.ui-widget button:not(.ui-dialog-titlebar-close):hover, .ui-widget button:not(.ui-dialog-titlebar-close):focus {
background-color: #126e90;
background-position: 0 -15px;
}
.list-group {
border: 1px solid #23282e;
background-color: rgba(26, 28, 34, 0.2);
}
.list-group-item:not(:last-child) {
border-bottom: 1px solid #22252f;
}
.list-group > .list-group-item:nth-of-type(odd) {
background-color: rgba(26, 28, 34, 0.2);
}
/* ***** MENU ***** */
@media (min-width: 992px) {
.navbar-header {
display: none;
}
.navigation {
padding-right: 0px;
}
}
.navbar-header {
background-color: rgba(25, 151, 198, 0.8);
border-radius: 4px;
margin-bottom: 3px;
}
.navbar-brand {
color: #fff;
text-transform: uppercase;
font-weight: 300;
}
.navbar-toggle {
margin: 8px !important;
}
.navbar.navbar-default {
margin-top: 15px;
}
.navbar:not(.navbar-default) {
margin: 0px !important;
}
.navbar:not(.navbar-default) .menu {
margin-bottom: 20px;
border: 1px solid #22252f;
}
.menu .panel{
margin-bottom: 0px;
border: none;
}
.menu li:not(:last-of-type) {
border-bottom: 1px solid #23282e;
}
.menu ul:not(:first-child) {
border-top: 1px solid #23282e;
}
.menu ul {
list-style: none;
padding: 0px;
margin: 0px;
line-height: 35px;
cursor: pointer;
background-color: rgba(26, 28, 34, 0.2);
transition: height 0.1s ease-in;
}
.menu > ul {
background-color: rgba(26, 28, 34, 0.5);
}
.menu li li {
line-height: 25px;
}
.menu a:hover,
.menu .ready{
background-color: rgba(25, 151, 198, 0.8) !important;
text-decoration: none;
transition: max-height 0.1s;
}
[class$="menu_link_selected"],
.menu a[aria-expanded="true"] {
background-color: #1686af !important;
}
.menu [id$=#submenu_] .btn-primary:hover {
background-position: 0 -35px;
}
.menu .active .btn-primary:hover {
background-position: 0 -50px;
}
.menu a {
display: block;
color: #fff;
font-size: 14px;
padding: 0px 10px;
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
}
.menu ul[id^=submenu] ul[id^=submenu] a {
padding: 0px 20px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.menu ul[id^=submenu] a,
.menu ul#administration a,
.menu ul > li > ul a
{
font-size: 12px;
padding-left: 16px;
}
.menu a:hover {
text-decoration: none;
}
.menu a[href^="#mgamemanagerpgamemonitorhomecfgid"] span:before {
content: "" !important;
width: 0px !important;
}
.menu img {
max-height: 15px;
margin-right: 5px;
border-radius: 2px;
}
.menu a > span {
white-space: nowrap;
transition: padding 100ms;
}
#menu:not(.nav) a:hover > span {
padding-left: 2px;
}
.menu .tree ul:not(.opened) .tree:before {
visibility: hidden;
}
.menu .tree ul.opened .tree:before {
visibility: visible;
}
[id^="mgamemanagerpgamemonitorhomecfgid"] a.user_menu_link:before {
content: "\25CF";
position: relative;
left: -5px;
}
/* *** Font-Awesome *** */
a:before,
.menu .tree:before,
.menu a span:before
{
font-family: 'FontAwesome';
}
.menu a span:before {
width: 22px;
display: inline-block;
}
.menu .panel > a:before {
position: absolute;
right: 0px;
content: "\f104";
margin-right: 10px;
font-size: 80%;
-webkit-transition: all 100ms;
transition: all 100ms;
}
.menu .panel > a[aria-expanded="true"]:before {
-webkit-transform: rotate(-90deg);
-moz-transform: rotate(-90deg);
-o-transform: rotate(-90deg);
-ms-transform: rotate(-90deg);
transform: rotate(-90deg);
}
.monitorbutton:before {
display: block;
font-size: 40px;
//margin-bottom: -5px;
}
.loading:before {
content: "\f021" !important;
-webkit-animation: fa-spin 2s infinite linear;
animation: fa-spin 2s infinite linear;
}
.loading {
content: "Loading..." !important;
}
form:not([name="login_form"]) .form-control,
.login-container .input-group,
input[type="checkbox"] {
-moz-box-shadow: 0px 0px 1px 1px rgba(255,255,255,0.2);
-webkit-box-shadow: 0px 0px 1px 1px rgba(255,255,255,0.2);
box-shadow: 0px 0px 1px 1px rgba(255,255,255,0.2);
border-radius: 3px;
}
.ace_scroller {
overflow-x: scroll;
}
.ace_scrollbar-inner {
height: 3px;
}
/* Default */
.menu a > span:before,
.administration-table a:before,
.monitorButtonContainer a:before
{ content: "\f192"; }
/* Defined */
.menu ul[id^="submenu"] span:before { display: none; }
.menu [href="?m=dashboard&p=dashboard"] > span:before,
.administration-table [href="?m=dashboard&p=dashboard"]:before { content: "\f0e4"; }
.menu [href="?m=gamemanager&p=game_monitor"] > span:before,
.menu [link="?m=gamemanager&p=game_monitor"] > span:before { content: "\f108"; }
.menu [href="?m=administration&p=main"] > span:before,
.menu [link="?m=administration&p=main"] > span:before { content: "\f023"; }
.menu [href="?m=TS3Admin"] > span:before { content: "\f086"; }
.menu [href^="?m=gamemanager&p=log"] > span:before,
.monitorButtonContainer [href^="?m=gamemanager&p=log"]:before { content: "\f1da"; }
.menu [href="?m=addonsmanager&p=addons_manager"] > span:before,
.monitorButtonContainer [href^="?m=addonsmanager&p=user_addons"]:before,
.administration-table [href="?m=addonsmanager&p=addons_manager"]:before { content: "\f12e"; }
.menu [href="?m=extras"] > span:before,
.administration-table [href="?m=extras"]:before{ content: "\f1e6"; }
.menu [href^="?m=ftp"] > span:before,
.monitorButtonContainer [href^="?m=ftp"]:before,
.administration-table [href^="?m=ftp"]:before{ content: "\f15c"; }
.menu [href="?m=user_games"] > span:before,
.administration-table [href="?m=user_games"]:before{ content: "\f11b"; }
.menu [href="?m=config_games"] > span:before,
.administration-table [href="?m=config_games"]:before{ content: "\f046"; }
.menu [href^="?m=litefm"] > span:before,
.menu [href="?m=litefm&p=litefm_settings"] > span:before,
.administration-table [href="?m=litefm&p=litefm_settings"]:before,
.menu [href^="?m=user_games&p=edit"] > span:before,
.monitorButtonContainer [href^="?m=user_games&p=edit"]:before{ content: "\f085"; }
.menu [href="?m=modulemanager"] > span:before,
.administration-table [href="?m=modulemanager"]:before { content: "\f009"; }
.menu [href="?m=settings"] > span:before,
.administration-table [href="?m=settings"]:before { content: "\f1de"; }
.menu [href="?m=server"] > span:before,
.administration-table [href="?m=server"]:before { content: "\f233"; }
.menu [href="?m=settings&p=themes"] > span:before,
.administration-table [href="?m=settings&p=themes"]:before { content: "\f043"; }
.menu [href="?m=update"] > span:before,
.administration-table [href="?m=update"]:before { content: "\f021"; }
.menu [href^="?m=gamemanager&p=update"] > span:before,
.menu [href^="?m=steam_workshop"] > span:before,
.administration-table [href^="?m=steam_workshop"]:before,
.monitorButtonContainer [href^="?m=gamemanager&p=update"]:before { content: "\f1b6"; }
.menu [href^="?m=user_admin"] > span:before,
.menu [link^="?m=user_admin"] > span:before,
.administration-table [href^="?m=user_admin"]:before{ content: "\f007"; }
.menu [href="?m=user_admin&p=show_groups"] > span:before { content: "\f0c0"; }
.menu [href="?m=administration&p=watch_logger"] > span:before,
.administration-table [href="?m=administration&p=watch_logger"]:before { content: "\f017"; }
.menu [href^="?m=cron"] > span:before,
.administration-table [href^="?m=cron"]:before { content: "\f073"; }
.menu [href="?m=mysql&p=mysql_admin"] > span:before,
.monitorButtonContainer [href^="?m=mysql"]:before,
.administration-table [href="?m=mysql&p=mysql_admin"]:before { content: "\f1c0"; }
.menu [href="?m=administration&p=banlist"] > span:before,
.administration-table [href="?m=administration&p=banlist"]:before { content: "\f05e"; }
.menu [href^="home.php?m=gamemanager&p=rcon_presets"] > span:before,
.monitorButtonContainer [href^="home.php?m=gamemanager&p=rcon_presets"]:before,
.menu [href="?m=rcon&p=rcon"] > span:before,
.administration-table [href="?m=rcon&p=rcon"]:before { content: "\f120"; }
.menu [href^="?m=gamemanager&p=rsync_install"] > span:before { content: "\f0ad"; }
.menu [href^="?m=support"] > span:before { content: "\f095"; }
.menu [href^="?m=faq"] > span:before,
.administration-table [href^="?m=faq"]:before{ content: "\f29c"; }
.menu [href^="?m=fast_download"] > span:before,
.monitorButtonContainer [href^="?m=fast_download"]:before,
.administration-table [href^="?m=fast_download"]:before { content: "\f019"; }
.menu [href^="?m=dsi"] > span:before,
.monitorButtonContainer [href^="?m=dsi"]:before,
.administration-table [href^="?m=dsi"]:before{ content: "\f03e"; }
.menu [href^="?m=billing"] > span:before,
.administration-table [href^="?m=billing"]:before { content: "\f07a"; }
.menu [href^="?m=util"] > span:before { content: "\f0ad"; }
.menu [href^="?m=lgsl_with_img_mod"] > span:before,
.administration-table [href^="?m=lgsl_with_img_mod"]:before { content: "\f022"; }
.menu [href^="?m=news"] > span:before,
.administration-table [href^="?m=news"]:before { content: "\f1ea"; }
.menu [href^="?m=register"] > span:before { content: "\f067"; }
.menu [href="?logout"] > span:before { content: "\f08b"; }
.menu [href="index.php"] > span:before { content: "\f0e4"; }
.monitorButtonContainer [href^="?m=litefm"]:before { content: "\f03a"; }
.monitorbutton.size:before { content: "\f115"; }
.monitorbutton.getAutoUpdateLink:before { content: "\f0c1"; }
.monitorButtonContainer [href^="?m=gamemanager&p=rsync_install"]:before { content: "\f0ed"; }
.administration-table [href^="?m=administration&p=iframe&external_link="]:before { content: "\f0c1"; }
.menu [href^="?m=tickets"] > span:before,
.administration-table [href^="?m=tickets"]:before { content: "\f145"; }
.monitorButtonContainer [href^="?m=editconfigfiles"]:before { content: "\f1c9"; }
.monitorButtonContainer [href^="?m=user_games&p=custom_fields"]:before { content: "\f1de"; }
.menu [href="?m=tshock"] > span:before { content: "\f145"; }
.menu [href="?m=circular"] > span:before,
.administration-table [href="?m=circular"]:before { content: "\f0e0"; }
.monitorbutton.getAPILinks:before { content: "\f0ec"; }
/* *** Theme Styler - Dont remove anything below this Line or it will break the Sheet!!! *** */
/* *** THEME STYLER *** */
body {
background-image: url(../images/bg/light.jpg);
background-color: #2b343b;
}
h1, h2, h3, h4, h5, h6, legend {
border-bottom: 1px solid #9fa1a9;
}
h0 a
{
color: #272c32;
}
h0 a:hover
{
color: #fff;
}
.bloc,
.form-control,
table:not(.online_servers),
input[type="checkbox"] {
border: 1px solid #22252f;
}
.input-group > .input-group-addon {
border: 1px solid rgba(35, 40, 46, 0.8);
border-right: 0px;
}
/* *** THEME STYLER END *** */

View file

@ -0,0 +1,452 @@
$(document).ready(function() {
/* *** Call Theme Config Driver *** */
$.get('themes/SimpleBootstrap/conf/sbs_conf.php',
function(data){
console.log(data);
}
);
/* *** Cutting Title *** */
$('.logo h2').text($('.logo h2').text().substring(0, $('.logo h2').text().lastIndexOf(" [") + 1));
/* *** Remove CSS and JS Files *** */
$('link[href="css/global.css"]').remove();
$('link[href="js/bootstrap/css/bootstrap-combined.min.css"]').remove();
/* *** Removing Chars from Links *** */
$('a:not(.user_menu_link), a span').each(function(){
$(this).html($(this).html().replace('[','').replace(']',''));
});
/* *** Several Class and Style Stuff *** */
$(window).load(function () {
$('tr, td, div:not([class*="nicEdit"])').css("background-color", "");
$('div:not([class*="nicEdit"], #refreshed-0)').css("border", "").css("height", "");
$('input').css("width", "");
if($.trim($("div").text()) == "") {
$(this).remove();
}
$('.footer.center').removeClass('center');
// $('input[type="submit"]').each(function(){
// $(this).replaceWith('<button type="submit" name="'+$(this).attr('name')+'" value="'+$(this).attr('value')+'" class="btn btn-primary btn-sm">'+$(this).attr('value')+'</button>');
// });
});
$('table .first_row > td').each(function(){
$(this).replaceWith('<th>'+$(this).html()+'</th>');
});
$('.magnificContentsDiv').bind("DOMSubtreeModified",function(){
$('.updateLink, .ogpAPIActions').addClass('form-control').css('display','inline-block');
$('.copyButton').addClass('btn').addClass('btn-sm').addClass('btn-primary');
});
/* *** Submit Button Replacement *** */
$('input[type="submit"]').each(function(){
var oSubmitButton = $(this);
var oForm = oSubmitButton.closest('form');
var sOriginAttrs = '';
$.each(oSubmitButton[0].attributes, function() {
if (this.specified) {
sOriginAttrs += ' ' + this.name + '="' + this.value + '"';
}
});
});
// File Style Hack
$.fn.input_file_styling = function() {
$('input[type="file"]').each(function(){
if($(this).parent().hasClass('btn-file')==false){
$(this).css('display', 'none');
$(this).wrap('<div class="input-group">').wrap('<label class="input-group-btn">').wrap('<span class="btn btn-sm btn-primary btn-file">');
$(this).parent('span').parent('label').parent('.input-group').append('<input type="text" class="form-control" readonly="">');
$(this).parent('span').prepend('<i class="fa fa-search"></i> Browse...');
}
});
$(document).on('change', ':file', function() {
var input = $(this),
numFiles = input.get(0).files ? input.get(0).files.length : 1,
label = input.val().replace(/\\/g, '/').replace(/.*\//, '');
input.trigger('fileselect', [numFiles, label]);
});
$(':file').on('fileselect', function(event, numFiles, label) {
var input = $(this).parents('.input-group').find(':text'),
log = numFiles > 1 ? numFiles + ' files selected' : label;
if( input.length ) {
input.val(log);
} else {
if( log ) alert(log);
}
});
}
// Init Call of the Function
$.fn.input_file_styling();
// Restyle after Adding a File Input
$('#add_file_attachment').click(function(){
setTimeout($.fn.input_file_styling, 1);
});
$('.main .redirectLink').prepend('<i class="fa fa-arrow-right" aria-hidden="true"></i> ');
var inputs = $('input, textarea, select').not('input[type=button], input[type="submit"], input[type="SUBMIT"], input[type=reset], input[type=radio], input[type=checkbox], input[type=image], input[type="file"]');
$(inputs).addClass('form-control').removeAttr('style');
var buttons = $('button, input[type="button"], input[type="submit"], input[type="SUBMIT"], input[type="reset"], .redirectLink, [href^="?m=gamemanager&p=update&update=refresh"], .main [href="?m=modulemanager&p=update"], .main [href="?m=simple-billing&p=shop"], .main [href^="home.php?m=TS3Admin&changevServer"], .main [href^="?m=gamemanager&p=game_monitor&home_id="], .serverIdToggle, .main [href="?m=settings&p=api_hosts"]');
$(buttons).addClass('btn').addClass('btn-sm').addClass('btn-primary');
$('.main [href^="?m=modulemanager&p=del&id="]').addClass('btn').addClass('btn-xs').addClass('btn-danger');
$('.main [href^="?m=modulemanager&p=add&module="]').addClass('btn').addClass('btn-xs').addClass('btn-success');
$('em').each(function(){
$(this).replaceWith('<div class="label label-warning inline-block">'+$(this).html()+'</div>');
});
$('.monitorbutton, .administration-buttons').addClass('btn-primary');
$('.administration-buttons').removeClass('administration-buttons').addClass('admin-buttons');
$('form').addClass('form-group').css('float', '');
$('.main #search').parent('form').css('margin-bottom', '10px');
$('table').addClass('table').addClass('table-sm').addClass('table-striped').removeAttr('style');
$('tfoot, input').removeAttr('style');
$('tfoot .bloc').removeClass('bloc');
$('.main input[name="remove"], .main input[name="removeJob"]').removeClass('btn-primary').addClass('btn-danger');
$('.online').addClass('label').addClass('label-success').addClass('label-size');
$('.offline').addClass('label').addClass('label-danger').addClass('label-size');
$('.success').addClass('alert').addClass('alert-success');
$('.attachment_info').addClass('alert').addClass('alert-info');
$('td b.success').removeClass('alert').removeClass('alert-success');
$('.failure:not(b)').addClass('alert').addClass('alert-danger');
$('img[src="modules/addonsmanager/loading.gif"]').replaceWith('<i class="fa fa-spinner fa-pulse fa-3x fa-fw loadinggif"></i>');
$('img[src="images/online.png"], img[src$="icon_online.gif"]').replaceWith('<i class="fa fa-circle online" aria-hidden="true"></i>');
$('img[src="images/offline.png"], img[src$="icon_offline.gif"]').replaceWith('<i class="fa fa-circle offline" aria-hidden="true"></i>');
$('.main img, .main input[type="image"]').error(function () {
$(this).unbind("error").attr("src", "themes/SimpleBootstrap/images/image_not_found.png").attr("style", "max-width:250px;").removeAttr('height');
});
/* *** MENU *** */
$('.menu ul[id^=submenu] span').each(function() {
var img_url = $(this).attr('data-icon_path');
$(this).before("<img src='"+img_url+"'/>");
});
$('.menu a').click(function(){
if($(this).attr('aria-expanded')=="true"){
window.location = $(this).attr('link');
}
});
$('.menu [class$="menu_link_selected"]').attr('aria-expanded', 'true').next('ul').addClass('collapse').addClass('in').attr('aria-expanded', 'true');
$('.menu > ul').attr('id', 'menu');
$('.menu ul').each(function() {
if($(this).prev('a').length){
var data_parent = '#'+$(this).parent('li').parent('ul').attr('id');
var link_id = $(this).prev('a').attr('href').replace(/[^a-z0-9\s]/gi, '');
if(!$(this).parent().hasClass('menu')){
$(this).addClass('collapse');
}
$(this).parent('li').addClass('panel');
$(this).attr('id', link_id);
$(this).prev('a').attr({
'link': $(this).prev('a').attr('href'),
'href': '#'+$(this).attr('id'),
'data-parent': data_parent,
'data-toggle': 'collapse'
});
}
});
/* *** Menu -> Check & Remove wrong active Links *** */
$('.menu [class$="menu_link_selected"]').each(function(){
if($(this).attr('href')!=window.location.href.slice(window.location.href.indexOf('?'))){
var checkLink = $(this).attr('link');
var thisClass = $(this).attr('class');
if(typeof checkLink == 'undefined') {
$(this).removeClass(thisClass).addClass(thisClass.replace(/_selected/g,'')).removeAttr('aria-expanded');
}
}
});
/* *** Pagination *** */
$('#pagination').each(function(){
$(this).replaceWith('<ul class="pagination">'+$(this).html()+'</ul>');
var pm = $('.pagination');
var ps = $(pm).find('[class$="_paginationStart"]');
var pp = $(pm).find('[class$="_paginationPages"]');
var pe = $(pm).find('[class$="_paginationEnd"]');
if($(ps).length){
if($(ps).find('span').length){ console.log('divider!'); }
$(ps).find('a').each(function(){
var tl = $(this).attr('href');
var tc = $(this).text();
$(pm).append('<li><span><a href="'+tl+'">'+tc+'</a></li>');
});
if($(ps).find('span').length){
$(pm).append('<li><span><a>...</a></span></li>');
}
$(ps).remove();
}
$(pp).find('a').each(function(){
var tl = $(this).attr('href');
var tc = $(this).text().replace('[','').replace(']','');
if($(this).is('[class$="_currentPageLink"]')){
$(pm).append('<li class="active"><span><a href="'+tl+'">'+tc+'</a></li>');
}else{
$(pm).append('<li><span><a href="'+tl+'">'+tc+'</a></li>');
}
});
$(pp).remove();
if($(pe).length){
if($(pe).find('span').length){
$(pm).append('<li><span><a>...</a></span></li>');
}
$(pe).find('a').each(function(){
var tl = $(this).attr('href');
var tc = $(this).text();
$(pm).append('<li><span><a href="'+tl+'">'+tc+'</a></li>');
});
$(pe).remove();
}
});
/* *** Removing CSS File from FTP Page *** */
if(window.location.href.indexOf("home.php?m=TS3Admin") != -1 ){
$('link[href="modules/TS3Admin/webinterface.css"]').remove();
}
/* *** Tooltip *** */
$(window).load(function(){
$('.image-tip').each(function(){
var tip_text = $(this).find('.tip').text();
$(this).replaceWith('<i class="fa fa-question-circle-o" aria-hidden="true" data-toggle="tooltip" data-placement="left" title="'+tip_text+'"></i>');
});
$('[data-toggle="tooltip"]').each(function(){
$(this).tooltip({
animated: 'fade',
html: true
});
});
});
/* *** Login Redirect Size *** */
if(location.pathname.substring(location.pathname.length-1) == "/" || location.pathname.substring(location.pathname.length-9) == "index.php"){
if($('#refresh-manual').length){
$('.main').removeClass('col-md-12').addClass('col-md-6').addClass('col-md-offset-3');
}
}
/* *** Login Page Mod *** */
if(location.pathname.substring(location.pathname.length-1) == "/" || location.pathname.substring(location.pathname.length-9) == "index.php"){
if($('form[name="login_form"]').length > 0) {
if ($('.g-recaptcha').length > 0) {
var recaptcha_pubkey = $('.g-recaptcha').attr('data-sitekey');
var recaptcha = "<div class='text-center' style='margin-bottom: 10px;'><script src='//www.google.com/recaptcha/api.js'></script><div style='display: inline-block;' class='g-recaptcha' data-sitekey='"+recaptcha_pubkey+"' data-theme='dark'></div></div>";
}else{
var recaptcha = "";
}
var title = $('.main h4').text();
var lang = $('[name="login_form"] tr:nth-child(1) td:first-child').text().replace(':', '');
var user = $('[name="login_form"] tr:nth-child(2) td:first-child').text().replace(':', '');
var pass = $('[name="login_form"] tr:nth-child(3) td:first-child').text().replace(':', '');
var forgot = $('[href="?m=lostpwd"]').text();
var lbtn = $('[name="login"]').val();
var optns = $('[name="lang"]').html();
if($('[href="?m=register&p=form"]').length > 0) {
//<input type="submit" name="login" value="'+lbtn+'" class="btn btn-primary btn-block btn-sm">\
var buttons = '\
<div class="row" style="margin-bottom: 10px;">\
<div class="col-xs-6">\
<button type="submit" name="login" value="'+lbtn+'" class="btn btn-primary btn-block btn-sm">'+lbtn+'</button>\
</div>\
<div class="col-xs-6">\
<a href="?m=register&p=form" class="btn btn-primary btn-block btn-sm">'+$('[href="?m=register&p=form"] > span').text()+'</a>\
</div>\
</div>\
';
}else{
//<input type="submit" name="login" value="'+lbtn+'" class="btn btn-primary btn-block btn-sm">\
var buttons = '\
<div class="row" style="margin-bottom: 10px;">\
<div class="col-xs-12">\
<button type="submit" name="login" value="'+lbtn+'" class="btn btn-primary btn-block btn-sm">'+lbtn+'</button>\
</div>\
</div>\
';
}
var new_form = '\
<div class="login-container">\
<h3>'+title+'</h3>\
<form action="index.php" name="login_form" method="post" class="form-group">\
<div class="input-group">\
<span class="input-group-addon"><i class="fa fa-user" aria-hidden="true"></i></span>\
<input type="text" name="ulogin" id="ulogin" class="form-control" placeholder="'+user+'">\
</div>\
<div class="input-group">\
<span class="input-group-addon"><i class="fa fa-lock" aria-hidden="true"></i></span>\
<input type="password" name="upassword" class="form-control" placeholder="'+pass+'">\
</div>\
<div class="input-group">\
<span class="input-group-addon"><i class="fa fa-language" aria-hidden="true"></i></span>\
<select name="lang" onchange="this.form.submit();" class="form-control">'+optns+'</select>\
</div>\
'+recaptcha+'\
'+buttons+'\
</form>\
<div class="row">\
<div class="col-xs-12">\
<a class="pull-right label" href="?m=lostpwd">'+forgot+'</a>\
</div>\
</div>\
<div class="clearfix"></div>\
</div>';
$('.main').empty().html(new_form);
$('select[name=lang] > option:first-child').replaceWith('<option value="-" selected="selected">'+lang+'</option>');
}
// *** Lost Password Form ***
if(window.location.href.indexOf('?m=lostpwd') > -1) {
var title = $('.main h2').text();
if ($('.main > strong').length > 0 || $('.main > p').text().toLowerCase().indexOf('smtp')>=0) {
// *** Error Message ***
var err = $('.main strong').text();
var err_msg = $('.main p').text();
var new_form = '\
<div class="login-container">\
<h3>'+title+'</h3>\
<div class="alert alert-danger" role="alert"><strong>'+err+'</strong><p>'+err_msg+'</p></div>\
<a href="?m=lostpwd" class="btn btn-primary btn-sm"><< Back</a>\
</div>';
}else if ($('.main > p > b[style="color:red;"]').length > 0) {
// *** Sent Password ***
var msgb = $('.main > p > b[style="color:red;"]').text();
$('.main > p > b[style="color:red;"]').remove();
var msg = $('.main > p').text();
var new_form = '\
<div class="login-container">\
<h3>'+title+'</h3>\
<div class="alert alert-success" role="alert"><p>'+msg+'</p><p>'+msgb+'</p></div>\
<a href="?m=lostpwd" class="btn btn-primary btn-sm"><< Back</a>\
</div>';
}else{
if ($('.main td > p').length > 0) {
if($('.main td > p').attr('style')=='color: red;'){
var alert = '<div class="alert alert-danger" role="alert">';
}else{
var alert = '<div class="alert alert-success" role="alert">';
}
$('.main td > p').each(function() {
alert += '<p>'+$(this).text()+'</p>';
});
alert += '</div>';
} else {
var alert = "";
}
var email = $('.main label[for="email_address"]').text();
var lbtn = $('td > [type="submit"]').val();
var bbtn = $('[action="index.php"] > input[type="submit"]').val();
var new_form = '\
<div class="login-container">\
<h3>'+title+'</h3>\
'+alert+'\
<form action="?m=lostpwd" method="post" class="form-group">\
<input type="text" name="email_address" class="form-control" placeholder="Email">\
<button type="submit" name="login" value="'+lbtn+'" class="btn btn-primary btn-block btn-sm">'+lbtn+'</button>\
</form>\
<a href="index.php" class="label" style="display: block;text-align: right;margin-top: 10px;">'+bbtn+'</a>\
</div>';
}
$('.main').empty().html(new_form);
}
$('.main').removeClass('col-md-10').addClass('col-md-12');
$('nav.navbar').addClass('navbar-default');
$('#navbar ul').addClass('nav').addClass('navbar-nav');
$('#navbar [class*="selected"]').parent('li').addClass('active');
$('.navigation').removeClass('col-md-2').addClass('col-md-12').css('padding-right','15px')
$('.collapse').css('padding','0px 5px');
$('.menu').css('margin-bottom','0px');
$('body > .container-fluid > .row:first-of-type').remove();
}
});
$(window).load(function(){
$("body > .container-fluid").fadeIn(50);
$(':file').on('fileselect', function(event, numFiles, label) {
var input = $(this).parents('.input-group').find(':text'),
log = numFiles > 1 ? numFiles + ' files selected' : label;
if(input.length){
input.val(log);
}else{
if(log) alert(log);
}
});
/*
$('input[src$="remove.gif"]').each(function(){
var NewButton = $("<button />");
$.each(this.attributes, function(i, attrib){
// Change Type to Submit Mod
if(attrib.name=='type'){
attrval = 'submit';
}else{
attrval = attrib.value;
}
// Skip src Attribute
if(attrib.name=='src'){
return false;
}
// Change Stop Update Value for "Cancel Update" Fix
if(attrib.value=='stop_update'){
attrval = 'stop_update_x';
}
$(NewButton).attr(attrib.name, attrval);
});
$(NewButton).attr('class', 'btn btn-xs btn-danger btn-sm btn-primary');
$(this).replaceWith(function () {
return $(NewButton).append($(this).contents()).prepend('<i class="fa fa-times" aria-hidden="true"></i>');
});
});
*/
});
$(document).on('change', ':file', function() {
var input = $(this),
numFiles = input.get(0).files ? input.get(0).files.length : 1,
label = input.val().replace(/\\/g, '/').replace(/.*\//, '');
input.trigger('fileselect', [numFiles, label]);
});