diff --git a/README b/README index 944e4ee29..027458a6b 100644 --- a/README +++ b/README @@ -155,11 +155,6 @@ WYSIWYG - jQuery plugin 0.3 # # Dual licensed under the MIT and GPL licenses: -Treeview 1.4 - jQuery plugin to hide and show branches of a tree - # Copyright (c) 2007 Jörn Zaefferer - # - # Dual licensed under the MIT and GPL licenses: - jQuery Date Picker: # Copyright (c) 2007 Kelvin Luck (http://www.kelvinluck.com/) # Dual licensed under the MIT (http://www.opensource.org/licenses/mit-license.php) diff --git a/wcs/qommon/static/js/jquery-treeview/changelog.txt b/wcs/qommon/static/js/jquery-treeview/changelog.txt deleted file mode 100644 index 44a94e82b..000000000 --- a/wcs/qommon/static/js/jquery-treeview/changelog.txt +++ /dev/null @@ -1,29 +0,0 @@ -1.4 ---- - -* Added changelog (this file) -* Fixed tree control to search only for anchors, allowing images or other elements inside the controls, while keeping the control usable with the keyboard -* Restructured folder layout: root contains plugin resources, lib contains script dependencies, demo contains demos and related files -* Added prerendered option: If set to true, assumes all hitarea divs and classes already rendered, speeding up initialization for big trees, but more obtrusive -* Added jquery.treeview.async.js for ajax-lazy-loading trees, see async.html demo -* Exposed $.fn.treeview.classes for custom classes if necessary -* Show treecontrol only when JavaScript is enabled -* Completely reworked themeing via CSS sprites, resulting in only two files per theme - * updated dotted, black, gray and red theme - * added famfamfam theme (no lines) -* Improved cookie persistence to allow multiple persisted trees per page via cookieId option -* Improved location persistence by making it case-insensitive -* Improved swapClass and replaceClass plugin implementations -* Added folder-closed.gif to filetree example - -1.3 ---- - -* Fixes for all outstanding bugs -* Added persistence features - * location based: click on a link in the treeview and reopen that link after the page loaded - * cookie based: save the state of the tree in a cookie on each click and load that on reload -* smoothed animations, fixing flickering in both IE and Opera -* Tested in Firefox 2, IE 6 & 7, Opera 9, Safari 3 -* Moved documentation to jQuery wiki -* Requires jQuery 1.2+ diff --git a/wcs/qommon/static/js/jquery-treeview/demo/async.html b/wcs/qommon/static/js/jquery-treeview/demo/async.html deleted file mode 100644 index 571b11221..000000000 --- a/wcs/qommon/static/js/jquery-treeview/demo/async.html +++ /dev/null @@ -1,44 +0,0 @@ - - - - - - jQuery async treeview - - - - - - - - - - - - - - - -

jQuery Treeview Plugin Demo

-
- - - -

Lazy-loading tree

