Commit Graph

630 Commits

Author SHA1 Message Date
Valera Rozuvan
22014f7f58 New feature: Clicking on number for multiple icons on target will cycle all icons on target. Fixed bug with z-order ordering. 2013-01-21 15:56:35 +02:00
Valera Rozuvan
6d7cfe08df Slight UI modification. 2013-01-21 15:56:35 +02:00
Valera Rozuvan
15ffc1f64f New feature: added ability to define custom label background color. Upated demo to use this feature. Needs to be turned on Python side. 2013-01-21 15:56:35 +02:00
Valera Rozuvan
f92c0bdceb New feature: when the draggable is out of the slider container, if it has a label, the label will get a background. This way it is much easier to discern the label against the base image. 2013-01-21 15:56:34 +02:00
Valera Rozuvan
cd6e220ead Fixed annoying bug whre if you dragged any part of the base image or other parts of the Drag and Drop problem, then the browser would start highlighting the elements. 2013-01-21 15:56:34 +02:00
Valera Rozuvan
b7b25369e0 Added mouse event handlers to container of draggable. Now it is easier to initiate a dragging operation. 2013-01-21 15:56:34 +02:00
Valera Rozuvan
d531746236 Removed reliance on imageDir config setting. Now we expect the correct path to tbe set in XML. 2013-01-21 15:56:33 +02:00
Valera Rozuvan
a9e7890d6b Added correct handling of invalid (missing) base images. Now error is reported, and the damage is reduced to a minimum. 2013-01-21 15:56:32 +02:00
Valera Rozuvan
9817253850 Fixed problem with smaller and larger base images. Refactoring. Cleaning of code. 2013-01-21 15:56:32 +02:00
Valera Rozuvan
f283df9022 Cleaning up code. 2013-01-21 15:56:31 +02:00
Valera Rozuvan
ab95193252 Bugfixing. 2013-01-21 15:56:30 +02:00
Valera Rozuvan
17b01071d0 Fixed bug. 2013-01-21 15:56:30 +02:00
Valera Rozuvan
586a47a2ad Rewrote functionality to include labels as separate from the container. Fixed bugs. Refactoring. 2013-01-21 15:56:30 +02:00
Valera Rozuvan
1cc23e3a4d Bugfixing. 2013-01-21 15:56:29 +02:00
Valera Rozuvan
2e08ece7ff Fixed drag behavior. Now drag of icon itself rather than container element. This allows for finer selection (no overlap of transparent areas), and positioning of icon precisely onto a target. This breaks labels - TODO fix. 2013-01-21 15:56:29 +02:00
Valera Rozuvan
f1f3b2ea8b Slight UI design change. Draggables are now positioned in the center of their container DIV. 2013-01-21 15:56:27 +02:00
Valera Rozuvan
108b0fc384 Refactoring and code documentation. 2013-01-21 15:55:47 +02:00
Valera Rozuvan
58483319a3 Refactoring. 2013-01-21 15:55:47 +02:00
Valera Rozuvan
3abdd1801d Removed debug comments. 2013-01-21 15:55:47 +02:00
Valera Rozuvan
9ef0c563ef Slight changes in UI styling. 2013-01-21 15:55:47 +02:00
Valera Rozuvan
3bbe0759ea Added support for reading answer from input element (as set by server). 2013-01-21 15:55:47 +02:00
Valera Rozuvan
86d133664a Fixing bugs. Now resize of window does not mess up targets. Dragging is much smoother on touch pad. Removed border from draggable when it is not in slider. The whole applet fits into min-width of main part of page. 2013-01-21 15:55:46 +02:00
Alexander Kryklia
b45fe0e652 update format 2013-01-21 15:55:46 +02:00
Valera Rozuvan
f9169613fc Making JS work with the new XML format. 2013-01-21 15:55:46 +02:00
Valera Rozuvan
4268f04069 Updated JS part to use new XML format. 2013-01-21 15:55:46 +02:00
Valera Rozuvan
c5d4f54aa2 Slight changes to UI design. Part 2. 2013-01-21 15:55:45 +02:00
Valera Rozuvan
545b1bea24 Slight changes to UI design. 2013-01-21 15:55:45 +02:00
Valera Rozuvan
3048853749 Added ability to communicate with server via input element. Work in progress. Part 8. 2013-01-21 15:55:45 +02:00
Valera Rozuvan
c34fbbe19f Added support for individual targets. Work in progress. Part 7. 2013-01-21 15:55:45 +02:00
Valera Rozuvan
e842415194 Added ability to define targets on the target container. Work in progress. Part 6. 2013-01-21 15:55:45 +02:00
Valera Rozuvan
06f1c54fa7 Fix. Now the z index stack is consistent. 2013-01-21 15:55:44 +02:00
Valera Rozuvan
f0850f4c4b Updated JS to use latest JSON def. 2013-01-21 15:55:44 +02:00
Valera Rozuvan
b1a73a5293 Client side drag and drop. Work in progress. Part 5. 2013-01-21 15:55:44 +02:00
Valera Rozuvan
4594986b38 Client side drag and drop. Work in progress. Part 4. 2013-01-21 15:54:56 +02:00
Valera Rozuvan
06fd823881 Client side drag and drop. Work in progress. Part 3. 2013-01-21 15:54:56 +02:00
Valera Rozuvan
f659247739 Client-side Drag and Drop: work in progress. Part 2. 2013-01-21 15:54:56 +02:00
Valera Rozuvan
8d69049746 Client-side Drag and Drop: work in progress. Part 1. 2013-01-21 15:53:44 +02:00
Valera Rozuvan
61c68b740c Set up of basic RequireJS skeleton structure. 2013-01-21 15:53:44 +02:00
Valera Rozuvan
757f955c5e Moved JS for drag-and-drop from global capa. Now it will load only when required, and can be specified from any course. 2013-01-21 15:53:44 +02:00
jmvt
bc268aa791 Merged to lastest master. 2013-01-17 17:39:12 -05:00
Brian Talbot
db7443ce7c studio html editor - added in visual assets needed for previous UI syncing 2013-01-16 16:56:22 -05:00
cahrens
b58577a913 Version 3.5.8 of tinyMCE. http://www.tinymce.com/ 2013-01-14 15:41:12 -05:00
cahrens
6312022b6e Delete old version of tiny_mce. 2013-01-14 15:41:12 -05:00
cahrens
3cc63f1b2f tiny_mce 2013-01-14 15:41:12 -05:00
cahrens
c4ec8ead4a Work in progress, related to rich HTML editor. 2013-01-14 15:41:12 -05:00
jmvt
d230c1b03c Added example of geographic student distribution over world map. 2013-01-11 17:14:29 -05:00
Don Mitchell
04582f4e7c Update timepicker b/c it wasn't handling minutes from 01-09 and they'd
fixed it
2013-01-10 11:05:14 -05:00
Chris Dodge
3b5e17ef55 Merge branch 'master' into feature/cdodge/cms-master-merge2
Conflicts:
	.gitmodules
	common/djangoapps/__init__.py
	common/djangoapps/track/migrations/__init__.py
	common/lib/capa/capa/inputtypes.py
	common/lib/capa/capa/responsetypes.py
	common/lib/capa/capa/templates/openendedinput.html
	common/lib/xmodule/xmodule/course_module.py
	common/lib/xmodule/xmodule/video_module.py
	common/static/sass/bourbon/css3/_box-sizing.scss
	doc/development.md
	lms/djangoapps/instructor/tests.py
	lms/envs/aws.py
	lms/envs/common.py
	lms/templates/video.html
	requirements.txt
	test-requirements.txt
2013-01-07 12:34:48 -05:00
valera-rozuvan
62271fe5c6 Added namespaced RequireJS. 2013-01-03 10:14:06 +02:00
Don Mitchell
a46c1f4883 Updated underscore (using _.invert())
The scss junk comes from trying to sync w/ several branches. I believe
it's right but mostly unnecessary (surprised it showed up).
Debugged the merge w/ cms-master
Fixed grace period to be absolute time difference not a date on the
client side.
2012-12-11 14:18:13 -05:00