summaryrefslogtreecommitdiff
path: root/templates/exam/grade_user.html
diff options
context:
space:
mode:
authorparth2011-12-09 04:02:19 +0530
committerparth2011-12-09 04:02:19 +0530
commit861d2cc5e36835f60bace61a919e73b4bd27274b (patch)
treed08d776f58167903781c371d147f5b9e1f83e168 /templates/exam/grade_user.html
parent7104f495d01fb934af11c8dfd09da087174c1b12 (diff)
downloadonline_test-861d2cc5e36835f60bace61a919e73b4bd27274b.tar.gz
online_test-861d2cc5e36835f60bace61a919e73b4bd27274b.tar.bz2
online_test-861d2cc5e36835f60bace61a919e73b4bd27274b.zip
Moved all the apps to testapp folder
Diffstat (limited to 'templates/exam/grade_user.html')
-rw-r--r--templates/exam/grade_user.html83
1 files changed, 0 insertions, 83 deletions
diff --git a/templates/exam/grade_user.html b/templates/exam/grade_user.html
deleted file mode 100644
index 75ed2e0..0000000
--- a/templates/exam/grade_user.html
+++ /dev/null
@@ -1,83 +0,0 @@
-{% extends "base.html" %}
-
-{% block title %} Grading papers for {{ data.user.get_full_name.title }} {% endblock title %}
-
-{% block content %}
-
-<h1> Grading papers for {{ data.user.get_full_name.title }} </h1>
-
-<p>
-Name: {{ data.user.get_full_name.title }}
-{% if data.profile %}
-(roll number: {{ data.profile.roll_number }}) <br/>
-{{ data.profile.position }},
-{{ data.profile.department }},
-{{ data.profile.institute }}
-{% endif %}
-</p>
-
-{% if data.papers %}
-
-{% for paper in data.papers %}
-
-<h2> Quiz: {{ paper.quiz.description }} </h2>
-
-<p>
-Questions correctly answered: {{ paper.get_answered_str }} <br/>
-Total attempts at questions: {{ paper.answers.count }} <br/>
-Marks obtained: {{ paper.get_total_marks }} <br/>
-Start time: {{ paper.start_time }} <br/>
-</p>
-
-{% if paper.answers.count %}
-<h3> Answers </h3>
-<form id="q{{ paper.quiz.id }}_form"
- action="{{URL_ROOT}}/exam/grade_user/{{data.user.username}}/" method="post">
-{% csrf_token %}
-{% for question, answers in paper.get_question_answers.items %}
-<p><strong>
- <a href="{{URL_ROOT}}/admin/exam/question/{{question.id}}">
- Question: {{ question.id }}. {{ question.summary }} </a>
- (Points: {{ question.points }})</strong> </p>
-{% if question.type == "mcq" %}
-<p> Choices:
-{% for option in question.options.strip.splitlines %} {{option}}, {% endfor %}
-</p>
-<p>Student answer: {{ answers.0 }}</p>
-{% else %}{# non-mcq questions #}
-<pre>
-{% for answer in answers %}################################################################################
-{{ answer.answer.strip }}
-# Autocheck: {{ answer.error }}
-{% endfor %}</pre>
-{% endif %} {# if question.type #}
-{% with answers|last as answer %}
-Marks: <input id="q{{ question.id }}" type="text"
- name="q{{ question.id }}_marks" size="4"
- value="{{ answer.marks }}" />
-{% endwith %}
-{% endfor %} {# for question, answers ... #}
-<h3>Teacher comments: </h3>
-<textarea id="comments_{{paper.quiz.id}}" rows="10" cols="80"
- name="comments_{{ paper.quiz.id }}">{{ paper.comments }}</textarea>
-<br/>
-<input type="submit" name="submit_{{paper.quiz.id}}" value="Save marks" />
-</form>
-{% endif %} {# if paper.answers.count #}
-
-{% endfor %} {# for paper in data.papers #}
-
-{% endif %} {# if data.papers #}
-
-{% if data.papers.count > 1 %}
-<a href="{{URL_ROOT}}/exam/monitor/">
- Monitor quiz</a>
-{% else %}
-{% with data.papers.0 as paper %}
-<a href="{{URL_ROOT}}/exam/monitor/{{paper.quiz.id}}/">
- Monitor quiz</a>
-{% endwith %}
-{% endif %}
-<br />
-<a href="{{URL_ROOT}}/admin/">Admin</a>
-{% endblock content %}