From 02afd8a32edb13ea7fc2266ac80092ea15c0930c Mon Sep 17 00:00:00 2001 From: Alvin Li Date: Wed, 9 Oct 2013 15:52:53 +0800 Subject: * treat 'apps/utils' as regular django app; which used to store general tools for used in other apps * moved 'templatetags' from 'apps/indicator' to 'apps/utils' * '.gitignore' to ignore 'fixtures_bak' * moved js plugins from 'apps/indicator/static/plugins' to 'staticfiles/plugins' apps/recommend: * updated 'recommend.models'; o commented 'recommend.models.ResearchCombination' (not used) * implemented views 'add_edit_blog_info' and 'ajax_add_edit_configs'; * added pages 'templates/recommend/add_edit_blog_info.html', 'add_edit_blog_info_error.html'; o related css and javascripts files * added 'tools.py'; * added 'utils/tools.py' for placing generic functions; * deleted 'initial_data.json' (mv 'fixtures' to 'fixtures_bak'); * small fixes to 'indicator.models', 'sciblog.models' and 'sfaccount.views' * fixed automatically show 'proper_nouns' annotation in blog: recovered the line 'import signals' in 'sciblog.models' * added 'is_ok()' method for 'recommend.models.ResearchConfig'; --- .../plugins/jquery-ui/demos/position/cycler.html | 107 ++++++++++++++++ .../plugins/jquery-ui/demos/position/default.html | 137 +++++++++++++++++++++ .../jquery-ui/demos/position/images/earth.jpg | Bin 0 -> 29850 bytes .../jquery-ui/demos/position/images/flight.jpg | Bin 0 -> 33637 bytes .../jquery-ui/demos/position/images/rocket.jpg | Bin 0 -> 32986 bytes .../plugins/jquery-ui/demos/position/index.html | 15 +++ 6 files changed, 259 insertions(+) create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/position/cycler.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/position/default.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/position/images/earth.jpg create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/position/images/flight.jpg create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/position/images/rocket.jpg create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/position/index.html (limited to '97suifangqa/staticfiles/plugins/jquery-ui/demos/position') diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/position/cycler.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/position/cycler.html new file mode 100644 index 0000000..7eef091 --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/position/cycler.html @@ -0,0 +1,107 @@ + + + + + jQuery UI Position - Image Cycler + + + + + + + + + + + +
+ earth + flight + rocket + + + +
+ +
+

A photoviewer prototype using Position to place images at the center, left and right and cycle them. +
Use the links at the top to cycle, or click on the images on the left and right. +
Note how the images are repositioned when resizing the window. +

+ + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/position/default.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/position/default.html new file mode 100644 index 0000000..8d6cca0 --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/position/default.html @@ -0,0 +1,137 @@ + + + + + jQuery UI Position - Default functionality + + + + + + + + + + + + + +
+

+ This is the position parent element. +

+
+ +
+

+ to position +

+
+ +
+

+ to position 2 +

+
+ +
+ position... +
+ my: + + +
+
+ at: + + +
+
+ collision: + + +
+
+ +
+

Use the form controls to configure the positioning, or drag the positioned element to modify its offset. +
Drag around the parent element to see collision detection in action.

+
+ + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/position/images/earth.jpg b/97suifangqa/staticfiles/plugins/jquery-ui/demos/position/images/earth.jpg new file mode 100644 index 0000000..e5477f7 Binary files /dev/null and b/97suifangqa/staticfiles/plugins/jquery-ui/demos/position/images/earth.jpg differ diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/position/images/flight.jpg b/97suifangqa/staticfiles/plugins/jquery-ui/demos/position/images/flight.jpg new file mode 100644 index 0000000..362bd1a Binary files /dev/null and b/97suifangqa/staticfiles/plugins/jquery-ui/demos/position/images/flight.jpg differ diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/position/images/rocket.jpg b/97suifangqa/staticfiles/plugins/jquery-ui/demos/position/images/rocket.jpg new file mode 100644 index 0000000..9c0495c Binary files /dev/null and b/97suifangqa/staticfiles/plugins/jquery-ui/demos/position/images/rocket.jpg differ diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/position/index.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/position/index.html new file mode 100644 index 0000000..a7b7548 --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/position/index.html @@ -0,0 +1,15 @@ + + + + + jQuery UI Position Demo + + + + + + + -- cgit v1.2.2