Commit Graph

5315 Commits

Author SHA1 Message Date
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
Galen Frechette
a63a93873f various ui tweeks 2012-06-25 17:47:36 -04:00
Galen Frechette
915810d457 cleans up alignment of login and signup modals 2012-06-25 14:18:01 -04:00
Galen Frechette
1d7b30159b adds signup modal 2012-06-25 13:53:10 -04: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
Galen Frechette
cd8051fb14 cleans up signed in users navigation 2012-06-21 17:51:37 -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
Galen Frechette
9bcdcec6ae adds about and jobs pages, cleans up header and login modal 2012-06-21 14:47:04 -04:00
Victor Shnayder
3961a5d8ca 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-21 11:05:31 -04:00
Victor Shnayder
17f8d04c28 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-21 11:05:31 -04:00
Calen Pennington
c35eb20e08 Fix other references to jquery after update to latest version 2012-06-21 11:05:31 -04:00
Victor Shnayder
b5368f2a4f 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 11:05:30 -04:00
Prem Sichanugrist
3e2031cd43 Update jQuery and jQuery-UI to latest version 2012-06-21 11:05:30 -04:00
Prem Sichanugrist
8dc28549c2 Use existential operator 2012-06-21 11:05:25 -04:00
Kyle Fiedler
2d97c0fc05 Added volume images 2012-06-21 11:05:25 -04:00
Kyle Fiedler
66b2e58fc9 Added some styles to clean up volume slider 2012-06-21 11:05:25 -04:00
Prem Sichanugrist
8fc84000a8 Make sure we don't show volume control on iOS 2012-06-21 11:05:24 -04:00
Prem Sichanugrist
19e97de0fb Add video volume control to video player 2012-06-21 11:05:24 -04:00
Prem Sichanugrist
e04329f486 Be specific on video progress slider handle
Using `.ui-slider-handle` was too broad.
2012-06-21 11:05:24 -04:00
Prem Sichanugrist
64b4a4a0fe Create Calculator and Feedback form on every page 2012-06-21 11:05:24 -04:00
Prem Sichanugrist
59a13e861b Cleanup show answer code 2012-06-21 11:05:22 -04:00
ichuang
e4cf0ac835 problem.coffee : queue mathjax typesetting just once 2012-06-21 11:05:22 -04:00
ichuang
21e2ebee8b problem.coffee change: show answer -> also show solution_* & do mathjax typeset 2012-06-21 11:05:19 -04:00
ichuang
b8408a1529 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-21 11:05:19 -04:00
Matthew Mongeau
6297e1df23 wip modal 2012-06-21 11:05:18 -04:00
Galen Frechette
78b0e86334 cleans up login modal and adds js for toggling login modal 2012-06-20 18:37:07 -04:00
Galen Frechette
ec1510ca52 adds login modal 2012-06-20 16:20:31 -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
Galen Frechette
94886643b0 gets app completly uptodate with prototype 2012-06-20 14:37:37 -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
Matthew Mongeau
e048b3251d Get dropdown working 2012-06-14 14:19:47 -04:00
Prem Sichanugrist
01ca43346f Use existential operator 2012-06-14 12:16:29 -04:00
Matthew Mongeau
86826f8688 Integrate more pages. 2012-06-14 11:27:47 -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