- - - - -
- - \ No newline at end of file diff --git a/wcs/qommon/static/js/jquery-treeview/demo/bg.gif b/wcs/qommon/static/js/jquery-treeview/demo/bg.gif deleted file mode 100644 index 846add071..000000000 Binary files a/wcs/qommon/static/js/jquery-treeview/demo/bg.gif and /dev/null differ diff --git a/wcs/qommon/static/js/jquery-treeview/demo/demo.js b/wcs/qommon/static/js/jquery-treeview/demo/demo.js deleted file mode 100644 index 2c2a9b470..000000000 --- a/wcs/qommon/static/js/jquery-treeview/demo/demo.js +++ /dev/null @@ -1,43 +0,0 @@ -$(document).ready(function(){ - - // first example - $("#navigation").treeview({ - persist: "location", - collapsed: true, - unique: true - }); - - // second example - $("#browser").treeview(); - $("#add").click(function() { - var branches = $("
  • New Sublist
  • ").appendTo("#browser"); - $("#browser").treeview({ - add: branches - }); - branches = $("
  • New Sublist
  • ").prependTo("#folder21"); - $("#browser").treeview({ - add: branches - }); - }); - - // third example - $("#red").treeview({ - animated: "fast", - collapsed: true, - unique: true, - persist: "cookie", - toggle: function() { - window.console && console.log("%o was toggled", this); - } - }); - - // fourth example - $("#black, #gray").treeview({ - control: "#treecontrol", - persist: "cookie", - cookieId: "treeview-black" - }); - -}); \ No newline at end of file diff --git a/wcs/qommon/static/js/jquery-treeview/demo/images.html b/wcs/qommon/static/js/jquery-treeview/demo/images.html deleted file mode 100644 index 044bcbfe2..000000000 --- a/wcs/qommon/static/js/jquery-treeview/demo/images.html +++ /dev/null @@ -1,56 +0,0 @@ - - - - - - jQuery treeView - - - - - - - - - - - - - - -

    jQuery Treeview Plugin Demo

    -
    - -

    Sample 1 - default

    - - -
    - - \ No newline at end of file diff --git a/wcs/qommon/static/js/jquery-treeview/demo/index.html b/wcs/qommon/static/js/jquery-treeview/demo/index.html deleted file mode 100644 index 265506928..000000000 --- a/wcs/qommon/static/js/jquery-treeview/demo/index.html +++ /dev/null @@ -1,340 +0,0 @@ - - - - - - jQuery treeView - - - - - - - - - - - - - -

    jQuery Treeview Plugin Demo

    -
    - - Pagecode - -

    Other demos

    - - -

    Sample 0 - navigation

    - - - - -

    Sample 1 - default

    - - - - -

    Sample 2 - fast animations, all branches collapsed at first, red theme, cookie-based persistance

    - - -

    Sample 3 - two trees with one tree control, black and gray theme, cookie-based persistance

    -
    - Collapse All - Expand All - Toggle All -
    - - - -
    - - \ No newline at end of file diff --git a/wcs/qommon/static/js/jquery-treeview/demo/large.html b/wcs/qommon/static/js/jquery-treeview/demo/large.html deleted file mode 100644 index 86b48ecb5..000000000 --- a/wcs/qommon/static/js/jquery-treeview/demo/large.html +++ /dev/null @@ -1,559 +0,0 @@ - - - - - - - - - - - - - - - - - -

    jQuery Treeview Plugin Demo

    -
    Main Demo - -
    -
     
    - - - -
    - -
    - - - - diff --git a/wcs/qommon/static/js/jquery-treeview/demo/prerendered.html b/wcs/qommon/static/js/jquery-treeview/demo/prerendered.html deleted file mode 100644 index 957822f7c..000000000 --- a/wcs/qommon/static/js/jquery-treeview/demo/prerendered.html +++ /dev/null @@ -1,621 +0,0 @@ - - - - - - - - - - - - - - - - - -

    jQuery Treeview Plugin Demo

    -
    - - Main Demo - -
    -
     
    - - - -
    - -
    - - - - diff --git a/wcs/qommon/static/js/jquery-treeview/demo/screen.css b/wcs/qommon/static/js/jquery-treeview/demo/screen.css deleted file mode 100644 index 965653c8e..000000000 --- a/wcs/qommon/static/js/jquery-treeview/demo/screen.css +++ /dev/null @@ -1,24 +0,0 @@ -html, body {height:100%; margin: 0; padding: 0; } - -html>body { - font-size: 16px; - font-size: 68.75%; -} /* Reset Base Font Size */ - -body { - font-family: Verdana, helvetica, arial, sans-serif; - font-size: 68.75%; - background: #fff; - color: #333; -} - -h1, h2 { font-family: 'trebuchet ms', verdana, arial; padding: 10px; margin: 0 } -h1 { font-size: large } - -#banner { padding: 15px; background-color: #06b; color: white; font-size: large; border-bottom: 1px solid #ccc; - background: url(bg.gif) repeat-x; text-align: center } -#banner a { color: white; } - -#main { padding: 1em; } - -a img { border: none; } \ No newline at end of file diff --git a/wcs/qommon/static/js/jquery-treeview/demo/simple.html b/wcs/qommon/static/js/jquery-treeview/demo/simple.html deleted file mode 100644 index a35b123d6..000000000 --- a/wcs/qommon/static/js/jquery-treeview/demo/simple.html +++ /dev/null @@ -1,82 +0,0 @@ - - - - - - jQuery treeView - - - - - - - - - - - - - -

    jQuery Treeview Plugin Demo

    -
    - - Main Demo - - - - - -

    +/- Icons from famfamfam

    - -
    - - \ No newline at end of file diff --git a/wcs/qommon/static/js/jquery-treeview/demo/source.php b/wcs/qommon/static/js/jquery-treeview/demo/source.php deleted file mode 100644 index 6ee7cb9ea..000000000 --- a/wcs/qommon/static/js/jquery-treeview/demo/source.php +++ /dev/null @@ -1,87 +0,0 @@ - -[ - { - "text": "1. Pre Lunch (120 min)", - "expanded": true, - "classes": "important", - "children": - [ - { - "text": "1.1 The State of the Powerdome (30 min)" - }, - { - "text": "1.2 The Future of jQuery (30 min)" - }, - { - "text": "1.2 jQuery UI - A step to richnessy (60 min)" - } - ] - }, - { - "text": "2. Lunch (60 min)" - }, - { - "text": "3. After Lunch (120+ min)", - "children": - [ - { - "text": "3.1 jQuery Calendar Success Story (20 min)" - }, - { - "text": "3.2 jQuery and Ruby Web Frameworks (20 min)" - }, - { - "text": "3.3 Hey, I Can Do That! (20 min)" - }, - { - "text": "3.4 Taconite and Form (20 min)" - }, - { - "text": "3.5 Server-side JavaScript with jQuery and AOLserver (20 min)" - }, - { - "text": "3.6 The Onion: How to add features without adding features (20 min)", - "id": "36", - "hasChildren": true - }, - { - "text": "3.7 Visualizations with JavaScript and Canvas (20 min)" - }, - { - "text": "3.8 ActiveDOM (20 min)" - }, - { - "text": "3.8 Growing jQuery (20 min)" - } - ] - } -] - -[ - { - "text": "1. Review of existing structures", - "expanded": true, - "children": - [ - { - "text": "1.1 jQuery core" - }, - { - "text": "1.2 metaplugins" - } - ] - }, - { - "text": "2. Wrapper plugins" - }, - { - "text": "3. Summary" - }, - { - "text": "4. Questions and answers" - } - -] - \ No newline at end of file diff --git a/wcs/qommon/static/js/jquery-treeview/demo/source.phps b/wcs/qommon/static/js/jquery-treeview/demo/source.phps deleted file mode 100644 index 6ee7cb9ea..000000000 --- a/wcs/qommon/static/js/jquery-treeview/demo/source.phps +++ /dev/null @@ -1,87 +0,0 @@ - -[ - { - "text": "1. Pre Lunch (120 min)", - "expanded": true, - "classes": "important", - "children": - [ - { - "text": "1.1 The State of the Powerdome (30 min)" - }, - { - "text": "1.2 The Future of jQuery (30 min)" - }, - { - "text": "1.2 jQuery UI - A step to richnessy (60 min)" - } - ] - }, - { - "text": "2. Lunch (60 min)" - }, - { - "text": "3. After Lunch (120+ min)", - "children": - [ - { - "text": "3.1 jQuery Calendar Success Story (20 min)" - }, - { - "text": "3.2 jQuery and Ruby Web Frameworks (20 min)" - }, - { - "text": "3.3 Hey, I Can Do That! (20 min)" - }, - { - "text": "3.4 Taconite and Form (20 min)" - }, - { - "text": "3.5 Server-side JavaScript with jQuery and AOLserver (20 min)" - }, - { - "text": "3.6 The Onion: How to add features without adding features (20 min)", - "id": "36", - "hasChildren": true - }, - { - "text": "3.7 Visualizations with JavaScript and Canvas (20 min)" - }, - { - "text": "3.8 ActiveDOM (20 min)" - }, - { - "text": "3.8 Growing jQuery (20 min)" - } - ] - } -] - -[ - { - "text": "1. Review of existing structures", - "expanded": true, - "children": - [ - { - "text": "1.1 jQuery core" - }, - { - "text": "1.2 metaplugins" - } - ] - }, - { - "text": "2. Wrapper plugins" - }, - { - "text": "3. Summary" - }, - { - "text": "4. Questions and answers" - } - -] - \ No newline at end of file diff --git a/wcs/qommon/static/js/jquery-treeview/images/file.gif b/wcs/qommon/static/js/jquery-treeview/images/file.gif deleted file mode 100644 index 7e6216798..000000000 Binary files a/wcs/qommon/static/js/jquery-treeview/images/file.gif and /dev/null differ diff --git a/wcs/qommon/static/js/jquery-treeview/images/folder-closed.gif b/wcs/qommon/static/js/jquery-treeview/images/folder-closed.gif deleted file mode 100644 index 541107888..000000000 Binary files a/wcs/qommon/static/js/jquery-treeview/images/folder-closed.gif and /dev/null differ diff --git a/wcs/qommon/static/js/jquery-treeview/images/folder.gif b/wcs/qommon/static/js/jquery-treeview/images/folder.gif deleted file mode 100644 index 2b31631ca..000000000 Binary files a/wcs/qommon/static/js/jquery-treeview/images/folder.gif and /dev/null differ diff --git a/wcs/qommon/static/js/jquery-treeview/images/minus.gif b/wcs/qommon/static/js/jquery-treeview/images/minus.gif deleted file mode 100644 index 47fb7b767..000000000 Binary files a/wcs/qommon/static/js/jquery-treeview/images/minus.gif and /dev/null differ diff --git a/wcs/qommon/static/js/jquery-treeview/images/plus.gif b/wcs/qommon/static/js/jquery-treeview/images/plus.gif deleted file mode 100644 index 690662162..000000000 Binary files a/wcs/qommon/static/js/jquery-treeview/images/plus.gif and /dev/null differ diff --git a/wcs/qommon/static/js/jquery-treeview/images/treeview-black-line.gif b/wcs/qommon/static/js/jquery-treeview/images/treeview-black-line.gif deleted file mode 100644 index e5496877a..000000000 Binary files a/wcs/qommon/static/js/jquery-treeview/images/treeview-black-line.gif and /dev/null differ diff --git a/wcs/qommon/static/js/jquery-treeview/images/treeview-black.gif b/wcs/qommon/static/js/jquery-treeview/images/treeview-black.gif deleted file mode 100644 index d549b9fc5..000000000 Binary files a/wcs/qommon/static/js/jquery-treeview/images/treeview-black.gif and /dev/null differ diff --git a/wcs/qommon/static/js/jquery-treeview/images/treeview-default-line.gif b/wcs/qommon/static/js/jquery-treeview/images/treeview-default-line.gif deleted file mode 100644 index 37114d306..000000000 Binary files a/wcs/qommon/static/js/jquery-treeview/images/treeview-default-line.gif and /dev/null differ diff --git a/wcs/qommon/static/js/jquery-treeview/images/treeview-default.gif b/wcs/qommon/static/js/jquery-treeview/images/treeview-default.gif deleted file mode 100644 index a12ac52ff..000000000 Binary files a/wcs/qommon/static/js/jquery-treeview/images/treeview-default.gif and /dev/null differ diff --git a/wcs/qommon/static/js/jquery-treeview/images/treeview-famfamfam-line.gif b/wcs/qommon/static/js/jquery-treeview/images/treeview-famfamfam-line.gif deleted file mode 100644 index 6e289cecc..000000000 Binary files a/wcs/qommon/static/js/jquery-treeview/images/treeview-famfamfam-line.gif and /dev/null differ diff --git a/wcs/qommon/static/js/jquery-treeview/images/treeview-famfamfam.gif b/wcs/qommon/static/js/jquery-treeview/images/treeview-famfamfam.gif deleted file mode 100644 index 0cb178e89..000000000 Binary files a/wcs/qommon/static/js/jquery-treeview/images/treeview-famfamfam.gif and /dev/null differ diff --git a/wcs/qommon/static/js/jquery-treeview/images/treeview-gray-line.gif b/wcs/qommon/static/js/jquery-treeview/images/treeview-gray-line.gif deleted file mode 100644 index 37600447d..000000000 Binary files a/wcs/qommon/static/js/jquery-treeview/images/treeview-gray-line.gif and /dev/null differ diff --git a/wcs/qommon/static/js/jquery-treeview/images/treeview-gray.gif b/wcs/qommon/static/js/jquery-treeview/images/treeview-gray.gif deleted file mode 100644 index cfb8a2f09..000000000 Binary files a/wcs/qommon/static/js/jquery-treeview/images/treeview-gray.gif and /dev/null differ diff --git a/wcs/qommon/static/js/jquery-treeview/images/treeview-red-line.gif b/wcs/qommon/static/js/jquery-treeview/images/treeview-red-line.gif deleted file mode 100644 index df9e749a8..000000000 Binary files a/wcs/qommon/static/js/jquery-treeview/images/treeview-red-line.gif and /dev/null differ diff --git a/wcs/qommon/static/js/jquery-treeview/images/treeview-red.gif b/wcs/qommon/static/js/jquery-treeview/images/treeview-red.gif deleted file mode 100644 index 3bbb3a157..000000000 Binary files a/wcs/qommon/static/js/jquery-treeview/images/treeview-red.gif and /dev/null differ diff --git a/wcs/qommon/static/js/jquery-treeview/jquery.treeview.async.js b/wcs/qommon/static/js/jquery-treeview/jquery.treeview.async.js deleted file mode 100644 index 2597dde17..000000000 --- a/wcs/qommon/static/js/jquery-treeview/jquery.treeview.async.js +++ /dev/null @@ -1,72 +0,0 @@ -/* - * 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 = $("