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'; --- .../jquery-ui/demos/slider/colorpicker.html | 87 ++++++++++++++ .../plugins/jquery-ui/demos/slider/default.html | 27 +++++ .../plugins/jquery-ui/demos/slider/hotelrooms.html | 49 ++++++++ .../plugins/jquery-ui/demos/slider/index.html | 24 ++++ .../jquery-ui/demos/slider/multiple-vertical.html | 69 +++++++++++ .../jquery-ui/demos/slider/range-vertical.html | 41 +++++++ .../plugins/jquery-ui/demos/slider/range.html | 42 +++++++ .../plugins/jquery-ui/demos/slider/rangemax.html | 40 +++++++ .../plugins/jquery-ui/demos/slider/rangemin.html | 41 +++++++ .../jquery-ui/demos/slider/side-scroll.html | 131 +++++++++++++++++++++ .../jquery-ui/demos/slider/slider-vertical.html | 42 +++++++ .../plugins/jquery-ui/demos/slider/steps.html | 41 +++++++ 12 files changed, 634 insertions(+) create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/slider/colorpicker.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/slider/default.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/slider/hotelrooms.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/slider/index.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/slider/multiple-vertical.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/slider/range-vertical.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/slider/range.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/slider/rangemax.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/slider/rangemin.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/slider/side-scroll.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/slider/slider-vertical.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/slider/steps.html (limited to '97suifangqa/staticfiles/plugins/jquery-ui/demos/slider') diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/slider/colorpicker.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/slider/colorpicker.html new file mode 100644 index 0000000..e579b0e --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/slider/colorpicker.html @@ -0,0 +1,87 @@ + + + + + jQuery UI Slider - Colorpicker + + + + + + + + + + + + +

+ + Simple Colorpicker +

+ +
+
+
+ +
+ +
+

Combine three sliders to create a simple RGB colorpicker.

+
+ + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/slider/default.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/slider/default.html new file mode 100644 index 0000000..17ee430 --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/slider/default.html @@ -0,0 +1,27 @@ + + + + + jQuery UI Slider - Default functionality + + + + + + + + + + + +
+ +
+

The basic slider is horizontal and has a single handle that can be moved with the mouse or by using the arrow keys.

+
+ + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/slider/hotelrooms.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/slider/hotelrooms.html new file mode 100644 index 0000000..0968dc4 --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/slider/hotelrooms.html @@ -0,0 +1,49 @@ + + + + + jQuery UI Slider - Slider bound to select + + + + + + + + + + + +
+ + +
+ +
+

How to bind a slider to an existing select element. The select stays visible to display the change. When the select is changed, the slider is updated, too.

+
+ + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/slider/index.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/slider/index.html new file mode 100644 index 0000000..2d05bb5 --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/slider/index.html @@ -0,0 +1,24 @@ + + + + + jQuery UI Slider Demos + + + + + + + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/slider/multiple-vertical.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/slider/multiple-vertical.html new file mode 100644 index 0000000..6a0cf38 --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/slider/multiple-vertical.html @@ -0,0 +1,69 @@ + + + + + jQuery UI Slider - Multiple sliders + + + + + + + + + + + + +

+ + Master volume +

+ +
+ +

+ + Graphic EQ +

+ +
+ 88 + 77 + 55 + 33 + 40 + 45 + 70 +
+ +
+

Combine horizontal and vertical sliders, each with their own options, to create the UI for a music player.

+
+ + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/slider/range-vertical.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/slider/range-vertical.html new file mode 100644 index 0000000..a6f7f5a --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/slider/range-vertical.html @@ -0,0 +1,41 @@ + + + + + jQuery UI Slider - Vertical range slider + + + + + + + + + + + +

+ + +

+ +
+ +
+

Change the orientation of the range slider to vertical. Assign a height value via .height() or by setting the height through CSS, and set the orientation option to "vertical."

+
+ + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/slider/range.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/slider/range.html new file mode 100644 index 0000000..6a11338 --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/slider/range.html @@ -0,0 +1,42 @@ + + + + + jQuery UI Slider - Range slider + + + + + + + + + + + +

+ + +

+ +
+ +
+

Set the range option to true to capture a range of values with two drag handles. The space between the handles is filled with a different background color to indicate those values are selected.

+
+ + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/slider/rangemax.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/slider/rangemax.html new file mode 100644 index 0000000..ca1c260 --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/slider/rangemax.html @@ -0,0 +1,40 @@ + + + + + jQuery UI Slider - Range with fixed maximum + + + + + + + + + + + +

+ + +

+
+ +
+

Fix the maximum value of the range slider so that the user can only select a minimum. Set the range option to "max."

+
+ + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/slider/rangemin.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/slider/rangemin.html new file mode 100644 index 0000000..661fb24 --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/slider/rangemin.html @@ -0,0 +1,41 @@ + + + + + jQuery UI Slider - Range with fixed minimum + + + + + + + + + + + +

+ + +

+ +
+ +
+

Fix the minimum value of the range slider so that the user can only select a maximum. Set the range option to "min."

+
+ + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/slider/side-scroll.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/slider/side-scroll.html new file mode 100644 index 0000000..346acb3 --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/slider/side-scroll.html @@ -0,0 +1,131 @@ + + + + + jQuery UI Slider - Slider scrollbar + + + + + + + + + + + + +
+
+
1
+
2
+
3
+
4
+
5
+
6
+
7
+
8
+
9
+
10
+
11
+
12
+
13
+
14
+
15
+
16
+
17
+
18
+
19
+
20
+
+
+
+
+
+ +
+

Use a slider to manipulate the positioning of content on the page. In this case, it acts as a scrollbar with the potential to capture values if needed.

+
+ + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/slider/slider-vertical.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/slider/slider-vertical.html new file mode 100644 index 0000000..2bea733 --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/slider/slider-vertical.html @@ -0,0 +1,42 @@ + + + + + jQuery UI Slider - Vertical slider + + + + + + + + + + + +

+ + +

+ +
+ +
+

Change the orientation of the slider to vertical. Assign a height value via .height() or by setting the height through CSS, and set the orientation option to "vertical."

+
+ + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/slider/steps.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/slider/steps.html new file mode 100644 index 0000000..821fdc7 --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/slider/steps.html @@ -0,0 +1,41 @@ + + + + + jQuery UI Slider - Snap to increments + + + + + + + + + + + +

+ + +

+ +
+ +
+

Increment slider values with the step option set to an integer, commonly a dividend of the slider's maximum value. The default increment is 1.

+
+ + -- cgit v1.2.2