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/resizable/animate.html | 36 ----------------- .../jquery-ui/demos/resizable/aspect-ratio.html | 35 ----------------- .../jquery-ui/demos/resizable/constrain-area.html | 40 ------------------- .../plugins/jquery-ui/demos/resizable/default.html | 33 ---------------- .../jquery-ui/demos/resizable/delay-start.html | 45 ---------------------- .../plugins/jquery-ui/demos/resizable/helper.html | 36 ----------------- .../plugins/jquery-ui/demos/resizable/index.html | 24 ------------ .../plugins/jquery-ui/demos/resizable/max-min.html | 38 ------------------ .../jquery-ui/demos/resizable/snap-to-grid.html | 35 ----------------- .../demos/resizable/synchronous-resize.html | 42 -------------------- .../jquery-ui/demos/resizable/textarea.html | 34 ---------------- .../jquery-ui/demos/resizable/visual-feedback.html | 36 ----------------- 12 files changed, 434 deletions(-) delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/resizable/animate.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/resizable/aspect-ratio.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/resizable/constrain-area.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/resizable/default.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/resizable/delay-start.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/resizable/helper.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/resizable/index.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/resizable/max-min.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/resizable/snap-to-grid.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/resizable/synchronous-resize.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/resizable/textarea.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/resizable/visual-feedback.html (limited to '97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/resizable') diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/resizable/animate.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/resizable/animate.html deleted file mode 100644 index c066be7..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/resizable/animate.html +++ /dev/null @@ -1,36 +0,0 @@ - - - - - jQuery UI Resizable - Animate - - - - - - - - - - - - -
-

Animate

-
- -
-

Animate the resize action using the animate option (boolean). When this option is set to true, drag the outline to the desired location; the element animates to that size on drag stop.

-
- - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/resizable/aspect-ratio.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/resizable/aspect-ratio.html deleted file mode 100644 index f3f3501..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/resizable/aspect-ratio.html +++ /dev/null @@ -1,35 +0,0 @@ - - - - - jQuery UI Resizable - Preserve aspect ratio - - - - - - - - - - - - -
-

Preserve aspect ratio

-
- -
-

Maintain the existing aspect ratio or set a new one to constrain the proportions on resize. Set the aspectRatio option to true, and optionally pass in a new ratio (i.e., 4/3)

-
- - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/resizable/constrain-area.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/resizable/constrain-area.html deleted file mode 100644 index a91c89b..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/resizable/constrain-area.html +++ /dev/null @@ -1,40 +0,0 @@ - - - - - jQuery UI Resizable - Constrain resize area - - - - - - - - - - - - -
-

Containment

-
-

Resizable

-
-
- -
-

Define the boundaries of the resizable area. Use the containment option to specify a parent DOM element or a jQuery selector, like 'document.'

-
- - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/resizable/default.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/resizable/default.html deleted file mode 100644 index c6875ee..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/resizable/default.html +++ /dev/null @@ -1,33 +0,0 @@ - - - - - jQuery UI Resizable - Default functionality - - - - - - - - - - - - -
-

Resizable

-
- -
-

Enable any DOM element to be resizable. With the cursor grab the right or bottom border and drag to the desired width or height.

-
- - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/resizable/delay-start.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/resizable/delay-start.html deleted file mode 100644 index a04cdd0..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/resizable/delay-start.html +++ /dev/null @@ -1,45 +0,0 @@ - - - - - jQuery UI Resizable - Delay start - - - - - - - - - - - - -

Time delay (ms):

-
-

Time

-
- -

Distance delay (px):

-
-

Distance

-
- -
-

Delay the start of resizng for a number of milliseconds with the delay option; prevent resizing until the cursor is held down and dragged a specifed number of pixels with the distance option.

-
- - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/resizable/helper.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/resizable/helper.html deleted file mode 100644 index 24f4ad3..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/resizable/helper.html +++ /dev/null @@ -1,36 +0,0 @@ - - - - - jQuery UI Resizable - Helper - - - - - - - - - - - - -
-

Helper

-
- -
-

Display only an outline of the element while resizing by setting the helper option to a CSS class.

-
- - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/resizable/index.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/resizable/index.html deleted file mode 100644 index 7c626e2..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/resizable/index.html +++ /dev/null @@ -1,24 +0,0 @@ - - - - - jQuery UI Resizable Demos - - - - - - - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/resizable/max-min.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/resizable/max-min.html deleted file mode 100644 index 1f30421..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/resizable/max-min.html +++ /dev/null @@ -1,38 +0,0 @@ - - - - - jQuery UI Resizable - Maximum / minimum size - - - - - - - - - - - - -
-

Resize larger / smaller

-
- -
-

Limit the resizable element to a maximum or minimum height or width using the maxHeight, maxWidth, minHeight, and minWidth options.

-
- - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/resizable/snap-to-grid.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/resizable/snap-to-grid.html deleted file mode 100644 index 5d11ae7..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/resizable/snap-to-grid.html +++ /dev/null @@ -1,35 +0,0 @@ - - - - - jQuery UI Resizable - Snap to grid - - - - - - - - - - - - -
-

Grid

-
- -
-

Snap the resizable element to a grid. Set the dimensions of grid cells (height and width in pixels) with the grid option.

-
- - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/resizable/synchronous-resize.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/resizable/synchronous-resize.html deleted file mode 100644 index 4f7f418..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/resizable/synchronous-resize.html +++ /dev/null @@ -1,42 +0,0 @@ - - - - - jQuery UI Resizable - Synchronous resize - - - - - - - - - - - - -
-

Resize

-
- -
-

will also resize

-
- -
-

Resize multiple elements simultaneously by clicking and dragging the sides of one. Pass a shared selector into the alsoResize option.

-
- - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/resizable/textarea.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/resizable/textarea.html deleted file mode 100644 index 8924450..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/resizable/textarea.html +++ /dev/null @@ -1,34 +0,0 @@ - - - - - jQuery UI Resizable - Textarea - - - - - - - - - - - - - - -
-

Display only an outline of the element while resizing by setting the helper option to a CSS class.

-
- - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/resizable/visual-feedback.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/resizable/visual-feedback.html deleted file mode 100644 index ee182b2..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/resizable/visual-feedback.html +++ /dev/null @@ -1,36 +0,0 @@ - - - - - jQuery UI Resizable - Visual feedback - - - - - - - - - - - - -
-

Ghost

-
- -
-

Instead of showing the actual element during resize, set the ghost option to true to show a semi-transparent part of the element.

-
- - -- cgit v1.2.2