-
Notifications
You must be signed in to change notification settings - Fork 86
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #597 from edx/dsheraz/prod-356
add grace period checks in edx-proctoring
- Loading branch information
Showing
13 changed files
with
228 additions
and
64 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{% load i18n %} | ||
<p> | ||
{% blocktrans %} | ||
The result will be visible after <strong id="wait_deadline"> Loading... </strong> | ||
{% endblocktrans %} | ||
</p> | ||
<script type="text/javascript"> | ||
$(function () { | ||
var timeZoneAwareDateString = (moment.utc('{{ wait_deadline }}').local().format('MMM DD, YYYY, LT')); | ||
$("#wait_deadline").text(timeZoneAwareDateString); | ||
}); | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,19 @@ | ||
{% load i18n %} | ||
<div class="success sequence proctored-exam passed" data-exam-id="{{exam_id}}"> | ||
<h3> | ||
{% block title %} | ||
{% blocktrans %} | ||
Your proctoring session was reviewed successfully. Go to your progress page to view your exam grade. | ||
{% endblocktrans %} | ||
{% endblock %} | ||
</h3> | ||
<div class="success sequence proctored-exam passed" data-exam-id="{{ exam_id }}"> | ||
<h3> | ||
{% block title %} | ||
{% blocktrans %} | ||
Your proctoring session was reviewed successfully. Go to your progress page to view your exam grade. | ||
{% endblocktrans %} | ||
{% endblock %} | ||
</h3> | ||
|
||
{% block body %} | ||
{% include 'proctored_exam/visit_exam_content.html' %} | ||
{% endblock %} | ||
{% block body %} | ||
{% if wait_deadline %} | ||
{% include 'common/waiting_banner.html' %} | ||
{% else %} | ||
{% include 'proctored_exam/visit_exam_content.html' %} | ||
{% endif %} | ||
{% endblock %} | ||
</div> | ||
{% include 'proctored_exam/footer.html' %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,32 @@ | ||
{% load i18n %} | ||
<div class="sequence proctored-exam completed" data-exam-id="{{exam_id}}"> | ||
<h3> | ||
<div class="sequence proctored-exam completed" data-exam-id="{{ exam_id }}"> | ||
<h3> | ||
|
||
{% if has_time_expired %} | ||
{% blocktrans %} | ||
The time allotted for this exam has expired. Your exam has been submitted and any work you completed will be graded. | ||
{% endblocktrans %} | ||
{% else %} | ||
{% blocktrans %} | ||
You have submitted your timed exam. | ||
{% endblocktrans %} | ||
{% endif %} | ||
{% if has_time_expired %} | ||
{% blocktrans %} | ||
The time allotted for this exam has expired. Your exam has been submitted and any work you completed | ||
will be graded. | ||
{% endblocktrans %} | ||
{% else %} | ||
{% blocktrans %} | ||
You have submitted your timed exam. | ||
{% endblocktrans %} | ||
{% endif %} | ||
|
||
</h3> | ||
<hr> | ||
|
||
</h3> | ||
<hr> | ||
<p> | ||
{% if will_be_revealed %} | ||
{% blocktrans %} | ||
After the due date has passed, you can review the exam, but you cannot change your answers. | ||
{% endblocktrans %} | ||
<p> | ||
{% blocktrans %} | ||
After the due date has passed, you can review the exam, but you cannot change your answers. | ||
{% endblocktrans %} | ||
</p> | ||
|
||
{% if wait_deadline %} | ||
{% include 'common/waiting_banner.html' %} | ||
{% endif %} | ||
|
||
{% endif %} | ||
</p> | ||
</div> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.