Revert "Complete rebrand from Open Game Panel (OGP) to GameServer Panel (GSP)"
This commit is contained in:
parent
02c94766c6
commit
deee7d6ac5
308 changed files with 1412 additions and 1412 deletions
|
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 14 KiB |
|
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 14 KiB |
24
themes/AdminLTE/dist/js/main.js
vendored
24
themes/AdminLTE/dist/js/main.js
vendored
|
|
@ -411,7 +411,7 @@ $(document).ready(function()
|
|||
var boxClass = 'login-box';
|
||||
var headerContent = '\
|
||||
<!--<h1>' + headTitle + '</h1>-->\
|
||||
<img src="themes/AdminLTE/dist/img/gsp_logo_dark.svg" class="brand-image">\
|
||||
<img src="themes/AdminLTE/dist/img/ogp_logo_dark.svg" class="brand-image">\
|
||||
';
|
||||
|
||||
if(new_form !== undefined)
|
||||
|
|
@ -931,12 +931,12 @@ $(document).ready(function()
|
|||
|
||||
|
||||
/* *** Footer Mod *** */
|
||||
$('.main-footer .GSPVersionArea').addClass('d-none');
|
||||
$('.main-footer .OGPVersionArea').addClass('d-none');
|
||||
$('.main-footer a').attr('target', '_blank').addClass('text-dark');
|
||||
$('.main-footer .footer').html($('.main-footer .footer').html().replace("Theme - ", "Theme for OGP by <a href='https://www.ondsen.ch' target='_blank' class='text-dark'>oNdsen</a> - "))
|
||||
$('.main-footer .footer.center').removeClass('center');
|
||||
$('.main-footer .GSPVersionArea .version').remove()
|
||||
$('.main-footer .GSPVersionArea').removeClass('inline-block').addClass('d-inline-block');
|
||||
$('.main-footer .OGPVersionArea .version').remove()
|
||||
$('.main-footer .OGPVersionArea').removeClass('inline-block').addClass('d-inline-block');
|
||||
$('.main-footer .footer > br').last().remove()
|
||||
}
|
||||
|
||||
|
|
@ -1173,17 +1173,17 @@ $(window).load(function()
|
|||
|
||||
$('.main-footer .versionInfo').click(function()
|
||||
{
|
||||
$('.GSPVersionArea, .GSPVersionArea .version, .GSPVersionArea .versionNumber').removeClass('d-none').removeClass('hide');
|
||||
$('.OGPVersionArea, .OGPVersionArea .version, .OGPVersionArea .versionNumber').removeClass('d-none').removeClass('hide');
|
||||
|
||||
// add blink class to versionNumber
|
||||
$('.GSPVersionArea .versionNumber').addClass('shortblink');
|
||||
$('.OGPVersionArea .versionNumber').addClass('shortblink');
|
||||
// remove after 4 seconds
|
||||
setTimeout(function(){
|
||||
$('.GSPVersionArea .versionNumber').removeClass('shortblink');
|
||||
$('.OGPVersionArea .versionNumber').removeClass('shortblink');
|
||||
}, 4000);
|
||||
|
||||
var copy = copyToClipboard($('.GSPVersionArea .versionNumber'));
|
||||
toastr.info('"' + copy + '" ' + $('.GSPVersionArea .copyVersionResult').attr('lang'));
|
||||
var copy = copyToClipboard($('.OGPVersionArea .versionNumber'));
|
||||
toastr.info('"' + copy + '" ' + $('.OGPVersionArea .copyVersionResult').attr('lang'));
|
||||
});
|
||||
// circular notifications
|
||||
if($('body > #notification').length > 0)
|
||||
|
|
@ -1287,7 +1287,7 @@ function themeChanger(changeTo, save = false)
|
|||
|
||||
if(!localStorage.getItem('themeLogo'))
|
||||
{
|
||||
$('img.brand-image').attr('src', 'themes/AdminLTE/dist/img/gsp_logo_dark.svg');
|
||||
$('img.brand-image').attr('src', 'themes/AdminLTE/dist/img/ogp_logo_dark.svg');
|
||||
}
|
||||
|
||||
$('link[href*="jquery-ui.min"]').attr('href', 'themes/AdminLTE/plugins/jquery-ui/jquery-ui.min.dark.css');
|
||||
|
|
@ -1318,7 +1318,7 @@ function themeChanger(changeTo, save = false)
|
|||
|
||||
if(!localStorage.getItem('themeLogo'))
|
||||
{
|
||||
$('img.brand-image').attr('src', 'themes/AdminLTE/dist/img/gsp_logo_light.svg');
|
||||
$('img.brand-image').attr('src', 'themes/AdminLTE/dist/img/ogp_logo_light.svg');
|
||||
}
|
||||
|
||||
$('link[href*="jquery-ui.min"]').attr('href', 'themes/AdminLTE/plugins/jquery-ui/jquery-ui.min.light.css');
|
||||
|
|
@ -1349,7 +1349,7 @@ function themeChanger(changeTo, save = false)
|
|||
|
||||
if(!localStorage.getItem('themeLogo'))
|
||||
{
|
||||
$('img.brand-image').attr('src', 'themes/AdminLTE/dist/img/gsp_logo_dark.svg');
|
||||
$('img.brand-image').attr('src', 'themes/AdminLTE/dist/img/ogp_logo_dark.svg');
|
||||
}
|
||||
|
||||
$('link[href*="jquery-ui.min"]').attr('href', 'themes/AdminLTE/plugins/jquery-ui/jquery-ui.min.light.css');
|
||||
|
|
|
|||
6
themes/AdminLTE/dist/php/theme.class.php
vendored
6
themes/AdminLTE/dist/php/theme.class.php
vendored
|
|
@ -84,7 +84,7 @@ class Theme
|
|||
$firstRemoteServer = $this->getOGPServers();
|
||||
if($firstRemoteServer)
|
||||
{
|
||||
$remote = new GSPRemoteLibrary($firstRemoteServer[0]['agent_ip'], $firstRemoteServer[0]['agent_port'], $firstRemoteServer[0]['encryption_key'], $firstRemoteServer[0]['timeout']);
|
||||
$remote = new OGPRemoteLibrary($firstRemoteServer[0]['agent_ip'], $firstRemoteServer[0]['agent_port'], $firstRemoteServer[0]['encryption_key'], $firstRemoteServer[0]['timeout']);
|
||||
if($remote->status_chk() != 1)
|
||||
{
|
||||
return false;
|
||||
|
|
@ -238,8 +238,8 @@ class Theme
|
|||
foreach($serverHomes AS $key => $shData)
|
||||
{
|
||||
// check if the screen running the server is running.
|
||||
$remote = new GSPRemoteLibrary($shData['agent_ip'], $shData['agent_port'], $shData['encryption_key'], $shData['timeout']);
|
||||
if( $remote->is_screen_running(GSP_SCREEN_TYPE_HOME, $shData['home_id']))
|
||||
$remote = new OGPRemoteLibrary($shData['agent_ip'], $shData['agent_port'], $shData['encryption_key'], $shData['timeout']);
|
||||
if( $remote->is_screen_running(OGP_SCREEN_TYPE_HOME, $shData['home_id']))
|
||||
{
|
||||
$queryData = $this->getProtocolAndQuery($serverHomes[$key]);
|
||||
$serverHomes[$key]['qProtocol'] = $queryData['qProtocol'];
|
||||
|
|
|
|||
|
|
@ -74,7 +74,7 @@
|
|||
<aside class="main-sidebar sidebar-dark-primary elevation-4">
|
||||
<!-- Brand Logo -->
|
||||
<a class="brand-link text-center">
|
||||
<img src="themes/AdminLTE/dist/img/gsp_logo_dark.svg" class="brand-image">
|
||||
<img src="themes/AdminLTE/dist/img/ogp_logo_dark.svg" class="brand-image">
|
||||
</a>
|
||||
|
||||
<!-- Sidebar -->
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue