cahrens
50128cfb5c
Convert edit_subsection, edit_unit, and publishing to RESTful URLs.
...
STUD-844
2013-11-25 13:55:33 -05:00
cahrens
a170c6f4e7
Change save_item and create_item to RESTful URL.
...
Part of STUD-847.
2013-11-14 11:03:31 -05:00
cahrens
16766a5ee9
Change delete_item to RESTful URL.
...
Part of STUD-847.
2013-11-06 13:49:24 -05:00
cahrens
61cfb91218
Cleanup to drag and drop implementation.
...
Also includes RequireJS changes.
Fixes bugs:
STUD-755, STUD-152, STUD-700, STUD-699
2013-10-07 17:18:40 -04:00
Peter Fogg
a0deac0399
Make all of section/subsection/unit draggable.
2013-10-07 17:17:46 -04:00
Peter Fogg
2d3cba06d2
Rework course overview drag and drop.
...
Failed drags bring the element back to where it started; elements are
locked to the y-axis, states are represented as CSS classes for
styling, elements can be dragged across section/subsection borders,
and dragging to the top/bottom of a section Just Works™.
Needs some styling love to give visual representation of where the
dragged element will drop, though.
TODO: It'd be good to have auto expand/collapse for subsections.
2013-10-07 17:17:46 -04:00
Calen Pennington
8201b1412e
Use XBlock 0.3
2013-09-06 09:45:59 -04:00
Don Mitchell
3722685e1a
No longer persist XModule templates
...
Instead, we use XModule field default values when creating an empty
XModule. Driven by this use case, we also allow for XModules to be
created in memory without being persisted to the database at all. This
necessitates a change to the Modulestore api, replacing clone_item with
create_draft and save_xmodule.
2013-07-16 14:33:58 -04:00
Calen Pennington
93db5acc15
Make display_name defaulting explicit
2013-03-08 14:58:09 -05:00
Calen Pennington
cbfc7b201a
WIP more changes to model definitions. Next Up: actually wiring model data into the rdbms
2012-12-28 14:44:31 -05:00
Brian Talbot
e4f4f32c1b
tooltips - removed duplicate/incorrect tooltip_manager.js reference in base.html and added tooltips to unit actions
2012-12-14 15:18:45 -05:00
Chris Dodge
1a6845b07f
optimize slightly, allow caller to pass in the list of units in a subsection, so we don't have to refetch
2012-10-17 16:17:52 -04:00
Tom Giannattasio
c3bffe3e21
update name in unit location pane whenever display name is changed
2012-10-15 13:04:06 -04:00
Calen Pennington
bd5d5f1419
Make location view state update as the state changes on the unit page
2012-10-10 12:49:52 -04:00
Chris Dodge
95e15c4455
time/date setting on Release Date and Due date
2012-10-05 13:17:51 -04:00
Chris Dodge
fe42f6fd22
address pull request feedback
2012-10-04 14:00:25 -04:00
Chris Dodge
48d84c2e3d
support reordering of units inside subsection list
2012-10-04 13:44:46 -04:00
Chris Dodge
322c4c0ba6
Merge branch 'feature/cale/cms-master' of github.com:MITx/mitx into feature/cdodge/subsection-edit-page
...
Conflicts:
cms/djangoapps/contentstore/views.py
cms/templates/widgets/units.html
2012-10-04 11:03:37 -04:00
Chris Dodge
45b82f3a45
update creating a new unit to use an empty template. Also twiddle the units.html and base.js where we put the unit Location on the <li> element
2012-10-04 10:58:48 -04:00
Chris Dodge
5390a19fc0
delete unit in overview and subsection_edit pages
2012-10-03 16:19:14 -04:00
Calen Pennington
55d6aff4c1
Wire up the unit location display
2012-10-03 14:54:17 -04:00
Chris Dodge
ca3aecd6ad
add subsection edit page to the project with a shared 'unit' widget that will render out unit lists. Both edit_subsection and overview.html will share this widget
2012-10-03 14:07:21 -04:00