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/spinner/currency.html | 52 +++++++++++++++ .../plugins/jquery-ui/demos/spinner/decimal.html | 56 ++++++++++++++++ .../plugins/jquery-ui/demos/spinner/default.html | 64 +++++++++++++++++++ .../plugins/jquery-ui/demos/spinner/index.html | 19 ++++++ .../plugins/jquery-ui/demos/spinner/latlong.html | 57 +++++++++++++++++ .../plugins/jquery-ui/demos/spinner/overflow.html | 44 +++++++++++++ .../plugins/jquery-ui/demos/spinner/time.html | 74 ++++++++++++++++++++++ 7 files changed, 366 insertions(+) create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/spinner/currency.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/spinner/decimal.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/spinner/default.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/spinner/index.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/spinner/latlong.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/spinner/overflow.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/spinner/time.html (limited to '97suifangqa/staticfiles/plugins/jquery-ui/demos/spinner') diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/spinner/currency.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/spinner/currency.html new file mode 100644 index 0000000..0686d37 --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/spinner/currency.html @@ -0,0 +1,52 @@ + + + + + jQuery UI Spinner - Currency + + + + + + + + + + + + + + + +

+ + +

+

+ + +

+ +
+

Example of a donation form, with currency selection and amount spinner.

+
+ + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/spinner/decimal.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/spinner/decimal.html new file mode 100644 index 0000000..b48442a --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/spinner/decimal.html @@ -0,0 +1,56 @@ + + + + + jQuery UI Spinner - Decimal + + + + + + + + + + + + + + + +

+ + +

+

+ + +

+ +
+

+ Example of a decimal spinner. Step is set to 0.01. +
The code handling the culture change reads the current spinner value, + then changes the culture, then sets the value again, resulting in an updated + formatting, based on the new culture. +

+
+ + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/spinner/default.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/spinner/default.html new file mode 100644 index 0000000..5093e86 --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/spinner/default.html @@ -0,0 +1,64 @@ + + + + + jQuery UI Spinner - Default functionality + + + + + + + + + + + + +

+ + +

+ +

+ + +

+ +

+ + +

+ +
+

Default spinner.

+
+ + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/spinner/index.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/spinner/index.html new file mode 100644 index 0000000..f3c74d0 --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/spinner/index.html @@ -0,0 +1,19 @@ + + + + + jQuery UI Spinner Demos + + + + + + + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/spinner/latlong.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/spinner/latlong.html new file mode 100644 index 0000000..14c8601 --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/spinner/latlong.html @@ -0,0 +1,57 @@ + + + + + jQuery UI Spinner - Map + + + + + + + + + + + + + + + + +
+ + + +
+ +
+

Google Maps integration, using spinners to change latidude and longitude.

+
+ + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/spinner/overflow.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/spinner/overflow.html new file mode 100644 index 0000000..d46e660 --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/spinner/overflow.html @@ -0,0 +1,44 @@ + + + + + jQuery UI Spinner - Overflow + + + + + + + + + + + + +

+ + +

+ +
+

+Overflowing spinner restricted to a range of -10 to 10. +For anything above 10, it'll overflow to -10, and the other way round. +

+
+ + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/spinner/time.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/spinner/time.html new file mode 100644 index 0000000..d31dbf2 --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/spinner/time.html @@ -0,0 +1,74 @@ + + + + + jQuery UI Spinner - Time + + + + + + + + + + + + + + +

+ + +

+

+ + +

+ +
+

+ A custom widget extending spinner. Use the Globalization plugin to parse and output + a timestamp, with custom step and page options. Cursor up/down spins minutes, page up/down + spins hours. +

+
+ + -- cgit v1.2.2