Linux cesa-www-main 6.1.0-49-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.174-1 (2026-05-26) x86_64
Apache/2.4.68 (Debian)
Server IP : 10.218.0.2 & Your IP : 216.73.216.28
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
var /
www /
cesa.co.za /
cceconvenors /
js /
editor /
js /
Delete
Unzip
Name
Size
Permission
Date
Action
dataTables.editor.js
234.78
KB
-rw-r--r--
2021-07-01 11:35
dataTables.editor.min.js
75.96
KB
-rw-r--r--
2021-07-01 11:35
editor.bootstrap.js
5.74
KB
-rw-r--r--
2021-07-01 11:35
editor.bootstrap.min.js
5.43
KB
-rw-r--r--
2021-07-01 11:35
editor.bootstrap4.js
5.7
KB
-rw-r--r--
2021-07-01 11:35
editor.bootstrap4.min.js
5.47
KB
-rw-r--r--
2021-07-01 11:35
editor.bootstrap5.js
5.71
KB
-rw-r--r--
2021-07-01 11:35
editor.bootstrap5.min.js
5.51
KB
-rw-r--r--
2021-07-01 11:35
editor.foundation.js
3.11
KB
-rw-r--r--
2021-07-01 11:35
editor.foundation.min.js
1.76
KB
-rw-r--r--
2021-07-01 11:35
editor.jqueryui.js
3.73
KB
-rw-r--r--
2021-07-01 11:35
editor.jqueryui.min.js
4.36
KB
-rw-r--r--
2021-07-01 11:35
editor.semanticui.js
4.89
KB
-rw-r--r--
2021-07-01 11:35
editor.semanticui.min.js
2.54
KB
-rw-r--r--
2021-07-01 11:35
Save
Rename
/*! Bootstrap integration for DataTables' Editor * ©2015 SpryMedia Ltd - datatables.net/license */ (function( factory ){ if ( typeof define === 'function' && define.amd ) { // AMD define( ['jquery', 'datatables.net-bs5', 'datatables.net-editor'], function ( $ ) { return factory( $, window, document ); } ); } else if ( typeof exports === 'object' ) { // CommonJS module.exports = function (root, $) { if ( ! root ) { root = window; } if ( ! $ || ! $.fn.dataTable ) { $ = require('datatables.net-bs5')(root, $).$; } if ( ! $.fn.dataTable.Editor ) { require('datatables.net-editor')(root, $); } return factory( $, root, root.document ); }; } else { // Browser factory( jQuery, window, document ); } }(function( $, window, document, undefined ) { 'use strict'; var DataTable = $.fn.dataTable; /* * Set the default display controller to be our bootstrap control */ DataTable.Editor.defaults.display = "bootstrap"; /* * Alter the buttons that Editor adds to Buttons so they are suitable for bootstrap */ var i18nDefaults = DataTable.Editor.defaults.i18n; i18nDefaults.create.title = '<h5 class="modal-title">'+i18nDefaults.create.title+'</h5>'; i18nDefaults.edit.title = '<h5 class="modal-title">'+i18nDefaults.edit.title+'</h5>'; i18nDefaults.remove.title = '<h5 class="modal-title">'+i18nDefaults.remove.title+'</h5>'; /* * Change the default classes from Editor to be classes for Bootstrap */ $.extend( true, $.fn.dataTable.Editor.classes, { "header": { "wrapper": "DTE_Header modal-header" }, "body": { "wrapper": "DTE_Body modal-body" }, "footer": { "wrapper": "DTE_Footer modal-footer" }, "form": { "tag": "form-horizontal", "button": "btn", "buttonInternal": "btn btn-outline-secondary" }, "field": { "wrapper": "DTE_Field form-group row", "label": "col-lg-4 col-form-label", "input": "col-lg-8", "error": "error is-invalid", "msg-labelInfo": "form-text text-secondary small", "msg-info": "form-text text-secondary small", "msg-message": "form-text text-secondary small", "msg-error": "form-text text-danger small", "multiValue": "card multi-value", "multiInfo": "small", "multiRestore": "card multi-restore" } } ); $.extend( true, DataTable.ext.buttons, { create: { formButtons: { className: 'btn-primary' } }, edit: { formButtons: { className: 'btn-primary' } }, remove: { formButtons: { className: 'btn-danger' } } } ); DataTable.Editor.fieldTypes.datatable.tableClass = 'table'; /* * Bootstrap display controller - this is effectively a proxy to the Bootstrap * modal control. */ let shown = false; let fullyShown = false; const dom = { content: $( '<div class="modal fade DTED">'+ '<div class="modal-dialog modal-dialog-scrollable modal-dialog-centered"></div>'+ '</div>' ), close: $('<button class="btn-close"></div>') }; const modal = new bootstrap.Modal(dom.content[0], { backdrop: "static", keyboard: false }); DataTable.Editor.display.bootstrap = $.extend( true, {}, DataTable.Editor.models.displayController, { /* * API methods */ init: function ( dte ) { // Add `form-control` to required elements dte.on( 'displayOrder.dtebs', function ( e, display, action, form ) { $.each( dte.s.fields, function ( key, field ) { $('input:not([type=checkbox]):not([type=radio]), select, textarea', field.node() ) .addClass( 'form-control' ); } ); } ); return DataTable.Editor.display.bootstrap; }, open: function ( dte, append, callback ) { $(append).addClass('modal-content'); // Special class for DataTable buttons in the form $(append).find('div.DTE_Field_Type_datatable div.dt-buttons') .removeClass('btn-group') .addClass('btn-group-vertical'); // Setup events on each show dom.close .attr('title', dte.i18n.close) .off('click.dte-bs5') .on('click.dte-bs5', function () { dte.close('icon'); }) .appendTo($('div.modal-header', append)); // This is a bit horrible, but if you mousedown and then drag out of the modal container, we don't // want to trigger a background action. let allowBackgroundClick = false; $(document) .off('mousedown.dte-bs5') .on('mousedown.dte-bs5', 'div.modal', function (e) { allowBackgroundClick = $(e.target).hasClass('modal') && shown ? true : false; } ); $(document) .off('click.dte-bs5') .on('click.dte-bs5', 'div.modal', function (e) { if ( $(e.target).hasClass('modal') && allowBackgroundClick ) { dte.background(); } } ); var content = dom.content.find('div.modal-dialog'); content.children().detach(); content.append( append ); if ( shown ) { if ( callback ) { callback(); } return; } shown = true; fullyShown = false; $(dom.content) .one('shown.bs.modal', function () { // Can only give elements focus when shown if ( dte.s.setFocus ) { dte.s.setFocus.focus(); } fullyShown = true; if ( callback ) { callback(); } }) .one('hidden', function () { shown = false; }) .appendTo( 'body' ); modal.show(); }, close: function ( dte, callback ) { if ( ! shown ) { if ( callback ) { callback(); } return; } // Check if actually displayed or not before hiding. BS4 doesn't like `hide` // before it has been fully displayed if ( ! fullyShown ) { $(dom.content) .one('shown.bs.modal', function () { DataTable.Editor.display.bootstrap.close( dte, callback ); } ); return; } $(dom.content) .one( 'hidden.bs.modal', function () { $(this).detach(); } ); modal.hide(); shown = false; fullyShown = false; if ( callback ) { callback(); } }, node: function ( dte ) { return dom.content[0]; } } ); return DataTable.Editor; }));