templates/list_toppers.html
author nishanth
Thu, 01 Jul 2010 16:20:17 +0530
changeset 81 848c009b8a60
parent 70 911a24ae80d6
permissions -rw-r--r--
now topic name is displayed instead of topic number in list_questions page
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 %}
70
911a24ae80d6 now list of toppers can be seen only if atleast one user has taken the quiz.
nishanth
parents: 42
diff changeset
     3
{% if sorted_quizzes %}
41
d424b9668a74 implemented list toppers function
nishanth
parents:
diff changeset
     4
List of toppers for {{quiz_name}} of {{event.title}}<br />
d424b9668a74 implemented list toppers function
nishanth
parents:
diff changeset
     5
<br />
d424b9668a74 implemented list toppers function
nishanth
parents:
diff changeset
     6
<table cellspacing="5" cellpadding="3">
d424b9668a74 implemented list toppers function
nishanth
parents:
diff changeset
     7
	<tr align="center">
d424b9668a74 implemented list toppers function
nishanth
parents:
diff changeset
     8
			<td> Name </td>
d424b9668a74 implemented list toppers function
nishanth
parents:
diff changeset
     9
			<td> Profession </td>
d424b9668a74 implemented list toppers function
nishanth
parents:
diff changeset
    10
			<td> Score </td>
d424b9668a74 implemented list toppers function
nishanth
parents:
diff changeset
    11
	</tr>
d424b9668a74 implemented list toppers function
nishanth
parents:
diff changeset
    12
	{% for quiz in sorted_quizzes %}
d424b9668a74 implemented list toppers function
nishanth
parents:
diff changeset
    13
	<tr align="center">
42
007d87112911 created a user_dump page that shows all the answers entered by user at one place
nishanth
parents: 41
diff changeset
    14
			<td><a href="/quiz/user_dump/{{admin_key}}/{{quiz.key}}/{{quiz.user.username}}">{{quiz.user.get_full_name}}</a></td>
41
d424b9668a74 implemented list toppers function
nishanth
parents:
diff changeset
    15
			<td>{{quiz.user.get_profile.profession}}</td>
d424b9668a74 implemented list toppers function
nishanth
parents:
diff changeset
    16
			<td>{{quiz.score}}</td>
d424b9668a74 implemented list toppers function
nishanth
parents:
diff changeset
    17
	</tr>
70
911a24ae80d6 now list of toppers can be seen only if atleast one user has taken the quiz.
nishanth
parents: 42
diff changeset
    18
        {% endfor %}
911a24ae80d6 now list of toppers can be seen only if atleast one user has taken the quiz.
nishanth
parents: 42
diff changeset
    19
{% else %}
911a24ae80d6 now list of toppers can be seen only if atleast one user has taken the quiz.
nishanth
parents: 42
diff changeset
    20
No user has taken {{quiz_name}} yet.
911a24ae80d6 now list of toppers can be seen only if atleast one user has taken the quiz.
nishanth
parents: 42
diff changeset
    21
{% endif %}
41
d424b9668a74 implemented list toppers function
nishanth
parents:
diff changeset
    22
{% endblock %}