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/datepicker/alt-field.html | 29 ------------ .../jquery-ui/demos/datepicker/animation.html | 51 --------------------- .../jquery-ui/demos/datepicker/buttonbar.html | 28 ----------- .../jquery-ui/demos/datepicker/date-formats.html | 40 ---------------- .../jquery-ui/demos/datepicker/date-range.html | 44 ------------------ .../jquery-ui/demos/datepicker/default.html | 26 ----------- .../demos/datepicker/dropdown-month-year.html | 29 ------------ .../jquery-ui/demos/datepicker/icon-trigger.html | 30 ------------ .../jquery-ui/demos/datepicker/images/calendar.gif | Bin 269 -> 0 bytes .../plugins/jquery-ui/demos/datepicker/index.html | 27 ----------- .../plugins/jquery-ui/demos/datepicker/inline.html | 26 ----------- .../demos/datepicker/jquery.ui.datepicker-ar.js | 23 ---------- .../demos/datepicker/jquery.ui.datepicker-fr.js | 25 ---------- .../demos/datepicker/jquery.ui.datepicker-he.js | 23 ---------- .../demos/datepicker/jquery.ui.datepicker-zh-TW.js | 23 ---------- .../jquery-ui/demos/datepicker/localization.html | 41 ----------------- .../jquery-ui/demos/datepicker/min-max.html | 26 ----------- .../demos/datepicker/multiple-calendars.html | 29 ------------ .../jquery-ui/demos/datepicker/other-months.html | 30 ------------ .../jquery-ui/demos/datepicker/show-week.html | 32 ------------- 20 files changed, 582 deletions(-) delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/alt-field.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/animation.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/buttonbar.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/date-formats.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/date-range.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/default.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/dropdown-month-year.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/icon-trigger.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/images/calendar.gif delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/index.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/inline.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/jquery.ui.datepicker-ar.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/jquery.ui.datepicker-fr.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/jquery.ui.datepicker-he.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/jquery.ui.datepicker-zh-TW.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/localization.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/min-max.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/multiple-calendars.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/other-months.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/show-week.html (limited to '97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker') diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/alt-field.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/alt-field.html deleted file mode 100644 index 98bf0ae..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/alt-field.html +++ /dev/null @@ -1,29 +0,0 @@ - - - - - jQuery UI Datepicker - Populate alternate field - - - - - - - - - - -

Date:  

- -
-

Populate an alternate field with its own date format whenever a date is selected using the altField and altFormat options. This feature could be used to present a human-friendly date for user selection, while passing a more computer-friendly date through for further processing.

-
- - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/animation.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/animation.html deleted file mode 100644 index a9872e5..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/animation.html +++ /dev/null @@ -1,51 +0,0 @@ - - - - - jQuery UI Datepicker - Animations - - - - - - - - - - - - - - - - - -

Date:

- -

Animations:
- -

- -
-

Use different animations when opening or closing the datepicker. Choose an animation from the dropdown, then click on the input to see its effect. You can use one of the three standard animations or any of the UI Effects.

-
- - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/buttonbar.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/buttonbar.html deleted file mode 100644 index c430872..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/buttonbar.html +++ /dev/null @@ -1,28 +0,0 @@ - - - - - jQuery UI Datepicker - Display button bar - - - - - - - - - - -

Date:

- -
-

Display a button for selecting Today's date and a Done button for closing the calendar with the boolean showButtonPanel option. Each button is enabled by default when the bar is displayed, but can be turned off with additional options. Button text is customizable.

-
- - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/date-formats.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/date-formats.html deleted file mode 100644 index 44cfba8..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/date-formats.html +++ /dev/null @@ -1,40 +0,0 @@ - - - - - jQuery UI Datepicker - Format date - - - - - - - - - - -

Date:

- -

Format options:
- -

- -
-

Display date feedback in a variety of ways. Choose a date format from the dropdown, then click on the input and select a date to see it in that format.

-
- - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/date-range.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/date-range.html deleted file mode 100644 index 7a4dbfc..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/date-range.html +++ /dev/null @@ -1,44 +0,0 @@ - - - - - jQuery UI Datepicker - Select a Date Range - - - - - - - - - - - - - - - -
-

Select the date range to search for.

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

Date:

- -
-

The datepicker is tied to a standard form input field. Focus on the input (click, or use the tab key) to open an interactive calendar in a small overlay. Choose a date, click elsewhere on the page (blur the input), or hit the Esc key to close. If a date is chosen, feedback is shown as the input's value.

-
- - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/dropdown-month-year.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/dropdown-month-year.html deleted file mode 100644 index 1a04ef7..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/dropdown-month-year.html +++ /dev/null @@ -1,29 +0,0 @@ - - - - - jQuery UI Datepicker - Display month & year menus - - - - - - - - - - -

