Add a chemicalequationinput with live preview
- architecturally slightly questionable: the preview ajax calls goes to an LMS view instead of an input type specific one. This needs to be fixed during the grand capa re-org, but there isn't time to do it right now. - also, I kind of like having a generic turn-a-formula-into-a-preview service available
Showing
- common/lib/capa/capa/capa_problem.py 2 additions, 1 deletioncommon/lib/capa/capa/capa_problem.py
- common/lib/capa/capa/chem/chemcalc.py 74 additions, 20 deletionscommon/lib/capa/capa/chem/chemcalc.py
- common/lib/capa/capa/inputtypes.py 31 additions, 0 deletionscommon/lib/capa/capa/inputtypes.py
- common/lib/capa/capa/responsetypes.py 1 addition, 1 deletioncommon/lib/capa/capa/responsetypes.py
- common/lib/capa/capa/templates/chemicalequationinput.html 42 additions, 0 deletionscommon/lib/capa/capa/templates/chemicalequationinput.html
- common/static/js/capa/README 1 addition, 0 deletionscommon/static/js/capa/README
- common/static/js/capa/chemical_equation_preview.js 12 additions, 0 deletionscommon/static/js/capa/chemical_equation_preview.js
- lms/djangoapps/courseware/module_render.py 41 additions, 0 deletionslms/djangoapps/courseware/module_render.py
- lms/urls.py 10 additions, 0 deletionslms/urls.py
Loading
Please register or sign in to comment