<feed xmlns='http://www.w3.org/2005/Atom'>
<title>97dev.git/97suifangqa/apps/indicator/static/css, branch master</title>
<subtitle>97suifang website development
</subtitle>
<link rel='alternate' type='text/html' href='https://git.liwt.net/97dev.git/'/>
<entry>
<title>* merged commits from 'maxwell lou' by time '20131028_09:52';</title>
<updated>2013-10-30T02:16:21+00:00</updated>
<author>
<name>Alvin Li</name>
<email>liweitianux@gmail.com</email>
</author>
<published>2013-10-30T02:16:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.liwt.net/97dev.git/commit/?id=1e4a9c0565c3d2f52ec205ae7627ebfc84278735'/>
<id>1e4a9c0565c3d2f52ec205ae7627ebfc84278735</id>
<content type='text'>
* moved 'ValueKind' model from 'recommend/models' to 'indicator/models'
* added field 'type' for 'indicator.models.Indicator'
* added field 'kind' for 'indicator.models.IndicatorRecord',
  'InnateConfine'
* updated methods for models 'Indicator', 'IndicatorRecord',
  'InnateConfine'
* updated views and templates for 'apps/indicator'
* added 'INDICATOR_RECOMMEND_PERIOD' into 'settings.py'
* added 'type' field for 'indicator.models.Indicator' in
  'search_indexes.py'
* added a confirm step for 'EditHistoryData' page when delete a record

* removed dir 'backupdata'; 'queries.txt' moved to 'backup' dir
* moved *.json to 'backup' dir
* removed 'apps/managers*.py'
* updated 'indicator/popup/IndexDesc.html'
* created dir 'apps/indicator/obsolete';
* moved 'indicator/forms.py' to dir 'obsolete';
* splitted views related forms.py from 'views.py', and placed in
  'obsolete/views_forms.py'

* loadded newest data into database
* cleaned pervious data files in 'backup' dir
* updated 'README.txt'; added a solution to a redis problem

* added field 'type' of 'indicator.models.Indicator';
  for filtering search results and only returning 'NORMAL_TYPE'
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* moved 'ValueKind' model from 'recommend/models' to 'indicator/models'
* added field 'type' for 'indicator.models.Indicator'
* added field 'kind' for 'indicator.models.IndicatorRecord',
  'InnateConfine'
* updated methods for models 'Indicator', 'IndicatorRecord',
  'InnateConfine'
* updated views and templates for 'apps/indicator'
* added 'INDICATOR_RECOMMEND_PERIOD' into 'settings.py'
* added 'type' field for 'indicator.models.Indicator' in
  'search_indexes.py'
* added a confirm step for 'EditHistoryData' page when delete a record

* removed dir 'backupdata'; 'queries.txt' moved to 'backup' dir
* moved *.json to 'backup' dir
* removed 'apps/managers*.py'
* updated 'indicator/popup/IndexDesc.html'
* created dir 'apps/indicator/obsolete';
* moved 'indicator/forms.py' to dir 'obsolete';
* splitted views related forms.py from 'views.py', and placed in
  'obsolete/views_forms.py'

* loadded newest data into database
* cleaned pervious data files in 'backup' dir
* updated 'README.txt'; added a solution to a redis problem

* added field 'type' of 'indicator.models.Indicator';
  for filtering search results and only returning 'NORMAL_TYPE'
</pre>
</div>
</content>
</entry>
<entry>
<title>auto redraw chart when:</title>
<updated>2013-09-21T16:03:36+00:00</updated>
<author>
<name>Alvin Li</name>
<email>liweitianux@gmail.com</email>
</author>
<published>2013-09-21T16:03:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.liwt.net/97dev.git/commit/?id=816730ff659e1338ab3e37a1d45ea337e337b3dd'/>
<id>816730ff659e1338ab3e37a1d45ea337e337b3dd</id>
<content type='text'>
* added new record
* modified record data/date
* deleted record

