.
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
# Generated by Django 3.1.2 on 2021-01-04 13:55
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('anatomy', '0016_auto_20210104_1310'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='ciduseranswer',
|
||||
name='cid',
|
||||
field=models.BigIntegerField(blank=True, help_text='Candidate ID (limitied by BigIntegerField size)', null=True),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='useranswer',
|
||||
name='cid',
|
||||
field=models.BigIntegerField(blank=True, help_text='Candidate ID (limitied by BigIntegerField size)', null=True),
|
||||
),
|
||||
]
|
||||
@@ -27,6 +27,7 @@ a, a:link {
|
||||
|
||||
.answer-list .correct {
|
||||
color: green;
|
||||
color: blue;
|
||||
}
|
||||
|
||||
.answer-list .correct::after{
|
||||
@@ -66,6 +67,7 @@ a, a:link {
|
||||
|
||||
.answered {
|
||||
color: green;
|
||||
color: blue;
|
||||
}
|
||||
|
||||
.unanswered {
|
||||
@@ -324,6 +326,7 @@ img.uploading:hover {
|
||||
|
||||
.user-answer-score-2 {
|
||||
color: green;
|
||||
color: blue;
|
||||
}
|
||||
|
||||
td.user-answer-score-0::after {
|
||||
@@ -384,6 +387,7 @@ td.user-answer-score-2::after {
|
||||
|
||||
.answer-1 {
|
||||
color: green;
|
||||
color: blue;
|
||||
}
|
||||
|
||||
.answer-0 {
|
||||
|
||||
@@ -31,6 +31,7 @@ $(document).ready(function () {
|
||||
|
||||
if($(".post-form").length > 0) {
|
||||
$(".post-form").get(0).addEventListener("submit", function (e) {
|
||||
console.log(e);
|
||||
if($(".not-marked").length > 0) {
|
||||
e.preventDefault(); // before the code
|
||||
alert("Ensure all answers are marked first");
|
||||
|
||||
@@ -38,6 +38,7 @@
|
||||
{% if question_details.current >= question_details.total %}
|
||||
{% else %}
|
||||
<button type="submit" name="next" class="save btn btn-default">Next</button>
|
||||
<button type="submit" name="skip" class="save btn btn-default">Skip</button>
|
||||
{% endif %}
|
||||
</div>
|
||||
<span class=hide>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
{% block content %}
|
||||
<div class="anatomy">
|
||||
<h2>Marking exam: {{ exam.name }}</h2>
|
||||
Question order may be different on the test system (as json order is not guaranteed to be maintained)
|
||||
You can start marking from a particular question by clicking on it below.
|
||||
|
||||
<div>
|
||||
<button class="show-all-button">Show all</button><button class="show-unmarked-button">Show unmarked</button>
|
||||
|
||||
Reference in New Issue
Block a user