Files
edx-platform/lms/templates/courseware/proctored-exam-status.underscore

28 lines
1.2 KiB
Plaintext

<div class="exam-timer">
<%
function gtLtEscape(str) {
return String(str)
.replace(/</g, '&lt;')
.replace(/>/g, '&gt;')
}
%>
<div class='exam-text'>
<%= interpolate_text('You are taking "{exam_link}" as a {exam_type} exam. The timer on the right shows the time remaining in the exam.', {exam_link: "<a href='" + exam_url_path + "'>"+gtLtEscape(exam_display_name)+"</a>", exam_type: (!_.isUndefined(arguments[0].exam_type)) ? exam_type : gettext('timed')}) %>
<%- gettext('To receive credit on a problem, you must click "Check" or "Final Check" on it before you select "End My Exam".') %>
</div>
<div id="turn_in_exam_id" class="pull-right turn_in_exam">
<span>
<% if(attempt_status !== 'ready_to_submit') {%>
<button class="exam-button-turn-in-exam btn btn-pl-primary">
<%- gettext("End My Exam") %>
</button>
<% } %>
</span>
<span class="sr timer-announce" aria-live="assertive"></span>
<span id="time_remaining_id">
<b>
</b>
</span>
</div>
</div>