Commit Graph

4005 Commits

Author SHA1 Message Date
Chris Dodge
e24dcaead6 initial subsection page converted from static HTML mockup 2012-10-03 10:44:20 -04:00
Calen Pennington
5e7699554e Merge pull request #803 from MITx/feature/tomg/cms-editing
code mirror styling and a few small tweaks
2012-10-03 07:20:52 -07:00
Tom Giannattasio
59c30ecdbc slightly smaller class names 2012-10-03 09:49:13 -04:00
Tom Giannattasio
f2be01fd8f removed visibility toggles; added private tag 2012-10-03 09:48:50 -04:00
Chris Dodge
fb204084a2 for get_all_content_info_for_course(), return a list of the MongoDB query rather than a cursor object. Also add some documentation (in a comment) as to what a caller should expect 2012-10-03 09:24:48 -04:00
Chris Dodge
eb7d6c656c use better encapsulation for the naming convention behind thumbnails. Put it all in content.py rather than view.py. 2012-10-03 09:17:18 -04:00
Chris Dodge
84bc81f7eb refactor StaticContent id scheme to be the same as moduledata. Also expose a new 'get all content for course' which will be needed to support a asset management page. 2012-10-03 09:07:09 -04:00
Tom Giannattasio
44d4a4b0d9 started asset library template -wip 2012-10-02 17:02:47 -04:00
Chris Dodge
a570702ae3 add a new subsection edit url map and reference it in the course summary page 2012-10-02 16:22:26 -04:00
Calen Pennington
70d9721d5b Merge pull request #805 from MITx/fix/cdodge/add-user-admin-permissions
allow 'is_staff' flagged user accounts to run as super-admin, which mean...
2012-10-02 09:56:52 -07:00
Chris Dodge
e3d065a66a allow 'is_staff' flagged user accounts to run as super-admin, which means belonging to all groups 2012-10-02 12:33:05 -04:00
Calen Pennington
f637cc5723 Merge pull request #800 from MITx/feature/tomg/cms-release-flow
private/public unit
2012-10-02 09:15:28 -07:00
Calen Pennington
91eb2cf983 Merge pull request #804 from MITx/fix/cdodge/cms-multiple-edit-save-bug
fix bug with editing HTML. The save() method should now return a diction...
2012-10-02 09:14:41 -07:00
Calen Pennington
aff44b1f11 Merge remote-tracking branch 'origin/master' into feature/cale/cms-master
Conflicts:
	cms/djangoapps/contentstore/views.py
2012-10-02 12:12:55 -04:00
Chris Dodge
a60ec13d3a fix bug with editing HTML. The save() method should now return a dictionary, not a string 2012-10-02 11:58:24 -04:00
Chris Dodge
425e840e7d in order to avoid using stale modules when editing, clear out the @module variable after a save(). Then on a subsequent edit, it'll get recreated 2012-10-02 11:37:27 -04:00
Chris Dodge
ad7771fe5a always load in a new instance of the edit module. It appeared as though on multiple edits (w/o refreshing page) without creating a new data model, we were always referencing stale content from the previous edit 2012-10-02 11:06:28 -04:00
Tom Giannattasio
76559af8f1 added wip tag to unit settings 2012-10-02 10:50:23 -04:00
Tom Giannattasio
423dbd17b5 new unit publish settings 2012-10-02 10:40:05 -04:00
chrisndodge
d108af8848 Merge pull request #799 from MITx/feature/cale/cms-codemirror-background
Feature/cale/cms codemirror background
2012-10-02 07:10:29 -07:00
chrisndodge
0cb9673b79 Merge pull request #798 from MITx/feature/cale/cms-new-component-ids
Feature/cale/cms new component ids
2012-10-02 07:00:54 -07:00
Calen Pennington
55542c1d47 Make editor display immediately, and with a white background 2012-10-02 09:42:19 -04:00
Calen Pennington
2accc77944 Adding more WIP 2012-10-02 09:22:00 -04:00
Tom Giannattasio
8478f7af64 styled course list page 2012-10-01 16:37:24 -04:00
Tom Giannattasio
8f0b068459 styled log in form 2012-10-01 16:30:28 -04:00
Tom Giannattasio
265ab4366f removed visibility toggle from subsections in overview 2012-10-01 16:15:19 -04:00
Tom Giannattasio
d2549b6346 fixed header styles 2012-10-01 16:11:04 -04:00
Calen Pennington
1d8d82b7fc Set id's on newly created components so that they are immediately editable 2012-10-01 16:06:18 -04:00
Tom Giannattasio
4d985dc0c7 added release button; cleaned up toggle button 2012-10-01 15:51:29 -04:00
Calen Pennington
d3a734d211 Insert new modules in front of the new component box 2012-10-01 15:46:44 -04:00
Calen Pennington
f4b8bfe428 Turn off dumping the course back into git 2012-10-01 15:32:29 -04:00
Calen Pennington
60e7914580 Add WIP markers 2012-10-01 15:28:12 -04:00
Calen Pennington
91fd6170b8 Make cloned items used uuid4 hexes for names, to ensure uniqueness. TODO: Make prettier names 2012-10-01 15:28:12 -04:00
Calen Pennington
aa0aa65301 Clean up unit.html with layout/css from tom 2012-10-01 15:28:12 -04:00
Calen Pennington
96a914216c Fix up overview page with new design mockup 2012-10-01 15:28:12 -04:00
Calen Pennington
2ad7b11f6a Make padding correct on unit page 2012-10-01 15:28:12 -04:00
Calen Pennington
bfeccd88f8 Enable creation of new components 2012-10-01 15:28:07 -04:00
Calen Pennington
805798600b Clean up display of templates 2012-10-01 15:19:35 -04:00
Calen Pennington
8ca10a8356 Separate unit page from vertical implementation for editing 2012-10-01 15:19:35 -04:00
Chris Dodge
f17b48fff3 fix problem introduced when rebasing master and manually resolving conflicts 2012-10-01 15:19:05 -04:00
Calen Pennington
82a28f069d Make overview page conform to section/subsection/unit format. Breaks CMS editing of existing courses 2012-10-01 15:18:50 -04:00
Calen Pennington
b305c0bae2 Make drag/drop save content immediately in seqs and verticals 2012-10-01 15:17:41 -04:00
Calen Pennington
fd7223bd87 Make editing work, building towards drag/drop saving 2012-10-01 15:17:41 -04:00
Calen Pennington
ce3638538c Make inline editing save to mongo and then update the preview 2012-10-01 15:17:41 -04:00
Calen Pennington
ff002e35c2 Limit the depth of items to display on the overview 2012-10-01 15:17:41 -04:00
Calen Pennington
dc062f5668 Make edit and delete buttons show up on cms unit editing page 2012-10-01 15:17:41 -04:00
Calen Pennington
f53217e523 Add padding around courseware content 2012-10-01 15:17:40 -04:00
Calen Pennington
05b9e6cab2 Standardize more of css between lms and cms 2012-10-01 15:17:40 -04:00
Calen Pennington
4381674ec5 Move common scss mixins to common/static/sass, and tweak the video player to have more in common between the cms and the lms 2012-10-01 15:17:40 -04:00
Calen Pennington
d240b5b1eb Consolidate bourbon and link to it from both cms and lms 2012-10-01 15:17:40 -04:00