From f17f9c10aac23dac0b4809e80889a156a39111cf Mon Sep 17 00:00:00 2001 From: Papoteur Date: Sun, 2 Oct 2016 20:56:24 +0200 Subject: Adding common files for draklive --- draklive/5/common/jquery/treeview/images/file.gif | Bin 0 -> 1008 bytes .../jquery/treeview/images/folder-closed.gif | Bin 0 -> 631 bytes .../jquery/treeview/images/folder-closed2.gif | Bin 0 -> 105 bytes .../5/common/jquery/treeview/images/folder.gif | Bin 0 -> 631 bytes .../5/common/jquery/treeview/images/folder2.gif | Bin 0 -> 106 bytes draklive/5/common/jquery/treeview/images/minus.gif | Bin 0 -> 837 bytes draklive/5/common/jquery/treeview/images/plus.gif | Bin 0 -> 841 bytes .../jquery/treeview/images/treeview-black-line.gif | Bin 0 -> 1877 bytes .../jquery/treeview/images/treeview-black.gif | Bin 0 -> 1216 bytes .../treeview/images/treeview-default-line.gif | Bin 0 -> 1993 bytes .../jquery/treeview/images/treeview-default.gif | Bin 0 -> 1222 bytes .../treeview/images/treeview-famfamfam-line.gif | Bin 0 -> 807 bytes .../jquery/treeview/images/treeview-famfamfam.gif | Bin 0 -> 1280 bytes .../jquery/treeview/images/treeview-gray-line.gif | Bin 0 -> 1877 bytes .../jquery/treeview/images/treeview-gray.gif | Bin 0 -> 1230 bytes .../jquery/treeview/images/treeview-red-line.gif | Bin 0 -> 1877 bytes .../common/jquery/treeview/images/treeview-red.gif | Bin 0 -> 1230 bytes .../jquery/treeview/jquery.treeview.async.js | 72 ++++++ .../5/common/jquery/treeview/jquery.treeview.css | 85 +++++++ .../5/common/jquery/treeview/jquery.treeview.js | 255 +++++++++++++++++++++ .../common/jquery/treeview/jquery.treeview.min.js | 16 ++ .../common/jquery/treeview/jquery.treeview.pack.js | 16 ++ 22 files changed, 444 insertions(+) create mode 100644 draklive/5/common/jquery/treeview/images/file.gif create mode 100644 draklive/5/common/jquery/treeview/images/folder-closed.gif create mode 100644 draklive/5/common/jquery/treeview/images/folder-closed2.gif create mode 100644 draklive/5/common/jquery/treeview/images/folder.gif create mode 100644 draklive/5/common/jquery/treeview/images/folder2.gif create mode 100644 draklive/5/common/jquery/treeview/images/minus.gif create mode 100644 draklive/5/common/jquery/treeview/images/plus.gif create mode 100644 draklive/5/common/jquery/treeview/images/treeview-black-line.gif create mode 100644 draklive/5/common/jquery/treeview/images/treeview-black.gif create mode 100644 draklive/5/common/jquery/treeview/images/treeview-default-line.gif create mode 100644 draklive/5/common/jquery/treeview/images/treeview-default.gif create mode 100644 draklive/5/common/jquery/treeview/images/treeview-famfamfam-line.gif create mode 100644 draklive/5/common/jquery/treeview/images/treeview-famfamfam.gif create mode 100644 draklive/5/common/jquery/treeview/images/treeview-gray-line.gif create mode 100644 draklive/5/common/jquery/treeview/images/treeview-gray.gif create mode 100644 draklive/5/common/jquery/treeview/images/treeview-red-line.gif create mode 100644 draklive/5/common/jquery/treeview/images/treeview-red.gif create mode 100644 draklive/5/common/jquery/treeview/jquery.treeview.async.js create mode 100644 draklive/5/common/jquery/treeview/jquery.treeview.css create mode 100644 draklive/5/common/jquery/treeview/jquery.treeview.js create mode 100644 draklive/5/common/jquery/treeview/jquery.treeview.min.js create mode 100644 draklive/5/common/jquery/treeview/jquery.treeview.pack.js (limited to 'draklive/5/common/jquery/treeview') diff --git a/draklive/5/common/jquery/treeview/images/file.gif b/draklive/5/common/jquery/treeview/images/file.gif new file mode 100644 index 00000000..bd4f9654 Binary files /dev/null and b/draklive/5/common/jquery/treeview/images/file.gif differ diff --git a/draklive/5/common/jquery/treeview/images/folder-closed.gif b/draklive/5/common/jquery/treeview/images/folder-closed.gif new file mode 100644 index 00000000..be6b59c2 Binary files /dev/null and b/draklive/5/common/jquery/treeview/images/folder-closed.gif differ diff --git a/draklive/5/common/jquery/treeview/images/folder-closed2.gif b/draklive/5/common/jquery/treeview/images/folder-closed2.gif new file mode 100644 index 00000000..54110788 Binary files /dev/null and b/draklive/5/common/jquery/treeview/images/folder-closed2.gif differ diff --git a/draklive/5/common/jquery/treeview/images/folder.gif b/draklive/5/common/jquery/treeview/images/folder.gif new file mode 100644 index 00000000..be6b59c2 Binary files /dev/null and b/draklive/5/common/jquery/treeview/images/folder.gif differ diff --git a/draklive/5/common/jquery/treeview/images/folder2.gif b/draklive/5/common/jquery/treeview/images/folder2.gif new file mode 100644 index 00000000..2b31631c Binary files /dev/null and b/draklive/5/common/jquery/treeview/images/folder2.gif differ diff --git a/draklive/5/common/jquery/treeview/images/minus.gif b/draklive/5/common/jquery/treeview/images/minus.gif new file mode 100644 index 00000000..47fb7b76 Binary files /dev/null and b/draklive/5/common/jquery/treeview/images/minus.gif differ diff --git a/draklive/5/common/jquery/treeview/images/plus.gif b/draklive/5/common/jquery/treeview/images/plus.gif new file mode 100644 index 00000000..69066216 Binary files /dev/null and b/draklive/5/common/jquery/treeview/images/plus.gif differ diff --git a/draklive/5/common/jquery/treeview/images/treeview-black-line.gif b/draklive/5/common/jquery/treeview/images/treeview-black-line.gif new file mode 100644 index 00000000..e5496877 Binary files /dev/null and b/draklive/5/common/jquery/treeview/images/treeview-black-line.gif differ diff --git a/draklive/5/common/jquery/treeview/images/treeview-black.gif b/draklive/5/common/jquery/treeview/images/treeview-black.gif new file mode 100644 index 00000000..d549b9fc Binary files /dev/null and b/draklive/5/common/jquery/treeview/images/treeview-black.gif differ diff --git a/draklive/5/common/jquery/treeview/images/treeview-default-line.gif b/draklive/5/common/jquery/treeview/images/treeview-default-line.gif new file mode 100644 index 00000000..37114d30 Binary files /dev/null and b/draklive/5/common/jquery/treeview/images/treeview-default-line.gif differ diff --git a/draklive/5/common/jquery/treeview/images/treeview-default.gif b/draklive/5/common/jquery/treeview/images/treeview-default.gif new file mode 100644 index 00000000..a12ac52f Binary files /dev/null and b/draklive/5/common/jquery/treeview/images/treeview-default.gif differ diff --git a/draklive/5/common/jquery/treeview/images/treeview-famfamfam-line.gif b/draklive/5/common/jquery/treeview/images/treeview-famfamfam-line.gif new file mode 100644 index 00000000..6e289cec Binary files /dev/null and b/draklive/5/common/jquery/treeview/images/treeview-famfamfam-line.gif differ diff --git a/draklive/5/common/jquery/treeview/images/treeview-famfamfam.gif b/draklive/5/common/jquery/treeview/images/treeview-famfamfam.gif new file mode 100644 index 00000000..0cb178e8 Binary files /dev/null and b/draklive/5/common/jquery/treeview/images/treeview-famfamfam.gif differ diff --git a/draklive/5/common/jquery/treeview/images/treeview-gray-line.gif b/draklive/5/common/jquery/treeview/images/treeview-gray-line.gif new file mode 100644 index 00000000..37600447 Binary files /dev/null and b/draklive/5/common/jquery/treeview/images/treeview-gray-line.gif differ diff --git a/draklive/5/common/jquery/treeview/images/treeview-gray.gif b/draklive/5/common/jquery/treeview/images/treeview-gray.gif new file mode 100644 index 00000000..cfb8a2f0 Binary files /dev/null and b/draklive/5/common/jquery/treeview/images/treeview-gray.gif differ diff --git a/draklive/5/common/jquery/treeview/images/treeview-red-line.gif b/draklive/5/common/jquery/treeview/images/treeview-red-line.gif new file mode 100644 index 00000000..df9e749a Binary files /dev/null and b/draklive/5/common/jquery/treeview/images/treeview-red-line.gif differ diff --git a/draklive/5/common/jquery/treeview/images/treeview-red.gif b/draklive/5/common/jquery/treeview/images/treeview-red.gif new file mode 100644 index 00000000..3bbb3a15 Binary files /dev/null and b/draklive/5/common/jquery/treeview/images/treeview-red.gif differ diff --git a/draklive/5/common/jquery/treeview/jquery.treeview.async.js b/draklive/5/common/jquery/treeview/jquery.treeview.async.js new file mode 100644 index 00000000..2597dde1 --- /dev/null +++ b/draklive/5/common/jquery/treeview/jquery.treeview.async.js @@ -0,0 +1,72 @@ +/* + * Async Treeview 0.1 - Lazy-loading extension for Treeview + * + * http://bassistance.de/jquery-plugins/jquery-plugin-treeview/ + * + * Copyright (c) 2007 Jörn Zaefferer + * + * Dual licensed under the MIT and GPL licenses: + * http://www.opensource.org/licenses/mit-license.php + * http://www.gnu.org/licenses/gpl.html + * + * Revision: $Id$ + * + */ + +;(function($) { + +function load(settings, root, child, container) { + $.getJSON(settings.url, {root: root}, function(response) { + function createNode(parent) { + var current = $("
  • ").attr("id", this.id || "").html("" + this.text + "").appendTo(parent); + if (this.classes) { + current.children("span").addClass(this.classes); + } + if (this.expanded) { + current.addClass("open"); + } + if (this.hasChildren || this.children && this.children.length) { + var branch = $("