From 3f1d09f3b5b86157ccf9f47eef69a065be6153a4 Mon Sep 17 00:00:00 2001 From: Alvin Li Date: Thu, 22 Aug 2013 15:18:58 +0800 Subject: * added latest full package of 'jquery-ui' plugin, v1.10.3; * improved 'thickbox' plugin to use 'jquery-1.9.x'; * upgraded 'SheetDefault.html', 'NewDeleteIndex.html' and other pages to use 'jquery-1.9.x'; * improved 'IndexDesc.html' to deal with the problem of no related annotation found; * 'indicator.tools.get_record()' added param 'number', and updated the format of return data; * added 'get_num_record()' and 'get_num_record_std()' to 'indicator.tools'; * improved 'indicator.views.ajax_get_card_data_chart()', now can get data by 'num' or by 'date'; * improved 'indicator.views.ajax_get_card_data_table()', to provide the needed data requested from 'detail_card'; * improved js function 'chart_getdata_draw()' in 'SheetDefault.html'; * 'card_chart.js': renamed 'redraw_chart()' to 'detail_chart_getdata_draw()', and updated to get data by type; * updated 'table' of 'detail_card' in 'SheetDefault.html'; * improved js function 'get_card_data_table()' for providing and displaying record data in 'detail_card' table. TODO: * add/delete/edit record data --- .../demos/droppable/accepted-elements.html | 53 ++++++ .../plugins/jquery-ui/demos/droppable/default.html | 46 ++++++ .../demos/droppable/images/high_tatras.jpg | Bin 0 -> 22994 bytes .../demos/droppable/images/high_tatras2.jpg | Bin 0 -> 25619 bytes .../demos/droppable/images/high_tatras2_min.jpg | Bin 0 -> 2164 bytes .../demos/droppable/images/high_tatras3.jpg | Bin 0 -> 24583 bytes .../demos/droppable/images/high_tatras3_min.jpg | Bin 0 -> 1901 bytes .../demos/droppable/images/high_tatras4.jpg | Bin 0 -> 24870 bytes .../demos/droppable/images/high_tatras4_min.jpg | Bin 0 -> 2541 bytes .../demos/droppable/images/high_tatras_min.jpg | Bin 0 -> 2147 bytes .../plugins/jquery-ui/demos/droppable/index.html | 20 +++ .../jquery-ui/demos/droppable/photo-manager.html | 182 +++++++++++++++++++++ .../jquery-ui/demos/droppable/propagation.html | 73 +++++++++ .../plugins/jquery-ui/demos/droppable/revert.html | 54 ++++++ .../jquery-ui/demos/droppable/shopping-cart.html | 94 +++++++++++ .../jquery-ui/demos/droppable/visual-feedback.html | 72 ++++++++ 16 files changed, 594 insertions(+) create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/droppable/accepted-elements.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/droppable/default.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/droppable/images/high_tatras.jpg create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/droppable/images/high_tatras2.jpg create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/droppable/images/high_tatras2_min.jpg create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/droppable/images/high_tatras3.jpg create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/droppable/images/high_tatras3_min.jpg create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/droppable/images/high_tatras4.jpg create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/droppable/images/high_tatras4_min.jpg create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/droppable/images/high_tatras_min.jpg create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/droppable/index.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/droppable/photo-manager.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/droppable/propagation.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/droppable/revert.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/droppable/shopping-cart.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/droppable/visual-feedback.html (limited to '97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/droppable') diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/droppable/accepted-elements.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/droppable/accepted-elements.html new file mode 100644 index 0000000..c291b5b --- /dev/null +++ b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/droppable/accepted-elements.html @@ -0,0 +1,53 @@ + + + + + jQuery UI Droppable - Accept + + + + + + + + + + + + + +
+

I'm draggable but can't be dropped

+
+ +
+

Drag me to my target

+
+ +
+

accept: '#draggable'

+
+ +
+

Specify using the accept option which element (or group of elements) is accepted by the target droppable.

+
+ + diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/droppable/default.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/droppable/default.html new file mode 100644 index 0000000..d9b7d61 --- /dev/null +++ b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/droppable/default.html @@ -0,0 +1,46 @@ + + + + + jQuery UI Droppable - Default functionality + + + + + + + + + + + + + +
+

Drag me to my target

+
+ +
+

Drop here

+
+ +
+

Enable any DOM element to be droppable, a target for draggable elements.

