.
This commit is contained in:
@@ -659,3 +659,17 @@ input {
|
|||||||
padding-bottom: 0px;
|
padding-bottom: 0px;
|
||||||
margin: 1px;
|
margin: 1px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.sba-finish-list {
|
||||||
|
display: flex;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sba-finish-list li {
|
||||||
|
display: inline-block;
|
||||||
|
border: 1px solid purple;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sba-finish-list li.unanswered {
|
||||||
|
display: inline-block;
|
||||||
|
border: 1px solid red;
|
||||||
|
}
|
||||||
@@ -7,7 +7,7 @@ CID: {{cid}}
|
|||||||
|
|
||||||
<div><p>Questions</p></div>
|
<div><p>Questions</p></div>
|
||||||
{{answer_count}} out of {{exam_length}} questions answered. Click to go to question.
|
{{answer_count}} out of {{exam_length}} questions answered. Click to go to question.
|
||||||
<ul class="question-list">
|
<ul class="sba-finish-list">
|
||||||
{% for question, answer in question_answer_tuples %}
|
{% for question, answer in question_answer_tuples %}
|
||||||
<li {% if not answer %}class="unanswered"{% endif %}><a href="{% url 'sbas:exam_take' pk=exam.id sk=forloop.counter0 cid=cid %}">{{forloop.counter}}: {{answer.answer}}</a></li>
|
<li {% if not answer %}class="unanswered"{% endif %}><a href="{% url 'sbas:exam_take' pk=exam.id sk=forloop.counter0 cid=cid %}">{{forloop.counter}}: {{answer.answer}}</a></li>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
@@ -21,8 +21,3 @@ CID: {{cid}}
|
|||||||
})
|
})
|
||||||
</script>
|
</script>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
{% block css %}
|
|
||||||
<style type="text/css">
|
|
||||||
.unanswered { border: 1px solid red; }
|
|
||||||
</style>
|
|
||||||
{% endblock %}
|
|
||||||
@@ -659,3 +659,17 @@ input {
|
|||||||
padding-bottom: 0px;
|
padding-bottom: 0px;
|
||||||
margin: 1px;
|
margin: 1px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.sba-finish-list {
|
||||||
|
display: flex;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sba-finish-list li {
|
||||||
|
display: inline-block;
|
||||||
|
border: 1px solid purple;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sba-finish-list li.unanswered {
|
||||||
|
display: inline-block;
|
||||||
|
border: 1px solid red;
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user