/
home2
/
dakshskx
/
public_html
/
assets
/
admin
/
scripts
/
custom
/
/home2/dakshskx/public_html/assets/admin/scripts/custom
mkdir
upload
Name
Size
Mode
Actions
calendar.js
7412
0644
edit
dl
rm
charts.js
31498
0644
edit
dl
rm
coming-soon.js
661
0644
edit
dl
rm
components-dropdowns.js
10383
0644
edit
dl
rm
components-editors.js
516
0644
edit
dl
rm
components-form-tools.js
19133
0644
edit
dl
rm
components-ion-sliders.js
2318
0644
edit
dl
rm
components-jqueryui-sliders.js
3680
0644
edit
dl
rm
components-knob-dials.js
546
0644
edit
dl
rm
components-nouisliders.js
1788
0644
edit
dl
rm
components-pickers.js
7852
0644
edit
dl
rm
contact-us.js
632
0644
edit
dl
rm
custom.js
553
0644
edit
dl
rm
ecommerce-index.js
8069
0644
edit
dl
rm
ecommerce-orders-view.js
7339
0644
edit
dl
rm
ecommerce-orders.js
2772
0644
edit
dl
rm
ecommerce-products-edit.js
6521
0644
edit
dl
rm
ecommerce-products.js
1546
0644
edit
dl
rm
form-dropzone.js
1434
0644
edit
dl
rm
form-editable.js
18643
0644
edit
dl
rm
form-fileupload.js
2722
0644
edit
dl
rm
form-image-crop.js
17044
0644
edit
dl
rm
form-samples.js
1484
0644
edit
dl
rm
form-validation.js
12008
0644
edit
dl
rm
form-wizard.js
10442
0644
edit
dl
rm
inbox.js
9643
0644
edit
dl
rm
index.js
32605
0644
edit
dl
rm
lock.js
395
0644
edit
dl
rm
login-soft.js
8472
0644
edit
dl
rm
login.js
8332
0644
edit
dl
rm
maps-google.js
6153
0644
edit
dl
rm
maps-vector.js
1897
0644
edit
dl
rm
portfolio.js
192
0644
edit
dl
rm
portlet-draggable.js
655
0644
edit
dl
rm
search.js
287
0644
edit
dl
rm
table-advanced.js
4583
0644
edit
dl
rm
table-ajax.js
3364
0644
edit
dl
rm
table-editable.js
6191
0644
edit
dl
rm
table-managed.js
6084
0644
edit
dl
rm
tasks.js
383
0644
edit
dl
rm
ui-alert-dialog-api.js
3347
0644
edit
dl
rm
ui-blockui.js
3894
0644
edit
dl
rm
ui-datepaginator.js
805
0644
edit
dl
rm
ui-extended-modals.js
2564
0644
edit
dl
rm
ui-general.js
6624
0644
edit
dl
rm
ui-idletimeout.js
2330
0644
edit
dl
rm
ui-nestable.js
1591
0644
edit
dl
rm
ui-notific8.js
1472
0644
edit
dl
rm
ui-toastr.js
4990
0644
edit
dl
rm
ui-tree.js
6458
0644
edit
dl
rm
Edit:
/home2/dakshskx/public_html/assets/admin/scripts/custom/ui-tree.js
(6458B)
var UITree = function () { var handleSample1 = function () { $('#tree_1').jstree({ "core" : { "themes" : { "responsive": false } }, "types" : { "default" : { "icon" : "fa fa-folder icon-warning icon-lg" }, "file" : { "icon" : "fa fa-file icon-warning icon-lg" } }, "plugins": ["types"] }); } var handleSample2 = function () { $('#tree_2').jstree({ 'plugins': ["wholerow", "checkbox", "types"], 'core': { "themes" : { "responsive": false }, 'data': [{ "text": "Same but with checkboxes", "children": [{ "text": "initially selected", "state": { "selected": true } }, { "text": "custom icon", "icon": "fa fa-warning icon-danger" }, { "text": "initially open", "icon" : "fa fa-folder icon-default", "state": { "opened": true }, "children": ["Another node"] }, { "text": "custom icon", "icon": "fa fa-warning icon-warning" }, { "text": "disabled node", "icon": "fa fa-check icon-success", "state": { "disabled": true } }] }, "And wholerow selection" ] }, "types" : { "default" : { "icon" : "fa fa-folder icon-warning icon-lg" }, "file" : { "icon" : "fa fa-file icon-warning icon-lg" } } }); } var contextualMenuSample = function() { $("#tree_3").jstree({ "core" : { "themes" : { "responsive": false }, // so that create works "check_callback" : true, 'data': [{ "text": "Parent Node", "children": [{ "text": "Initially selected", "state": { "selected": true } }, { "text": "Custom Icon", "icon": "fa fa-warning icon-danger" }, { "text": "Initially open", "icon" : "fa fa-folder icon-success", "state": { "opened": true }, "children": [ {"text": "Another node", "icon" : "fa fa-file icon-warning"} ] }, { "text": "Another Custom Icon", "icon": "fa fa-warning icon-warning" }, { "text": "Disabled Node", "icon": "fa fa-check icon-success", "state": { "disabled": true } }, { "text": "Sub Nodes", "icon": "fa fa-folder icon-danger", "children": [ {"text": "Item 1", "icon" : "fa fa-file icon-warning"}, {"text": "Item 2", "icon" : "fa fa-file icon-success"}, {"text": "Item 3", "icon" : "fa fa-file icon-default"}, {"text": "Item 4", "icon" : "fa fa-file icon-danger"}, {"text": "Item 5", "icon" : "fa fa-file icon-info"} ] }] }, "Another Node" ] }, "types" : { "default" : { "icon" : "fa fa-folder icon-warning icon-lg" }, "file" : { "icon" : "fa fa-file icon-warning icon-lg" } }, "state" : { "key" : "demo2" }, "plugins" : [ "contextmenu", "dnd", "state", "types" ] }); } var ajaxTreeSample = function() { $("#tree_4").jstree({ "core" : { "themes" : { "responsive": false }, // so that create works "check_callback" : true, 'data' : { 'url' : function (node) { return 'demo/jstree_ajax_data.php'; }, 'data' : function (node) { return { 'parent' : node.id }; } } }, "types" : { "default" : { "icon" : "fa fa-folder icon-warning icon-lg" }, "file" : { "icon" : "fa fa-file icon-warning icon-lg" } }, "state" : { "key" : "demo3" }, "plugins" : [ "dnd", "state", "types" ] }); } return { //main function to initiate the module init: function () { handleSample1(); handleSample2(); contextualMenuSample(); ajaxTreeSample(); } }; }();
Save
cmd:
run