Commit fe1b666e by Chris Dodge

switch from <a> tags to <button>

parent 6c6236b3
...@@ -11,9 +11,9 @@ ...@@ -11,9 +11,9 @@
To be eligible to earn credit for this course, you must take and pass the proctoring review for this exam. To be eligible to earn credit for this course, you must take and pass the proctoring review for this exam.
{% endblocktrans %} {% endblocktrans %}
</p> </p>
<div class="gated-sequence"> <button class="gated-sequence start-timed-exam" data-ajax-url="{{enter_exam_endpoint}}" data-exam-id="{{exam_id}}" data-attempt-proctored=true data-start-immediately=false>
<span><i class="fa fa-lock"></i></span> <span><i class="fa fa-lock"></i></span>
<a class="start-timed-exam" data-ajax-url="{{enter_exam_endpoint}}" data-exam-id="{{exam_id}}" data-attempt-proctored=true data-start-immediately=false> <a>
{% trans "Yes, I want to take this exam with online proctoring (and be eligible for credit)" %} {% trans "Yes, I want to take this exam with online proctoring (and be eligible for credit)" %}
</a> </a>
<p> <p>
...@@ -26,10 +26,10 @@ ...@@ -26,10 +26,10 @@
</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 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>
</div> </button>
<div class="gated-sequence"> <button class="gated-sequence start-timed-exam" data-ajax-url="{{enter_exam_endpoint}}" data-exam-id="{{exam_id}}" data-attempt-proctored=false data-start-immediately=true>
<span><i class="fa fa-unlock"></i></span> <span><i class="fa fa-unlock"></i></span>
<a class="start-timed-exam" data-ajax-url="{{enter_exam_endpoint}}" data-exam-id="{{exam_id}}" data-attempt-proctored=false data-start-immediately=true> <a>
{% trans "No, I want to take this exam without proctoring (and not be eligible for credit)" %} {% trans "No, I want to take this exam without proctoring (and not be eligible for credit)" %}
</a> </a>
<p> <p>
...@@ -39,7 +39,7 @@ ...@@ -39,7 +39,7 @@
{% 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=false data-start-immediately=true></i> <i class="fa fa-arrow-circle-right start-timed-exam" data-ajax-url="{{enter_exam_endpoint}}" data-exam-id="{{exam_id}}" data-attempt-proctored=false data-start-immediately=true></i>
</div> </button>
</div> </div>
{% include 'proctoring/seq_proctored_exam_footer.html' %} {% include 'proctoring/seq_proctored_exam_footer.html' %}
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
<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-top-bar" data-exam-id="{{exam_id}}" data-exam-started-poll-url="{{exam_started_poll_url}}">
<h3> <h3>
{% blocktrans %} {% blocktrans %}
Awaiting Proctoring Software Installation and Setup You Have Chosen to take a Proctored Exam
{% endblocktrans %} {% endblocktrans %}
</h3> </h3>
<p> <p>
......
...@@ -10,9 +10,9 @@ ...@@ -10,9 +10,9 @@
You can try this practice exam as many times as you want. You can try this practice exam as many times as you want.
{% endblocktrans %} {% endblocktrans %}
</p> </p>
<div class="gated-sequence"> <button class="gated-sequence start-timed-exam" data-ajax-url="{{enter_exam_endpoint}}" data-exam-id="{{exam_id}}" data-attempt-proctored=true data-start-immediately=false>
<span><i class="fa fa-lock"></i></span> <span><i class="fa fa-lock"></i></span>
<a class="start-timed-exam" data-ajax-url="{{enter_exam_endpoint}}" data-exam-id="{{exam_id}}" data-attempt-proctored=true data-start-immediately=false> <a>
{% trans "Yes, I want to take this practice exam with online proctoring" %} {% trans "Yes, I want to take this practice exam with online proctoring" %}
</a> </a>
<p> <p>
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
</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 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>
</div> </button>
</div> </div>
{% include 'proctoring/seq_proctored_exam_footer.html' %} {% include 'proctoring/seq_proctored_exam_footer.html' %}
......
...@@ -19,12 +19,12 @@ ...@@ -19,12 +19,12 @@
{% endblocktrans %} {% endblocktrans %}
</p> </p>
<hr> <hr>
<div class="gated-sequence"> <button class="gated-sequence start-timed-exam" data-ajax-url="{{enter_exam_endpoint}}" data-exam-id="{{exam_id}}" data-attempt-proctored=true data-start-immediately=false>
<span><i class="fa fa-lock"></i></span> <span><i class="fa fa-lock"></i></span>
<a class="start-timed-exam" data-ajax-url="{{enter_exam_endpoint}}" data-exam-id="{{exam_id}}" data-attempt-proctored=true data-start-immediately=false> <a>
{% trans "Try this practice exam again" %} {% trans "Try this practice exam again" %}
</a> </a>
</div> </button>
</div> </div>
{% include 'proctoring/seq_proctored_exam_footer.html' %} {% include 'proctoring/seq_proctored_exam_footer.html' %}
<script type="text/javascript"> <script type="text/javascript">
......
...@@ -18,12 +18,12 @@ ...@@ -18,12 +18,12 @@
You have completed this practice exam and can continue with your course. You have completed this practice exam and can continue with your course.
{% endblocktrans %} {% endblocktrans %}
</p> </p>
<div class="gated-sequence"> <button class="gated-sequence start-timed-exam" data-ajax-url="{{enter_exam_endpoint}}" data-exam-id="{{exam_id}}" data-attempt-proctored=true data-start-immediately=false>
<span><i class="fa fa-lock"></i></span> <span><i class="fa fa-lock"></i></span>
<a class="start-timed-exam" data-ajax-url="{{enter_exam_endpoint}}" data-exam-id="{{exam_id}}" data-attempt-proctored=true data-start-immediately=false> <a>
{% trans "You can also retry this practice exam" %} {% trans "You can also retry this practice exam" %}
</a> </a>
</div> </button>
</div> </div>
<script type="text/javascript"> <script type="text/javascript">
$('.start-timed-exam').click( $('.start-timed-exam').click(
......
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