Commit Graph

6 Commits

Author SHA1 Message Date
Victor Shnayder
04dd8ee6d1 Initial progress display.
* add module_from_xml param to I4xSystem
* use it to implement xmodule.get_children()
* fix a few comments here and there
* Render-time progress display for seq and vertical modules.
  - Computes fraction of subproblems done.
* Pass problem state back to js during ajax calls.
* general cleanup in capa_module.py
* add progress_changed and progress fields to json returned from each ajax handler

* Coffeescript changes to hook up sequence tracking of problem progress

* net result: sequence 'a' tags now have a progress class
* properly set css class on initial load
* fire event when progress changes after ajax calls
* also save state in 'progress' property of problems-wrapper tag
* event handler finds those tags, computes updated progress
2012-06-21 10:59:47 -04:00
Calen Pennington
82898978fa Cleanup intertwined descriptor and keystore code 2012-06-21 10:59:46 -04:00
Calen Pennington
da71515bfa Add categories and XModuleDescriptors for all module types that are used at the top level of a course 2012-06-21 10:59:43 -04:00
Calen Pennington
bb2910fce5 Read week headings from mongodb 2012-06-21 10:59:43 -04:00
Calen Pennington
4a0969df9d Move tests for xmodules into the xmodule library, and make them run without django 2012-06-07 10:46:10 -04:00
Calen Pennington
91b306b35a Moving capa and xmodule out of djangoapps/courseware, and removing django references from them 2012-06-06 14:15:32 -04:00