EditHistoryData page:
* added 'delete button' (#delete_btn)
* added 'indicator.views.ajax_delete_record()'
* updated css style for delete button
* updated css style for record 'state'

* added check for 'unit' when save 'IndicatorRecord'
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* added new record
* modified record data/date
* deleted record

EditHistoryData page:
* added 'delete button' (#delete_btn)
* added 'indicator.views.ajax_delete_record()'
* updated css style for delete button
* updated css style for record 'state'

* added check for 'unit' when save 'IndicatorRecord'
</pre>
</div>
</content>
</entry>
<entry>
<title>*** merged changes of front pages ***</title>
<updated>2013-09-20T15:52:59+00:00</updated>
<author>
<name>Alvin Li</name>
<email>liweitianux@gmail.com</email>
</author>
<published>2013-09-20T15:52:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.liwt.net/97dev.git/commit/?id=c9da4168874296cf4f5ba71b9a432ceae3c26130'/>
<id>c9da4168874296cf4f5ba71b9a432ceae3c26130</id>
<content type='text'>
* merged changes from '97suifang-front' by mjymjydark;
    and modified to work with django
* finished 'editing_data' div of 'SheetDefault' for add new record
* added 'indicator.views.ajax_add_record()'

*** search ***
* improved 'search' function of 'NewDeleteIndex' page;
    employ AJAX to load search results;
* added 'indicator.views.search_indicators()'

*** recommend indicator ***
* improved the functions of 'recommend_indicator'
* added 'sciblog.models.UserCollection' to record the collection
    information for each user
* improved 'sciblog.views.add_user_to_m2m()' to work with
    'UserCollection'
* added field 'lastRecommendTime' in 'indicator.models.UserIndicator'
* updated 'indicator.views.indicator_status' against 'recommend_indicator'

*** qtip2 for recommended indicator ***
* added 'qtip2' tooltip for recommended indicator card
* added '97suifang' qtip css (qtip-sf)

* added tooltip for 'add record' when return error (SheetDefault page);
* improved the style of 'collection_btn' and 'go_library_btn' of
    IndexDesc page;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* merged changes from '97suifang-front' by mjymjydark;
    and modified to work with django
* finished 'editing_data' div of 'SheetDefault' for add new record
* added 'indicator.views.ajax_add_record()'

*** search ***
* improved 'search' function of 'NewDeleteIndex' page;
    employ AJAX to load search results;
* added 'indicator.views.search_indicators()'

*** recommend indicator ***
* improved the functions of 'recommend_indicator'
* added 'sciblog.models.UserCollection' to record the collection
    information for each user
* improved 'sciblog.views.add_user_to_m2m()' to work with
    'UserCollection'
* added field 'lastRecommendTime' in 'indicator.models.UserIndicator'
* updated 'indicator.views.indicator_status' against 'recommend_indicator'

*** qtip2 for recommended indicator ***
* added 'qtip2' tooltip for recommended indicator card
* added '97suifang' qtip css (qtip-sf)

* added tooltip for 'add record' when return error (SheetDefault page);
* improved the style of 'collection_btn' and 'go_library_btn' of
    IndexDesc page;
</pre>
</div>
</content>
</entry>
<entry>
<title> * finished modifying 'PM_TYPE' record for 'EditHistoryData' page</title>
<updated>2013-09-09T02:10:17+00:00</updated>
<author>
<name>Alvin Li</name>
<email>liweitianux@gmail.com</email>
</author>
<published>2013-09-09T02:10:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.liwt.net/97dev.git/commit/?id=62efe8809e2cdfc84666dbd5e987a4ce473a047a'/>
<id>62efe8809e2cdfc84666dbd5e987a4ce473a047a</id>
<content type='text'>
 * synced '97suifang-front'

 TODO:
 * to merge changes of '97suifang-front'
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
 * synced '97suifang-front'

 TODO:
 * to merge changes of '97suifang-front'
</pre>
</div>
</content>
</entry>
<entry>
<title>* improved the popup page 'EditHistoryData.html':</title>
<updated>2013-08-24T17:25:27+00:00</updated>
<author>
<name>Alvin Li</name>
<email>liweitianux@gmail.com</email>
</author>
<published>2013-08-24T17:25:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.liwt.net/97dev.git/commit/?id=58b77885308c944a029caf5c2d8b5d3263b6f64d'/>
<id>58b77885308c944a029caf5c2d8b5d3263b6f64d</id>
<content type='text'>
  o improvd page styles;
  o updated related view: 'indicator.views.indicator_edithistorydata()';
  o updated related css styles;
  o added styles 'valid' and 'invalid';
  o added 'jquery-ui: datepicker' to select date;
  o added 'reason_input' field to get the reason for modification;
  o implemented validation for 'date' and 'reason' field;

* added testing record data for testing 'detail_card';
* added 'cursor: pointer' for 'ui-datepicker-trigger';
* small style change to the 'see_more_button' of SheetDefault.html;
* added umcompressed 'jquery-1.9.1.js' for backup;
* added param 'type' for 'indicator.tools.format_data()';

TODO:
EditHistoryData.html:
  o to show original record data properly;
  o to add validation for data field
  o to implement ajax POST data and related view
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
  o improvd page styles;
  o updated related view: 'indicator.views.indicator_edithistorydata()';
  o updated related css styles;
  o added styles 'valid' and 'invalid';
  o added 'jquery-ui: datepicker' to select date;
  o added 'reason_input' field to get the reason for modification;
  o implemented validation for 'date' and 'reason' field;

* added testing record data for testing 'detail_card';
* added 'cursor: pointer' for 'ui-datepicker-trigger';
* small style change to the 'see_more_button' of SheetDefault.html;
* added umcompressed 'jquery-1.9.1.js' for backup;
* added param 'type' for 'indicator.tools.format_data()';

TODO:
EditHistoryData.html:
  o to show original record data properly;
  o to add validation for data field
  o to implement ajax POST data and related view
</pre>
</div>
</content>
</entry>
<entry>
<title>* added latest full package of 'jquery-ui' plugin, v1.10.3;</title>
<updated>2013-08-22T07:18:58+00:00</updated>
<author>
<name>Alvin Li</name>
<email>liweitianux@gmail.com</email>
</author>
<published>2013-08-22T07:18:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.liwt.net/97dev.git/commit/?id=3f1d09f3b5b86157ccf9f47eef69a065be6153a4'/>
<id>3f1d09f3b5b86157ccf9f47eef69a065be6153a4</id>
<content type='text'>
* improved 'thickbox' plugin to use 'jquery-1.9.x';
* upgraded 'SheetDefault.html', 'NewDeleteIndex.html' and other pages
  to use 'jquery-1.9.x';
* improved 'IndexDesc.html' to deal with the problem of no related
  annotation found;

* 'indicator.tools.get_record()' added param 'number', and updated
  the format of return data;
* added 'get_num_record()' and 'get_num_record_std()' to
  'indicator.tools';
* improved 'indicator.views.ajax_get_card_data_chart()',
  now can get data by 'num' or by 'date';
* improved 'indicator.views.ajax_get_card_data_table()',
  to provide the needed data requested from 'detail_card';
* improved js function 'chart_getdata_draw()' in 'SheetDefault.html';
* 'card_chart.js': renamed 'redraw_chart()' to
  'detail_chart_getdata_draw()', and updated to get data by type;
* updated 'table' of 'detail_card' in 'SheetDefault.html';
* improved js function 'get_card_data_table()' for providing and
  displaying record data in 'detail_card' table.

TODO:
* add/delete/edit record data
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* improved 'thickbox' plugin to use 'jquery-1.9.x';
* upgraded 'SheetDefault.html', 'NewDeleteIndex.html' and other pages
  to use 'jquery-1.9.x';
* improved 'IndexDesc.html' to deal with the problem of no related
  annotation found;

* 'indicator.tools.get_record()' added param 'number', and updated
  the format of return data;
* added 'get_num_record()' and 'get_num_record_std()' to
  'indicator.tools';
* improved 'indicator.views.ajax_get_card_data_chart()',
  now can get data by 'num' or by 'date';
* improved 'indicator.views.ajax_get_card_data_table()',
  to provide the needed data requested from 'detail_card';
* improved js function 'chart_getdata_draw()' in 'SheetDefault.html';
* 'card_chart.js': renamed 'redraw_chart()' to
  'detail_chart_getdata_draw()', and updated to get data by type;
* updated 'table' of 'detail_card' in 'SheetDefault.html';
* improved js function 'get_card_data_table()' for providing and
  displaying record data in 'detail_card' table.

TODO:
* add/delete/edit record data
</pre>
</div>
</content>
</entry>
<entry>
<title>med 'indicator/static/javascripts/load_card.js' to 'card_chart.js</title>
<updated>2013-08-20T23:55:06+00:00</updated>
<author>
<name>Alvin Li</name>
<email>liweitianux@gmail.com</email>
</author>
<published>2013-08-20T23:55:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.liwt.net/97dev.git/commit/?id=3ef1e03e4273544cce177ce7fa0e0ab75eded990'/>
<id>3ef1e03e4273544cce177ce7fa0e0ab75eded990</id>
<content type='text'>
* set Highcharts global options in 'card_chart.js'
* 'indicator/templates/indicator/SheetDefault.html':
  added js function 'chart_getdata_draw()' to draw chart for card
* improved 'indicator.views.ajax_get_card_data_chart()'
* implemented drawing chart for 'FLOAT_TYPE' and 'RANGE_TYPE' indicators
* added datetime plugin 'momentjs':
  'indicator/static/plugins/moment/', version 2.1.0
* 'indicator/templates/indicator/NewDeleteIndex.html':
  added link button to goto 'indicator_status' SheetDefault.html page
* added option 'useHTML: true' for Highcharts; improved the display
  style of ylabels, if value &gt;9999, then show in exponential notation
* improved drawing of 'detail_chart', and the 'detail_card_info'
* moved js global var to 'SheetDefault.html';
  renamed var 'card_detail_id' to 'detail_card_id'
* fixed js local variables problem; added 'var' keyword
* added check of 'date' for 'indicator.models.IndicatorRecord'
* ThickBox: removed param 'no1_title' from thickbox popup page's url
  placed the param 'card_id' before 'TB_iframe'
* changed to use 'ANNOTATION_TYPES' for 'sciblog.models.BlogAnnotation'
* improved 'indicator/templates/indicator/popup/IndexDesc.html'
  improved 'indicator.views.indicator_indexdesc()'
* added 'sympy' to 'env/requirements.pip'

TODO:
* BlogAnnotation: 'get_absolute_url()' -&gt; 'IndexDesc: go_library_btn'
* detail_card_info: data table
* Data input/edit form, and validate &amp; submit
* Highcharts xAxis labels problem ??
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* set Highcharts global options in 'card_chart.js'
* 'indicator/templates/indicator/SheetDefault.html':
  added js function 'chart_getdata_draw()' to draw chart for card
* improved 'indicator.views.ajax_get_card_data_chart()'
* implemented drawing chart for 'FLOAT_TYPE' and 'RANGE_TYPE' indicators
* added datetime plugin 'momentjs':
  'indicator/static/plugins/moment/', version 2.1.0
* 'indicator/templates/indicator/NewDeleteIndex.html':
  added link button to goto 'indicator_status' SheetDefault.html page
* added option 'useHTML: true' for Highcharts; improved the display
  style of ylabels, if value &gt;9999, then show in exponential notation
* improved drawing of 'detail_chart', and the 'detail_card_info'
* moved js global var to 'SheetDefault.html';
  renamed var 'card_detail_id' to 'detail_card_id'
* fixed js local variables problem; added 'var' keyword
* added check of 'date' for 'indicator.models.IndicatorRecord'
* ThickBox: removed param 'no1_title' from thickbox popup page's url
  placed the param 'card_id' before 'TB_iframe'
* changed to use 'ANNOTATION_TYPES' for 'sciblog.models.BlogAnnotation'
* improved 'indicator/templates/indicator/popup/IndexDesc.html'
  improved 'indicator.views.indicator_indexdesc()'
* added 'sympy' to 'env/requirements.pip'

TODO:
* BlogAnnotation: 'get_absolute_url()' -&gt; 'IndexDesc: go_library_btn'
* detail_card_info: data table
* Data input/edit form, and validate &amp; submit
* Highcharts xAxis labels problem ??
</pre>
</div>
</content>
</entry>
<entry>
<title>* improved 'indicator.views.follow_indicator()',</title>
<updated>2013-08-17T16:52:06+00:00</updated>
<author>
<name>Alvin Li</name>
<email>liweitianux@gmail.com</email>
</author>
<published>2013-08-17T16:52:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.liwt.net/97dev.git/commit/?id=9d07e8a26657542c98535abb7812d83a98839918'/>
<id>9d07e8a26657542c98535abb7812d83a98839918</id>
<content type='text'>
  renamed to 'indicator_fanduf()' due to name conflict
* finished 'search' function for page indicator NewDeleteIndex.html
* added 'apps/utils/search_tools.py': some tools to process search results
* renamed 'sciblog/templatetags/tools.py' to 'get_range.py'
* added 'format_data()' to indicator.tools': to format data of
  record/confine, make it properly display in html page;
* 'indicator/javascripts/new_delete_index.js':
  added global 'var added_indexes_id' to track the already added indexes
* added 'indicator/templatetags/divisible_by.py' filter to check
  if a number can be extactly divide by another number;
* fixed the 'index_card_fir/index_card_sec' problem of
  'act_card_container' of page 'SheetDefault.html'
* indicator/static/css/new_delete_index.css:
  added 'index_search_error' and 'index_error'

* fixed 'unit.dump' problems in 'indicator.models'
* 'indicator.tools':
  o added 'RI_TYPES', 'RI_WEIGHTS'
  o added 'type' in the return value of 'calc_indicator_weight()'
    and 'recommend_indicator()'
* added field 'followedHistories' in 'indicator.models.UserIndicator'
* moved 'follow_indicator()' and 'unfollow_indicator()' from
  'indicator.views' to 'indicator.tools'

TODO:
* highcharts: draw chart for indicator records;
* add/edit data, and submit (page format design)
* followed indicator submit buttion
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
  renamed to 'indicator_fanduf()' due to name conflict
* finished 'search' function for page indicator NewDeleteIndex.html
* added 'apps/utils/search_tools.py': some tools to process search results
* renamed 'sciblog/templatetags/tools.py' to 'get_range.py'
* added 'format_data()' to indicator.tools': to format data of
  record/confine, make it properly display in html page;
* 'indicator/javascripts/new_delete_index.js':
  added global 'var added_indexes_id' to track the already added indexes
* added 'indicator/templatetags/divisible_by.py' filter to check
  if a number can be extactly divide by another number;
* fixed the 'index_card_fir/index_card_sec' problem of
  'act_card_container' of page 'SheetDefault.html'
* indicator/static/css/new_delete_index.css:
  added 'index_search_error' and 'index_error'

* fixed 'unit.dump' problems in 'indicator.models'
* 'indicator.tools':
  o added 'RI_TYPES', 'RI_WEIGHTS'
  o added 'type' in the return value of 'calc_indicator_weight()'
    and 'recommend_indicator()'
* added field 'followedHistories' in 'indicator.models.UserIndicator'
* moved 'follow_indicator()' and 'unfollow_indicator()' from
  'indicator.views' to 'indicator.tools'

TODO:
* highcharts: draw chart for indicator records;
* add/edit data, and submit (page format design)
* followed indicator submit buttion
</pre>
</div>
</content>
</entry>
<entry>
<title>* updated 'indicator.views' for front pages</title>
<updated>2013-08-15T08:25:51+00:00</updated>
<author>
<name>Alvin Li</name>
<email>liweitianux@gmail.com</email>
</author>
<published>2013-08-15T08:25:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.liwt.net/97dev.git/commit/?id=156b10363c5a1049571e6c1d88597309c7ceab49'/>
<id>156b10363c5a1049571e6c1d88597309c7ceab49</id>
<content type='text'>
* use 'render' instead of 'render_to_response'
* updated 'indicator/templates/indicator/NewDeleteIndex.html' to
  show all indicators and followed indicators
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* use 'render' instead of 'render_to_response'
* updated 'indicator/templates/indicator/NewDeleteIndex.html' to
  show all indicators and followed indicators
</pre>
</div>
</content>
</entry>
<entry>
<title>* added 'templates/search/search.html'</title>
<updated>2013-08-13T16:05:31+00:00</updated>
<author>
<name>Alvin Li</name>
<email>liweitianux@gmail.com</email>
</author>
<published>2013-08-13T16:05:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.liwt.net/97dev.git/commit/?id=bb095adf76bddc2f6c5925bcdebb52bff75e6578'/>
<id>bb095adf76bddc2f6c5925bcdebb52bff75e6578</id>
<content type='text'>
* updated haystack settings
* updated 'static' files settings
* added 'search function' for 'apps/indicator': IndicatorCategory, Indicator
* merged static files of '97suifang-front' by 'mjymjydark'
* merged pages of '97suifang-front' by 'mjymjydark'
* updated pages to use 'django templates syntax' for the static links

TODO:
to fix the 'static links' of 'indicator/static/javascripts/*.js'
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* updated haystack settings
* updated 'static' files settings
* added 'search function' for 'apps/indicator': IndicatorCategory, Indicator
* merged static files of '97suifang-front' by 'mjymjydark'
* merged pages of '97suifang-front' by 'mjymjydark'
* updated pages to use 'django templates syntax' for the static links

TODO:
to fix the 'static links' of 'indicator/static/javascripts/*.js'
</pre>
</div>
</content>
</entry>
</feed>
