Conflicts: cms/djangoapps/contentstore/management/commands/import.py cms/djangoapps/contentstore/views.py cms/envs/common.py cms/envs/dev.py cms/envs/test.py cms/static/sass/README.txt cms/static/sass/_base.scss cms/static/sass/_calendar.scss cms/static/sass/base-style.scss cms/templates/base.html cms/templates/index.html cms/templates/widgets/header.html cms/templates/widgets/module-dropdown.html cms/templates/widgets/navigation.html cms/templates/widgets/problem-edit.html cms/urls.py common/djangoapps/pipeline_mako/__init__.py common/djangoapps/util/views.py common/lib/capa/capa_problem.py common/lib/capa/templates/textinput_dynamath.html common/lib/mitxmako/middleware.py common/lib/mitxmako/shortcuts.py common/lib/mitxmako/template.py common/lib/xmodule/capa_module.py common/lib/xmodule/seq_module.py common/lib/xmodule/setup.py common/lib/xmodule/test_files/symbolicresponse.xml common/lib/xmodule/test_files/test_files/symbolicresponse.xml common/lib/xmodule/tests/__init__.py common/lib/xmodule/tests/test_files/symbolicresponse.xml common/lib/xmodule/vertical_module.py common/lib/xmodule/video_module.py common/lib/xmodule/x_module.py lms/djangoapps/courseware/content_parser.py lms/djangoapps/courseware/grades.py lms/djangoapps/courseware/module_render.py lms/djangoapps/courseware/views.py lms/static/coffee/spec/helper.coffee lms/static/coffee/spec/modules/video/video_player_spec.coffee lms/static/coffee/spec/modules/video/video_volume_control_spec.coffee lms/static/coffee/src/modules/problem.coffee lms/static/coffee/src/modules/sequence.coffee lms/static/coffee/src/modules/video/video_player.coffee lms/static/coffee/src/modules/video/video_volume_control.coffee lms/static/js/vendor/jquery-1.6.2.min.js lms/static/js/vendor/jquery-ui-1.8.16.custom.min.js lms/static/sass/application.scss lms/static/sass/courseware/_sequence-nav.scss lms/static/sass/courseware/_video.scss lms/templates/main.html lms/urls.py rakefile requirements.txt
39 lines
1.1 KiB
HTML
39 lines
1.1 KiB
HTML
###
|
|
### version of textline.html which does dynammic math
|
|
###
|
|
<section class="text-input-dynamath">
|
|
% if state == 'unsubmitted':
|
|
<div class="unanswered" id="status_${id}">
|
|
% elif state == 'correct':
|
|
<div class="correct" id="status_${id}">
|
|
% elif state == 'incorrect':
|
|
<div class="incorrect" id="status_${id}">
|
|
% elif state == 'incomplete':
|
|
<div class="incorrect" id="status_${id}">
|
|
% endif
|
|
|
|
<input type="text" name="input_${id}" id="input_${id}" value="${value}" class="math" size="${size if size else ''}" />
|
|
|
|
<p class="status">
|
|
% if state == 'unsubmitted':
|
|
unanswered
|
|
% elif state == 'correct':
|
|
correct
|
|
% elif state == 'incorrect':
|
|
incorrect
|
|
% elif state == 'incomplete':
|
|
incomplete
|
|
% endif
|
|
</p>
|
|
|
|
<p id="answer_${id}" class="answer"></p>
|
|
|
|
<div id="display_${id}" class="equation">`{::}`</div>
|
|
|
|
</div>
|
|
<textarea style="display:none" id="input_${id}_dynamath" name="input_${id}_dynamath"> </textarea>
|
|
% if msg:
|
|
<span class="message">${msg|n}</span>
|
|
% endif
|
|
</section>
|