AnonSec Shell
Server IP : 162.214.74.102  /  Your IP : 216.73.217.80
Web Server : Apache
System : Linux dedi-4363141.lrsys.com.br 3.10.0-1160.119.1.el7.tuxcare.els25.x86_64 #1 SMP Wed Oct 1 17:37:27 UTC 2025 x86_64
User : lrsys ( 1015)
PHP Version : 5.6.40
Disable Function : exec,passthru,shell_exec,system
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /home/lrsys/www/lrsys_apps/team/assets/js/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     

Current File : /home/lrsys/www/lrsys_apps/team/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();
}

Anon7 - 2022
AnonSec Team