templates/list_toppers.html
changeset 41 d424b9668a74
child 42 007d87112911
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/templates/list_toppers.html	Thu Apr 22 00:36:08 2010 +0530
@@ -0,0 +1,18 @@
+{% extends 'base.html' %}
+{% block content %}
+List of toppers for {{quiz_name}} of {{event.title}}<br />
+<br />
+<table cellspacing="5" cellpadding="3">
+	<tr align="center">
+			<td> Name </td>
+			<td> Profession </td>
+			<td> Score </td>
+	</tr>
+	{% for quiz in sorted_quizzes %}
+	<tr align="center">
+			<td><a href="/quiz/ans_dump/{{admin_key}}/{{quiz.key}}/{{user.username}}">{{quiz.user.get_full_name}}</a></td>
+			<td>{{quiz.user.get_profile.profession}}</td>
+			<td>{{quiz.score}}</td>
+	</tr>
+	{% endfor %}
+{% endblock %}