+
+ + diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/droppable/images/high_tatras.jpg b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/droppable/images/high_tatras.jpg new file mode 100644 index 0000000..5723680 Binary files /dev/null and b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/droppable/images/high_tatras.jpg differ diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/droppable/images/high_tatras2.jpg b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/droppable/images/high_tatras2.jpg new file mode 100644 index 0000000..1acad3a Binary files /dev/null and b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/droppable/images/high_tatras2.jpg differ diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/droppable/images/high_tatras2_min.jpg b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/droppable/images/high_tatras2_min.jpg new file mode 100644 index 0000000..493e082 Binary files /dev/null and b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/droppable/images/high_tatras2_min.jpg differ diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/droppable/images/high_tatras3.jpg b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/droppable/images/high_tatras3.jpg new file mode 100644 index 0000000..e158b1a Binary files /dev/null and b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/droppable/images/high_tatras3.jpg differ diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/droppable/images/high_tatras3_min.jpg b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/droppable/images/high_tatras3_min.jpg new file mode 100644 index 0000000..4aa96b0 Binary files /dev/null and b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/droppable/images/high_tatras3_min.jpg differ diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/droppable/images/high_tatras4.jpg b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/droppable/images/high_tatras4.jpg new file mode 100644 index 0000000..da4124d Binary files /dev/null and b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/droppable/images/high_tatras4.jpg differ diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/droppable/images/high_tatras4_min.jpg b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/droppable/images/high_tatras4_min.jpg new file mode 100644 index 0000000..794dbdf Binary files /dev/null and b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/droppable/images/high_tatras4_min.jpg differ diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/droppable/images/high_tatras_min.jpg b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/droppable/images/high_tatras_min.jpg new file mode 100644 index 0000000..51e0cde Binary files /dev/null and b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/droppable/images/high_tatras_min.jpg differ diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/droppable/index.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/droppable/index.html new file mode 100644 index 0000000..deca6e4 --- /dev/null +++ b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/droppable/index.html @@ -0,0 +1,20 @@ + + + + + jQuery UI Droppable Demos + + + + + + + diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/droppable/photo-manager.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/droppable/photo-manager.html new file mode 100644 index 0000000..54a805d --- /dev/null +++ b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/droppable/photo-manager.html @@ -0,0 +1,182 @@ + + + + + jQuery UI Droppable - Simple photo manager + + + + + + + + + + + + + + + + +
+ + + +
+

Trash Trash

+
+ +
+ +
+

You can delete an image either by dragging it to the Trash or by clicking the trash icon.

+

You can "recycle" an image by dragging it back to the gallery or by clicking the recycle icon.

+

You can view larger image by clicking the zoom icon. jQuery UI dialog widget is used for the modal window.

+
+ + diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/droppable/propagation.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/droppable/propagation.html new file mode 100644 index 0000000..a116755 --- /dev/null +++ b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/droppable/propagation.html @@ -0,0 +1,73 @@ + + + + + jQuery UI Droppable - Prevent propagation + + + + + + + + + + + + + +
+

Drag me to my target

+
+ +
+

Outer droppable

+
+

Inner droppable (not greedy)

+
+
+ +
+

Outer droppable

+
+

Inner droppable (greedy)

+
+
+ +
+

When working with nested droppables — for example, you may have an editable directory structure displayed as a tree, with folder and document nodes — the greedy option set to true prevents event propagation when a draggable is dropped on a child node (droppable).

+
+ + diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/droppable/revert.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/droppable/revert.html new file mode 100644 index 0000000..2c2fb2c --- /dev/null +++ b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/droppable/revert.html @@ -0,0 +1,54 @@ + + + + + jQuery UI Droppable - Revert draggable position + + + + + + + + + + + + + +
+

I revert when I'm dropped

+
+ +
+

I revert when I'm not dropped

+
+ +
+

Drop me here

+
+ +
+

Return the draggable (or it's helper) to its original location when dragging stops with the boolean revert option set on the draggable.

+
+ + diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/droppable/shopping-cart.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/droppable/shopping-cart.html new file mode 100644 index 0000000..fe7d636 --- /dev/null +++ b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/droppable/shopping-cart.html @@ -0,0 +1,94 @@ + + + + + jQuery UI Droppable - Shopping Cart Demo + + + + + + + + + + + + + + + +
+

Products

+
+

T-Shirts

+
+
    +
  • Lolcat Shirt
  • +
  • Cheezeburger Shirt
  • +
  • Buckit Shirt
  • +
+
+

Bags

+
+
    +
  • Zebra Striped
  • +
  • Black Leather
  • +
  • Alligator Leather
  • +
+
+

Gadgets

+
+
    +
  • iPhone
  • +
  • iPod
  • +
  • iPad
  • +
+
+
+
+ +
+

Shopping Cart

+
+
    +
  1. Add your items here
  2. +
+
+
+ +
+

Demonstrate how to use an accordion to structure products into a catalog and make use of drag and drop for adding them to a shopping cart, where they are sortable.

+
+ + diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/droppable/visual-feedback.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/droppable/visual-feedback.html new file mode 100644 index 0000000..06b8325 --- /dev/null +++ b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/droppable/visual-feedback.html @@ -0,0 +1,72 @@ + + + + + jQuery UI Droppable - Visual feedback + + + + + + + + + + + + + +

Feedback on hover:

+ +
+

Drag me to my target

+
+ +
+

Drop here

+
+ +

Feedback on activating draggable:

+ +
+

Drag me to my target

+
+ +
+

Drop here

+
+ +
+

Change the droppable's appearance on hover, or when the droppable is active (an acceptable draggable is dropped on it). Use the hoverClass or activeClass options to specify respective classes.

+
+ + -- cgit v1.2.2