.
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
{% extends 'anatomy/exams.html' %}
|
{% extends 'anatomy/exams.html' %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<div class="anatomy">
|
<div class="anatomy">
|
||||||
<h2>{{ exam.name }}</h2>
|
<h2>{{ exam.name }}</h2>
|
||||||
|
|
||||||
{% if unmarked %}
|
{% if unmarked %}
|
||||||
@@ -14,17 +14,17 @@
|
|||||||
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<div id="stats-block">
|
<div id="stats-block">
|
||||||
<h3>Stats</h3>
|
<h3>Stats</h3>
|
||||||
Candidates: {{cids|length}}<br />
|
Candidates: {{cids|length}}<br />
|
||||||
Max score: {{max_score}}<br />
|
Max score: {{max_score}}<br />
|
||||||
Mean: {{mean}}, Median {{median}}, Mode {{mode}}
|
Mean: {{mean}}, Median {{median}}, Mode {{mode}}
|
||||||
|
|
||||||
<div id="stats-plot">{{plot|safe}}</div>
|
<div id="stats-plot">{{plot|safe}}</div>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<table class="table table-dark table-striped table-hover table-sm">
|
<table class="table table-dark table-striped table-hover table-sm cid-score-table">
|
||||||
<tr>
|
<tr>
|
||||||
<th>Candidate ID</th>
|
<th>Candidate ID</th>
|
||||||
<th>Score</th>
|
<th>Score</th>
|
||||||
@@ -36,22 +36,22 @@
|
|||||||
</tr>
|
</tr>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<h3>Results as a table</h3>
|
<h3>Results as a table</h3>
|
||||||
<table class="table table-dark table-striped table-hover table-sm">
|
<table class="table table-dark table-striped table-hover table-sm">
|
||||||
<thead class="thead-dark">
|
<thead class="thead-dark">
|
||||||
<tr>
|
<tr>
|
||||||
<th>Candidate</th>
|
<th>Candidate</th>
|
||||||
{% for cid in cids %}
|
{% for cid in cids %}
|
||||||
<th>{{cid}}</th>
|
<th><a href="{% url 'anatomy:exam_scores_cid_user' exam.pk cid %}">{{cid}}</a></th>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
{% for question in questions %}
|
{% for question in questions %}
|
||||||
<tr>
|
<tr>
|
||||||
<td>Question {{forloop.counter}}</td>
|
<td><a href="{% url 'anatomy:mark' pk=exam.pk sk=forloop.counter0 %}">Question {{forloop.counter}}</a></td>
|
||||||
{% for ans, score in by_question|get_item:question %}
|
{% for ans, score in by_question|get_item:question %}
|
||||||
<td class="user-answer-score-{{score}}" title="answer score: {{score}}">{{ans}}</td>
|
<td class="user-answer-score-{{score}}" title="answer score: {{score}}">{{ans}}</td>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
@@ -62,8 +62,8 @@
|
|||||||
{% for score in user_scores_list %}
|
{% for score in user_scores_list %}
|
||||||
<td>{{score}}</td>
|
<td>{{score}}</td>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
<tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
@@ -4,7 +4,7 @@
|
|||||||
{% block content %}
|
{% block content %}
|
||||||
<h2>Add Feedback</h2>
|
<h2>Add Feedback</h2>
|
||||||
<div class="alert alert-info" role="alert">
|
<div class="alert alert-info" role="alert">
|
||||||
Adding feedback for {{question_type}}/{{question.id}} ]
|
Adding feedback for {{question_type}}/{{question.id}}
|
||||||
|
|
||||||
{% if user.is_superuser %}
|
{% if user.is_superuser %}
|
||||||
<br/> {{question}}
|
<br/> {{question}}
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
{% extends 'rapids/exams.html' %}
|
{% extends 'rapids/exams.html' %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<div id="stats-plot">{{plot|safe}}</div>
|
<div id="stats-plot">{{plot|safe}}</div>
|
||||||
<div class="rapids">
|
<div class="rapids">
|
||||||
<h2>{{ exam.name }}</h2>
|
<h2>{{ exam.name }}</h2>
|
||||||
|
|
||||||
{% if unmarked %}
|
{% if unmarked %}
|
||||||
@@ -15,15 +15,15 @@
|
|||||||
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<div id="stats-block">
|
<div id="stats-block">
|
||||||
<h3>Stats</h3>
|
<h3>Stats</h3>
|
||||||
Candidates: {{cids|length}}<br />
|
Candidates: {{cids|length}}<br />
|
||||||
Max score: {{max_score}}<br />
|
Max score: {{max_score}}<br />
|
||||||
Mean: {{mean}}, Median {{median}}, Mode {{mode}}
|
Mean: {{mean}}, Median {{median}}, Mode {{mode}}
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<table class="table table-dark table-striped table-hover table-sm cid-score-table">
|
<table class="table table-dark table-striped table-hover table-sm cid-score-table">
|
||||||
<tr>
|
<tr>
|
||||||
<th>Candidate ID</th>
|
<th>Candidate ID</th>
|
||||||
@@ -38,8 +38,8 @@
|
|||||||
</tr>
|
</tr>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<h3>Answers as a table</h3>
|
<h3>Answers as a table</h3>
|
||||||
<table class="table table-dark table-striped table-hover table-sm col-sm">
|
<table class="table table-dark table-striped table-hover table-sm col-sm">
|
||||||
<thead class="thead-dark">
|
<thead class="thead-dark">
|
||||||
@@ -53,7 +53,7 @@
|
|||||||
</thead>
|
</thead>
|
||||||
{% for question in questions %}
|
{% for question in questions %}
|
||||||
<tr>
|
<tr>
|
||||||
<td><a href="{% url 'rapids:mark' pk=exam.pk sk=forloop.counter0 %}">Question {{forloop.counter}}</a>
|
<td><a href="{% url 'rapids:mark' pk=exam.pk sk=forloop.counter0 %}">Question {{forloop.counter}}</a></td>
|
||||||
{% if question.normal %}
|
{% if question.normal %}
|
||||||
[N]
|
[N]
|
||||||
{% else %}
|
{% else %}
|
||||||
@@ -70,8 +70,8 @@
|
|||||||
{% for score in user_scores_list %}
|
{% for score in user_scores_list %}
|
||||||
<td>{{score}}</td>
|
<td>{{score}}</td>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
<tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
Reference in New Issue
Block a user