templates/list_toppers.html
author nishanth
Thu, 22 Apr 2010 00:36:08 +0530
changeset 41 d424b9668a74
child 42 007d87112911
permissions -rw-r--r--
implemented list toppers function
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
41
d424b9668a74 implemented list toppers function
nishanth
parents:
diff changeset
     1
{% extends 'base.html' %}
d424b9668a74 implemented list toppers function
nishanth
parents:
diff changeset
     2
{% block content %}
d424b9668a74 implemented list toppers function
nishanth
parents:
diff changeset
     3
List of toppers for {{quiz_name}} of {{event.title}}<br />
d424b9668a74 implemented list toppers function
nishanth
parents:
diff changeset
     4
<br />
d424b9668a74 implemented list toppers function
nishanth
parents:
diff changeset
     5
<table cellspacing="5" cellpadding="3">
d424b9668a74 implemented list toppers function
nishanth
parents:
diff changeset
     6
	<tr align="center">
d424b9668a74 implemented list toppers function
nishanth
parents:
diff changeset
     7
			<td> Name </td>
d424b9668a74 implemented list toppers function
nishanth
parents:
diff changeset
     8
			<td> Profession </td>
d424b9668a74 implemented list toppers function
nishanth
parents:
diff changeset
     9
			<td> Score </td>
d424b9668a74 implemented list toppers function
nishanth
parents:
diff changeset
    10
	</tr>
d424b9668a74 implemented list toppers function
nishanth
parents:
diff changeset
    11
	{% for quiz in sorted_quizzes %}
d424b9668a74 implemented list toppers function
nishanth
parents:
diff changeset
    12
	<tr align="center">
d424b9668a74 implemented list toppers function
nishanth
parents:
diff changeset
    13
			<td><a href="/quiz/ans_dump/{{admin_key}}/{{quiz.key}}/{{user.username}}">{{quiz.user.get_full_name}}</a></td>
d424b9668a74 implemented list toppers function
nishanth
parents:
diff changeset
    14
			<td>{{quiz.user.get_profile.profession}}</td>
d424b9668a74 implemented list toppers function
nishanth
parents:
diff changeset
    15
			<td>{{quiz.score}}</td>
d424b9668a74 implemented list toppers function
nishanth
parents:
diff changeset
    16
	</tr>
d424b9668a74 implemented list toppers function
nishanth
parents:
diff changeset
    17
	{% endfor %}
d424b9668a74 implemented list toppers function
nishanth
parents:
diff changeset
    18
{% endblock %}