Commit 8f88daff by Hasnain

changes of text and some styling

parent 53968f79
{% load i18n %} {% load i18n %}
<div class="faq-proctoring-exam"> <div class="faq-proctoring-exam">
<h4> {% trans "See Also" %} </h4>
<p> <p>
<a class="footer-link" href="{{link_urls.faq}}" target="_blank"> <a class="footer-link" href="{{link_urls.faq}}" target="_blank">
{% blocktrans %} {% blocktrans %}
Frequently asked questions about proctoring and earning college credit Frequently asked questions about proctoring and earning college credit
{% endblocktrans %} {% endblocktrans %}
</a> </a>
<a class="footer-link" href="{{link_urls.online_proctoring_rules}}" target="_blank">
{% blocktrans %}
Online proctoring rules
{% endblocktrans %}
</a>
<a class="footer-link" href="{{link_urls.tech_requirements}}" target="_blank">
{% blocktrans %}
Technical Requirements for taking a proctored exam
{% endblocktrans %}
</a>
</p> </p>
</div> </div>
{% load i18n %} {% load i18n %}
<div class="sequence proctored-exam instructions message-top-bar" data-exam-id="{{exam_id}}" data-exam-started-poll-url="{{exam_started_poll_url}}"> <div class="sequence proctored-exam instructions message-left-bar" data-exam-id="{{exam_id}}" data-exam-started-poll-url="{{exam_started_poll_url}}">
<h3> <h3>
{% blocktrans %} {% blocktrans %}
You Have Chosen To Take a Proctored Exam You Have Chosen To Take a Proctored Exam
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
{% endblocktrans %} {% endblocktrans %}
</p> </p>
<p> <p>
<span class="proctored-exam-code" role="application">{{exam_code}}</span>&nbsp;<button class='proctored-exam-select-code'>Select exam code</button> <span class="proctored-exam-code" role="application">{{exam_code}}</span>
</p> </p>
<p> <p>
{% blocktrans %} {% blocktrans %}
...@@ -93,31 +93,6 @@ ...@@ -93,31 +93,6 @@
} }
); );
$('.proctored-exam-select-code').click(function() {
selectText($('.proctored-exam-code'));
$(event.currentTarget).blur();
});
function selectText(textToBeSelected) {
// this selects all the text in an element
// http://stackoverflow.com/questions/12243898/how-to-select-all-text-in-contenteditable-div
var doc = document,
range, selection,
element = textToBeSelected[0];
if (doc.body.createTextRange) {
range = doc.body.createTextRange();
range.moveToElementText(element);
range.select();
} else if (window.getSelection) {
selection = window.getSelection();
range = doc.createRange();
range.selectNodeContents(element);
selection.removeAllRanges();
selection.addRange(range);
}
}
$(document).ready(function(){ $(document).ready(function(){
_waiting_for_proctored_interval = setInterval( _waiting_for_proctored_interval = setInterval(
poll_exam_started, poll_exam_started,
......
{% load i18n %} {% load i18n %}
<div class="sequence proctored-exam success-top-bar instructions" data-exam-id="{{exam_id}}" data-exam-started-poll-url="{{exam_started_poll_url}}"> <div class="sequence proctored-exam success-left-bar instructions" data-exam-id="{{exam_id}}" data-exam-started-poll-url="{{exam_started_poll_url}}">
<h3> <h3>
{% blocktrans %} {% blocktrans %}
Your Proctoring Installation and Set Up is Complete Your Proctoring Installation and Set Up is Complete
......
...@@ -22,10 +22,10 @@ ...@@ -22,10 +22,10 @@
{% endblocktrans %} {% endblocktrans %}
</p> </p>
<i class="fa fa-arrow-circle-right start-timed-exam" data-ajax-url="{{enter_exam_endpoint}}" data-exam-id="{{exam_id}}" data-attempt-proctored=true data-start-immediately=false></i> <i class="fa practice-exam fa-arrow-circle-right start-timed-exam" data-ajax-url="{{enter_exam_endpoint}}" data-exam-id="{{exam_id}}" data-attempt-proctored=true data-start-immediately=false></i>
</button> </button>
</div> </div>
{% include 'proctoring/seq_proctored_exam_footer.html' %} {% include 'proctoring/seq_proctored_practice_exam_footer.html' %}
<script type="text/javascript"> <script type="text/javascript">
$('.start-timed-exam').click( $('.start-timed-exam').click(
......
{% load i18n %}
<div class="faq-proctoring-exam">
<p>
<a class="footer-link" href="{{link_urls.about_proctored_exams}}" target="_blank">
{% blocktrans %}
About Proctored Exams
{% endblocktrans %}
</a>
</p>
</div>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment