Commit Graph

98 Commits

Author SHA1 Message Date
Bridger Maxwell
b69deb698d Got the view page of the wiki rendering. Most of it is a styling mess. 2012-06-29 12:05:55 -04:00
Bridger Maxwell
8002644436 Added migrations for simplewiki. It is a tricky one to apply. Don't attempt at home. 2012-06-28 15:58:11 -04:00
Bridger Maxwell
2a9a15ad66 Beginning to port wiki to multicourse. (Unstable) 2012-06-28 15:11:00 -04:00
Bridger Maxwell
ef3afda283 Slash at the end of courses/ is now optionally there. 2012-06-28 14:01:19 -04:00
Bridger Maxwell
3386031fea Moved more pieces of the about page to live in the course data directory. 2012-06-28 12:58:04 -04:00
Bridger Maxwell
fc1eeb08e3 Still working on making sections of the course about page dynamic. 2012-06-28 11:24:39 -04:00
Bridger Maxwell
dfc2a35442 First pass at putting dyanamic content from data on course about page. 2012-06-27 18:31:39 -04:00
Galen Frechette
38425e9b9c adds styles back to courseware 2012-06-27 15:55:22 -04:00
Matthew Mongeau
56d5e54150 Hook up about and jobs pages. Use named route for root. 2012-06-27 13:52:49 -04:00
Galen Frechette
4715c69c36 redesigns course item on home page and find courses page, refactors its implimentation and makes vrious other design improvements 2012-06-26 23:26:12 -04:00
Matthew Mongeau
a681eed8a4 Fix additional urls. 2012-06-26 17:46:37 -04:00
Matthew Mongeau
b8d50e51ee Course navigation work 2012-06-26 17:23:16 -04: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
Galen Frechette
cd8051fb14 cleans up signed in users navigation 2012-06-21 17:51:37 -04:00
Galen Frechette
9bcdcec6ae adds about and jobs pages, cleans up header and login modal 2012-06-21 14:47:04 -04:00
Matthew Mongeau
9d0c52dfc4 Remove course title to clean up header. 2012-06-21 14:01:43 -04:00
Matthew Mongeau
7bd0296b9c Direct form to /courses not /info 2012-06-21 11:12:59 -04:00
Matthew Mongeau
9202c1e2cc Redirect to /courses instead of /info 2012-06-21 11:05:32 -04:00
David Ormsbee
4239a0b308 add courses to front page 2012-06-21 11:05:32 -04:00
David Ormsbee
014109ab1a add corresponding view to new courseware url route :-P 2012-06-21 11:05:32 -04:00
David Ormsbee
d82b32b3e2 add url route to new courseware 2012-06-21 11:05:32 -04:00
David Ormsbee
a32aeac013 Add info page support with multiple courses 2012-06-21 11:05:31 -04:00
David Ormsbee
7e82f3243f Add scanning of data directory for courses.
These are then displayed at /courses.
2012-06-21 11:05:31 -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
2723f0519d Fix render of lms index with no chapter or section. 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
Victor Shnayder
4a6722778e remove obsolete comment 2012-06-21 11:05:30 -04:00
Victor Shnayder
40871e0eed Fix accordion rendering bug
* needed to clean the chapter and section vars before rendering
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
Calen Pennington
d147638d07 Switch the cms over to using django-pipeline 2012-06-21 11:05:29 -04:00
Calen Pennington
d8d22ea57b Make tests pass when running on cms 2012-06-21 11:05:27 -04:00
Victor Shnayder
2aa6193a00 put lambda function back in, as requested during code review 2012-06-21 11:05:27 -04:00
Piotr Mitros
0a7542c281 Courseware can have same random seed in multiple problems for exam. Slight hack. 2012-06-21 11:05:26 -04:00
Victor Shnayder
d485b9be9e Small cleanups in response to Calen + Piotr's comments 2012-06-21 11:05:26 -04:00
Victor Shnayder
7358b01cc4 Clean and refactor courseware/views.py and module_render.py
* Refactor index() so that it makes sense to me and hopefully others :)
* Rename preloaded cache of student modules to student_module_cache
* Fix line length and whitespace throughout
* add docstrings and other comments
* a few behavior-preserving tweaks to the code to make it clearer.
* Separate codepaths for with-module and without-module in index view
* Remove default chapter + section, since they don't exist anyway in course.xml
2012-06-21 11:05:26 -04:00
Victor Shnayder
30f6db8e20 fix typo in comment in student view 2012-06-21 11:05:25 -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
Victor Shnayder
0a66d0eab9 clarify docstring for modx_dispatch 2012-06-21 11:05:23 -04:00
Victor Shnayder
53078665ee add README.md for dogfood 2012-06-21 11:05:23 -04:00
Victor Shnayder
e013837ab1 add function docs to module_render.py 2012-06-21 11:05:23 -04:00