| Server IP : 165.22.154.248 / Your IP : 216.73.217.0 [ Web Server : Apache/2.4.29 (Ubuntu) System : Linux droplet-integra 4.15.0-197-generic #208-Ubuntu SMP Tue Nov 1 17:23:37 UTC 2022 x86_64 User : www-data ( 33) PHP Version : 7.2.24-0ubuntu0.18.04.15 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals, Domains : 1 Domains MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /var/www/web-integra/wp-content/plugins/maintenance/load/js/ |
Upload File : |
/**
* jQuery.browser.mobile (http://detectmobilebrowser.com/)
* jQuery.browser.mobile will be true if the browser is a mobile device
**/
jQuery(document).ready(function() {
jQuery(window).resize();
jQuery('.main-container > div:not(".preloader")').each(function() {
jQuery(this).css({ visibility: 'visible' });
});
if (jQuery('#btn-open-login-form').length > 0) {
jQuery('#btn-open-login-form').on('click', function() {
jQuery('body').toggleClass('open-login-form');
if (
jQuery(this)
.find('i')
.hasClass('fi-lock')
) {
jQuery(this)
.find('i')
.removeClass();
jQuery(this)
.find('i')
.addClass('fi-unlock');
} else {
jQuery(this)
.find('i')
.removeClass();
jQuery(this)
.find('i')
.addClass('fi-lock');
}
});
}
});
jQuery(window).on('load', function() {
jQuery('#content').center();
jQuery('.main-container > div:not(".preloader")').each(function() {
jQuery(this).css({ visibility: 'visible' });
});
setTimeout(function() {
jQuery('.main-container > .preloader').fadeOut(300, function() {
jQuery('.login-form-container').fadeIn(600);
});
}, 1000);
});
jQuery(window).resize(function() {
jQuery('#content').center();
var window_w = jQuery('.logotype').width();
jQuery('.logo').css('max-width', window_w + 'px');
jQuery('.logo-retina').css('max-width', window_w + 'px');
});
jQuery.fn.center = function() {
var window_h = Math.max(0, (jQuery(window).height() - jQuery(this).outerHeight()) / 2 + jQuery(window).scrollTop());
var content_h = jQuery('.logotype').height();
if (window_h > content_h) {
this.css('position', 'absolute');
this.css('top', window_h + 'px');
} else {
this.css('position', 'relative');
this.css('top', '0');
}
return this;
};