Files
edx-platform/lms/templates/problem.html
Graham Lowe 5e0849d214 Temporarily disable CAPA problem "Check" button.
- update appropriate jasmine tests so that stubbed $postWithPrefix
respects a subset of jQuery promise API.
- add customization for checking state.
- display checking state while button is disabled.
- ensure checking state lasts for at least a second.
2014-04-07 13:17:43 -04:00

35 lines
1.1 KiB
HTML

<%! from django.utils.translation import ugettext as _ %>
<%namespace name='static' file='static_content.html'/>
<h2 class="problem-header">
${ problem['name'] }
</h2>
<div class="problem-progress"></div>
<div class="problem" role="application">
${ problem['html'] }
<div class="action">
<input type="hidden" name="problem_id" value="${ problem['name'] }" />
% if check_button:
<input class="check ${ check_button }" type="button" data-checking="${ check_button_checking }" value="${ check_button }" />
% endif
% if reset_button:
<input class="reset" type="button" value="${_('Reset')}" />
% endif
% if save_button:
<input class="save" type="button" value="${_('Save')}" />
% endif
% if answer_available:
<button class="show"><span class="show-label" aria-hidden="true">${_('Show Answer')}</span> <span class="sr">${_("Reveal Answer")}</span></button>
% endif
% if attempts_allowed :
<div class="submission_feedback">
${_("You have used {num_used} of {num_total} submissions").format(num_used=attempts_used, num_total=attempts_allowed)}
</div>
% endif
</div>
</div>