Date:

- -
-

Show month and year dropdowns in place of the static month/year header to facilitate navigation through large timeframes. Add the boolean changeMonth and changeYear options.

-
- - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/icon-trigger.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/icon-trigger.html deleted file mode 100644 index d956168..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/icon-trigger.html +++ /dev/null @@ -1,30 +0,0 @@ - - - - - jQuery UI Datepicker - Icon trigger - - - - - - - - - - -

Date:

- -
-

Click the icon next to the input field to show the datepicker. Set the datepicker to open on focus (default behavior), on icon click, or both.

-
- - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/images/calendar.gif b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/images/calendar.gif deleted file mode 100644 index d0abaa7..0000000 Binary files a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/images/calendar.gif and /dev/null differ diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/index.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/index.html deleted file mode 100644 index eb903a2..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/index.html +++ /dev/null @@ -1,27 +0,0 @@ - - - - - jQuery UI Datepicker Demos - - - - - - - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/inline.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/inline.html deleted file mode 100644 index 5c52b3d..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/inline.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - jQuery UI Datepicker - Display inline - - - - - - - - - - -Date:
- -
-

Display the datepicker embedded in the page instead of in an overlay. Simply call .datepicker() on a div instead of an input.

-
- - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/jquery.ui.datepicker-ar.js b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/jquery.ui.datepicker-ar.js deleted file mode 100644 index cef0f08..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/jquery.ui.datepicker-ar.js +++ /dev/null @@ -1,23 +0,0 @@ -/* Arabic Translation for jQuery UI date picker plugin. */ -/* Khaled Alhourani -- me@khaledalhourani.com */ -/* NOTE: monthNames are the original months names and they are the Arabic names, not the new months name فبراير - يناير and there isn't any Arabic roots for these months */ -jQuery(function($){ - $.datepicker.regional['ar'] = { - closeText: 'إغلاق', - prevText: '<السابق', - nextText: 'التالي>', - currentText: 'اليوم', - monthNames: ['كانون الثاني', 'شباط', 'آذار', 'نيسان', 'مايو', 'حزيران', - 'تموز', 'آب', 'أيلول', 'تشرين الأول', 'تشرين الثاني', 'كانون الأول'], - monthNamesShort: ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], - dayNames: ['الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'], - dayNamesShort: ['الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'], - dayNamesMin: ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'], - weekHeader: 'أسبوع', - dateFormat: 'dd/mm/yy', - firstDay: 6, - isRTL: true, - showMonthAfterYear: false, - yearSuffix: ''}; - $.datepicker.setDefaults($.datepicker.regional['ar']); -}); diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/jquery.ui.datepicker-fr.js b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/jquery.ui.datepicker-fr.js deleted file mode 100644 index 934afd1..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/jquery.ui.datepicker-fr.js +++ /dev/null @@ -1,25 +0,0 @@ -/* French initialisation for the jQuery UI date picker plugin. */ -/* Written by Keith Wood (kbwood{at}iinet.com.au), - Stéphane Nahmani (sholby@sholby.net), - Stéphane Raimbault */ -jQuery(function($){ - $.datepicker.regional['fr'] = { - closeText: 'Fermer', - prevText: 'Précédent', - nextText: 'Suivant', - currentText: 'Aujourd\'hui', - monthNames: ['Janvier','Février','Mars','Avril','Mai','Juin', - 'Juillet','Août','Septembre','Octobre','Novembre','Décembre'], - monthNamesShort: ['Janv.','Févr.','Mars','Avril','Mai','Juin', - 'Juil.','Août','Sept.','Oct.','Nov.','Déc.'], - dayNames: ['Dimanche','Lundi','Mardi','Mercredi','Jeudi','Vendredi','Samedi'], - dayNamesShort: ['Dim.','Lun.','Mar.','Mer.','Jeu.','Ven.','Sam.'], - dayNamesMin: ['D','L','M','M','J','V','S'], - weekHeader: 'Sem.', - dateFormat: 'dd/mm/yy', - firstDay: 1, - isRTL: false, - showMonthAfterYear: false, - yearSuffix: ''}; - $.datepicker.setDefaults($.datepicker.regional['fr']); -}); diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/jquery.ui.datepicker-he.js b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/jquery.ui.datepicker-he.js deleted file mode 100644 index b9e8dee..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/jquery.ui.datepicker-he.js +++ /dev/null @@ -1,23 +0,0 @@ -/* Hebrew initialisation for the UI Datepicker extension. */ -/* Written by Amir Hardon (ahardon at gmail dot com). */ -jQuery(function($){ - $.datepicker.regional['he'] = { - closeText: 'סגור', - prevText: '<הקודם', - nextText: 'הבא>', - currentText: 'היום', - monthNames: ['ינואר','פברואר','מרץ','אפריל','מאי','יוני', - 'יולי','אוגוסט','ספטמבר','אוקטובר','נובמבר','דצמבר'], - monthNamesShort: ['ינו','פבר','מרץ','אפר','מאי','יוני', - 'יולי','אוג','ספט','אוק','נוב','דצמ'], - dayNames: ['ראשון','שני','שלישי','רביעי','חמישי','שישי','שבת'], - dayNamesShort: ['א\'','ב\'','ג\'','ד\'','ה\'','ו\'','שבת'], - dayNamesMin: ['א\'','ב\'','ג\'','ד\'','ה\'','ו\'','שבת'], - weekHeader: 'Wk', - dateFormat: 'dd/mm/yy', - firstDay: 0, - isRTL: true, - showMonthAfterYear: false, - yearSuffix: ''}; - $.datepicker.setDefaults($.datepicker.regional['he']); -}); diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/jquery.ui.datepicker-zh-TW.js b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/jquery.ui.datepicker-zh-TW.js deleted file mode 100644 index b9105ea..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/jquery.ui.datepicker-zh-TW.js +++ /dev/null @@ -1,23 +0,0 @@ -/* Chinese initialisation for the jQuery UI date picker plugin. */ -/* Written by Ressol (ressol@gmail.com). */ -jQuery(function($){ - $.datepicker.regional['zh-TW'] = { - closeText: '關閉', - prevText: '<上月', - nextText: '下月>', - currentText: '今天', - monthNames: ['一月','二月','三月','四月','五月','六月', - '七月','八月','九月','十月','十一月','十二月'], - monthNamesShort: ['一月','二月','三月','四月','五月','六月', - '七月','八月','九月','十月','十一月','十二月'], - dayNames: ['星期日','星期一','星期二','星期三','星期四','星期五','星期六'], - dayNamesShort: ['周日','周一','周二','周三','周四','周五','周六'], - dayNamesMin: ['日','一','二','三','四','五','六'], - weekHeader: '周', - dateFormat: 'yy/mm/dd', - firstDay: 1, - isRTL: false, - showMonthAfterYear: true, - yearSuffix: '年'}; - $.datepicker.setDefaults($.datepicker.regional['zh-TW']); -}); diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/localization.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/localization.html deleted file mode 100644 index 67d55fd..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/localization.html +++ /dev/null @@ -1,41 +0,0 @@ - - - - - jQuery UI Datepicker - Localize calendar - - - - - - - - - - - - - - -

