Commit Graph

55 Commits

Author SHA1 Message Date
Calen Pennington
2554413291 Hook up link to create modules from templates 2012-09-25 10:10:44 -04:00
Chris Dodge
e6445ceaa0 adjust implementation to reflect feedback from Calen. Also limit the jQuery selection to be within the metadata-edit region, just to avoid picking up other elements decorated with that attribute 2012-09-24 13:03:34 -04:00
Chris Dodge
d51f127afa work-in-progress: As a problem author, I would like to be able to edit module metadata 2012-09-21 14:29:19 -04:00
Calen Pennington
d7cbd1c814 Don't do extra json conversion/de-conversion for data/children going to the cms 2012-09-18 15:07:35 -04:00
Calen Pennington
bb06a926bb Make saving also save the children in the #sortable element (TODO: name the #sortable element better) 2012-09-18 13:19:30 -04:00
Victor Shnayder
523cb334a0 Hook up reordering children in the browser.
* NOTE: the new order is NOT saved to the server!
2012-08-08 13:15:05 -04:00
Victor Shnayder
77175872cc Fix some of the CMS jasmine tests.
* still a few that I haven't tracked down...
2012-08-08 13:14:54 -04:00
Calen Pennington
85adfde1f2 Update previews after a module is saved 2012-07-24 16:14:05 -04:00
Calen Pennington
408726e678 Standardize how JS XModules are instantiated 2012-07-24 16:14:04 -04:00
Calen Pennington
8481937f59 Move Logger and *withPrefix javascript into a common location 2012-07-24 16:14:03 -04:00
Calen Pennington
61446b0544 Make javascript for video previews work correctly 2012-07-24 16:14:01 -04:00
Calen Pennington
5f86fcfbff Standardize how Problem and Video modules are loaded in the LMS and CMS preview pane 2012-07-24 16:14:00 -04:00
Calen Pennington
4798c596f0 Load preview modules with actual preview elements 2012-07-24 16:14:00 -04:00
Calen Pennington
230dd88afd Add global methods used by video module to CMS 2012-07-24 16:14:00 -04:00
Calen Pennington
2d570f7c54 Load preview modules when a cms edit page is opened 2012-07-24 16:14:00 -04:00
Calen Pennington
15ac476781 Display preview html on the module edit page. Javascript for previews doesn't yet function 2012-07-24 15:05:07 -04:00
Calen Pennington
6d246f0685 Merge remote-tracking branch 'origin/master' into ps-cms-backbone
Conflicts:
	cms/djangoapps/contentstore/views.py
	cms/static/coffee/unit.coffee
	cms/templates/index.html
	cms/templates/widgets/sequence-edit.html
2012-07-10 08:55:45 -04:00
Prem Sichanugrist
9dc5cddeb7 Move vendored js files into js/vendor/ 2012-07-06 12:07:21 -04:00
Prem Sichanugrist
07aae06d30 Remove unnecessary fat arrow 2012-07-06 11:52:10 -04:00
Prem Sichanugrist
b8fd728e06 Pass in element in CMS.start() instead 2012-07-06 11:33:37 -04:00
Prem Sichanugrist
289599733d Make it more obvious that the function is no-op 2012-07-06 11:33:00 -04:00
Prem Sichanugrist
f71e54cc9b Removed unused Week Model 2012-07-06 11:28:02 -04:00
Prem Sichanugrist
2a36fee493 Prevent default click event on links 2012-07-06 00:38:26 -04:00
Prem Sichanugrist
95cf25c1dc Fix quote convention in tests 2012-07-06 00:35:00 -04:00
Prem Sichanugrist
9ba624683d Update Views.ModuleEdit, also added test 2012-07-06 00:32:50 -04:00
Prem Sichanugrist
dd3ddeb946 CMS.Views.Week is tested 2012-07-06 00:05:08 -04:00
Prem Sichanugrist
b11b916906 CMS.Views.Course fixed and tested 2012-07-05 23:40:40 -04:00
Prem Sichanugrist
4d4a856c4b CMS.Views.Module tested 2012-07-05 22:51:08 -04:00
Prem Sichanugrist
4d29c311c7 CMS.Views.WeekEdit tested 2012-07-05 22:50:23 -04:00
Prem Sichanugrist
8979b993ef Add blank spec for CMS.Models.Week 2012-07-05 21:33:19 -04:00
Prem Sichanugrist
fe17c37783 CMS.Models.Module tested 2012-07-05 21:31:32 -04:00
Prem Sichanugrist
68bb8d5874 Patch window.it to raise error on pending tests 2012-07-05 21:08:09 -04:00
Prem Sichanugrist
d6c033d675 main.coffee/CMS module tested 2012-07-05 19:42:10 -04:00
Prem Sichanugrist
f60af340ea Add Jasmine suite to CMS 2012-07-05 18:44:56 -04:00
Prem Sichanugrist
a86c84a4c5 Use Backbone's render convention instead 2012-07-05 17:21:27 -04:00
Prem Sichanugrist
9cb24ccc77 Remove unneeded trigger 2012-07-05 16:23:04 -04:00
Prem Sichanugrist
8cef4f4221 Pass in the model into the view when create it 2012-07-05 15:25:37 -04:00
Prem Sichanugrist
a9aa5d9ea0 Update code base on changes in master 2012-07-05 15:25:04 -04:00
Prem Sichanugrist
b533ab481a Remove old JavaScript files 2012-07-05 09:38:51 -04:00
Prem Sichanugrist
29e69db0dc Implement HTML module save 2012-07-05 09:38:51 -04:00
Prem Sichanugrist
5c85412dfa Nested subview is working 2012-07-05 09:38:51 -04:00
Prem Sichanugrist
8a91616aab Implement viewStack to support nested view 2012-07-05 09:38:51 -04:00
Prem Sichanugrist
a7dc045f36 External module loading 2012-07-05 09:38:50 -04:00
Prem Sichanugrist
7c044aa18a Correctly hide the content when cancel 2012-07-05 09:38:50 -04:00
Prem Sichanugrist
b46f6a6d9c Section editing interface is now working 2012-07-05 09:38:50 -04:00
Calen Pennington
d99d98670e Point at root url for save_item 2012-07-03 18:57:35 -04:00
Calen Pennington
e9a00ffc5a Parse XModuleDescriptors on import using from_xml
Also:
Render all XModuleDescriptors in the cms the same way
Default them to editing raw xml, if there is no specific module for them
2012-06-26 11:56:21 -04:00
Kyle Fiedler
656fa38944 Added wip class 2012-06-25 11:44:06 -04:00
Kyle Fiedler
3081258836 Refactored the css and fixed some smaller bugs 2012-06-25 11:21:24 -04:00
Calen Pennington
83b3d51fd2 Wire up the cancel button in the unit editor 2012-06-22 10:58:18 -04:00