Complete supervisor model and start improving forms
This commit is contained in:
@@ -453,6 +453,15 @@ td.user-answer-score-2.rapid-ans::after {
|
||||
padding-top: 10px;
|
||||
}
|
||||
|
||||
.submitted-user-answer:hover::after {
|
||||
content: " Submitted answer";
|
||||
opacity: 50%;
|
||||
}
|
||||
|
||||
.question-stem-text {
|
||||
font-weight: bolder;
|
||||
}
|
||||
|
||||
.parent-help:hover .help-text {
|
||||
opacity: 50%;
|
||||
}
|
||||
@@ -870,4 +879,27 @@ tr:has(.errorlist){
|
||||
.errorlist + input {
|
||||
background-color: red;
|
||||
color: darkblue;
|
||||
}
|
||||
|
||||
/* Form styling */
|
||||
|
||||
.control-group {
|
||||
padding-top: 10px;
|
||||
}
|
||||
|
||||
.help-block {
|
||||
float: right;
|
||||
opacity: 25%;
|
||||
}
|
||||
|
||||
.control-group:hover .help-block{
|
||||
opacity: 100%;
|
||||
}
|
||||
|
||||
.control-group {
|
||||
padding-top: 10px;
|
||||
}
|
||||
|
||||
.inline-form {
|
||||
display: inline-grid;
|
||||
}
|
||||
@@ -13,9 +13,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="anatomy">
|
||||
<h2>Exam: {{ exam.name }}</h2>
|
||||
<h3>Candidate: {{ cid|default_if_none:request.user.username }}</h3>
|
||||
Answers:
|
||||
{% include 'user_score_header.html' %}
|
||||
<ul class="score-answer-list">{% for ans, score, correct_answer in answers_and_marks %}
|
||||
<li class="user-answer-li">Question {{forloop.counter}} - Correct answer: <span class="correct-answer">{{correct_answer }}</span></li>
|
||||
<span class="user-answer-score user-answer-score-{{score}} physics-ans">
|
||||
@@ -24,12 +22,7 @@
|
||||
<span class="view-question-link" data-qn={{forloop.counter0}}>View</span>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
<br /> Total mark: {{ total_score }} / {{max_score}}
|
||||
<div>
|
||||
{% if cid %}
|
||||
<a href="{% url 'cid_scores' cid passcode %}">Other exams</a>
|
||||
{% endif %}
|
||||
</div>
|
||||
{% include 'user_scores_footer.html' %}
|
||||
</div>
|
||||
{% endblock %}
|
||||
{% block js %}
|
||||
|
||||
Reference in New Issue
Block a user