Date:   -

- -
-

Localize the datepicker calendar language and format (English / Western formatting is the default). The datepicker includes built-in support for languages that read right-to-left, such as Arabic and Hebrew.

-
- - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/min-max.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/min-max.html deleted file mode 100644 index 480282e..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/min-max.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - jQuery UI Datepicker - Restrict date range - - - - - - - - - - -

Date:

- -
-

Restrict the range of selectable dates with the minDate and maxDate options. Set the beginning and end dates as actual dates (new Date(2009, 1 - 1, 26)), as a numeric offset from today (-20), or as a string of periods and units ('+1M +10D'). For the last, use 'D' for days, 'W' for weeks, 'M' for months, or 'Y' for years.

-
- - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/multiple-calendars.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/multiple-calendars.html deleted file mode 100644 index 6d06a47..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/multiple-calendars.html +++ /dev/null @@ -1,29 +0,0 @@ - - - - - jQuery UI Datepicker - Display multiple months - - - - - - - - - - -

Date:

- -
-

Set the numberOfMonths option to an integer of 2 or more to show multiple months in a single datepicker.

-
- - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/other-months.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/other-months.html deleted file mode 100644 index 5242869..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/other-months.html +++ /dev/null @@ -1,30 +0,0 @@ - - - - - jQuery UI Datepicker - Dates in other months - - - - - - - - - - -

Date:

- -
-

The datepicker can show dates that come from other than the main month - being displayed. These other dates can also be made selectable.

-
- - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/show-week.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/show-week.html deleted file mode 100644 index 0c1264e..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/show-week.html +++ /dev/null @@ -1,32 +0,0 @@ - - - - - jQuery UI Datepicker - Show week of the year - - - - - - - - - - -

Date:

- -
-

The datepicker can show the week of the year. The default calculation follows - the ISO 8601 definition: the week starts on Monday, the first week of the year - contains the first Thursday of the year. This means that some days from one - year may be placed into weeks 'belonging' to another year.

-
- - -- cgit v1.2.2