Commit Graph

40 Commits

Author SHA1 Message Date
Calen Pennington
c140fe8766 Get problem execution working with problems read from keystore 2012-06-29 12:42:48 -04:00
Calen Pennington
2011861444 Get capa problems to display from a keystore 2012-06-29 12:42:48 -04:00
Calen Pennington
de07b8b345 Begin using a Keystore for XML parsing. Still broken: sequence icons, custom tags, problems, video js 2012-06-29 12:40:50 -04:00
Prem Sichanugrist
4db0a70166 Fix code convention 2012-06-26 16:35:44 -04:00
Prem Sichanugrist
4580ef89d4 Queue up MathML conversion to be after render
From https://www.pivotaltracker.com/story/show/31700967
Fixes #137
2012-06-26 16:35:44 -04:00
Prem Sichanugrist
7475e415a4 Fix test failure after progress introduction 2012-06-26 16:35:44 -04:00
Kyle Fiedler
6c95bfc175 Fix hover on textbook buttons 2012-06-26 15:18:17 -04:00
Kyle Fiedler
fc81cf75c1 fixed padding issue on seq nav 2012-06-26 14:56:28 -04:00
David Ormsbee
084c4875be Merge pull request #144 from MITx/kf-seq-nav
Added new styles for the sequence nav including completeness
2012-06-26 11:34:54 -07:00
David Ormsbee
2ec12f59c7 Merge pull request #145 from MITx/kf-sidebar-buttons
Added fix for the sidebar buttons in the courseware
2012-06-26 11:34:36 -07:00
Kyle Fiedler
10c1270b8a Added fix for the sidebar buttons in the courseware 2012-06-26 14:31:04 -04:00
Kyle Fiedler
aee2cf4ed5 Added new styles for the sequence nav including completeness 2012-06-26 14:09:57 -04:00
Prem Sichanugrist
3f9554f20b Merge pull request #141 from MITx/ps-player-slider
Scroll the caption upon video seeking
2012-06-26 07:32:06 -07:00
Prem Sichanugrist
05f4e4fb38 Scroll the caption upon video seeking 2012-06-25 12:22:37 -04:00
Kyle Fiedler
9e8f20104c added styles for ol in html units 2012-06-22 11:17:31 -04:00
Kyle Fiedler
82023f6bd3 Added styles for more basic html elements and reworked design of textinput 2012-06-21 15:41:36 -04:00
Kyle Fiedler
184d0ab038 added styles for lists and paragraphs in problems 2012-06-21 15:41:36 -04:00
Victor Shnayder
5e7535fbfb Progress tracking cleanup.
* use clearer names for the two status strings passed to js
* add functions to do canonical conversion of progress to js string
* fix updating bug in sequence.coffee
* add some todo comments and other docs to make future expansion easier
2012-06-20 16:04:03 -04:00
Victor Shnayder
85bee9b42b Initial UI for sequence progress.
* change bottom border of links:
  red for not started
  yellow for in_progress
  green for done

* This should probably be designed at some point.
* Obvious problems: the yellow is not very visible, and lots of people are
  red/green color-blind.
2012-06-20 16:04:03 -04:00
Calen Pennington
215085345c Fix other references to jquery after update to latest version 2012-06-20 15:06:49 -04:00
Victor Shnayder
b963d8b534 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-19 18:28:45 -04:00
Prem Sichanugrist
afaed83158 Update jQuery and jQuery-UI to latest version 2012-06-19 14:31:00 -04:00
Calen Pennington
40a950f152 Merge pull request #105 from MITx/ps-video-volume
Add video volume control to video player
2012-06-18 09:02:02 -07:00
Prem Sichanugrist
01ca43346f Use existential operator 2012-06-14 12:16:29 -04:00
Kyle Fiedler
ed69957f62 Added volume images 2012-06-13 15:32:39 -04:00
Kyle Fiedler
b97f82df8f Added some styles to clean up volume slider 2012-06-13 15:32:38 -04:00
Prem Sichanugrist
98ed738490 Make sure we don't show volume control on iOS 2012-06-13 15:32:38 -04:00
Prem Sichanugrist
7924e5c8f5 Add video volume control to video player 2012-06-13 15:32:38 -04:00
Prem Sichanugrist
e14563954a Be specific on video progress slider handle
Using `.ui-slider-handle` was too broad.
2012-06-13 15:32:38 -04:00
Prem Sichanugrist
0f073f70c4 Create Calculator and Feedback form on every page 2012-06-13 14:56:48 -04:00
Calen Pennington
967a6ee2e7 Merge pull request #94 from MITx/capa-cleanup
Capa cleanup
2012-06-12 12:26:49 -07:00
Prem Sichanugrist
8e98e59cfa Cleanup show answer code 2012-06-12 14:10:00 -04:00
ichuang
35202817d5 problem.coffee : queue mathjax typesetting just once 2012-06-12 14:07:48 -04:00
Prem Sichanugrist
b4ed14f4f7 Handle the case where histogram score can be null
This will leave out the student that never attempt the question and
fixes the error with histogram rendering.
2012-06-11 16:07:09 -04:00
Prem Sichanugrist
eb70ef4c07 Directly call toggleArrow in sequence render
There might be a chance that an error got thrown after 'contentChanged'
event was fired and stop the `toggleArrow()` method to be called. This
will make sure that the navigation will still be working even some
element in the content is failed.
2012-06-11 16:03:22 -04:00
ichuang
58e359e7ec problem.coffee change: show answer -> also show solution_* & do mathjax typeset 2012-06-10 20:04:30 -04:00
ichuang
46b45969d0 first pass in capa cleanup:
- responsetype used to be instantiated multiple times(!) in capa_problem
     now it is instantiated once, and stored in self.responders
   - responsetypes.GenericResponse restructured; each superclass
     show now provide setup_response (and not __init__), and may
     provide get_max_score(); general __init__ provided to
     clean up superclasses.
2012-06-09 18:36:27 -04:00
Prem Sichanugrist
ac4f09ac4e Replace dynamite code with tested version 2012-06-08 11:16:03 -04:00
Calen Pennington
fa42022ea7 Fixing another static files link 2012-06-06 14:15:33 -04:00
Calen Pennington
5ba03130aa Moving LMS code into subdirectory 2012-06-06 14:09:01 -04:00