templates/list_stats.html
author nishanth
Sat, 29 May 2010 19:35:49 +0530
changeset 25 30baf3c635c5
child 26 212fcba4459e
permissions -rw-r--r--
added list statiscs page

<html>
<body>
<form action="" method="post">
<!--
Topics: <input name="topics" value=""{{topics}}> <br />
Knowledge of Python: <input name="python_knowledge" value="{{python_knowledge}}"> <br />
Knowledge of Sage: <input name="sage_knowledge" value="{{sage_knowledge}}"> <br />
Likeliness of atttending: <input name="likeliness_of_attending" value="{{likeliness_of_attending}}"> <br />
-->
{{form.as_p}}
<input type="submit" value="Search">
</form>
No.of candidates found: {{matches.count}}<br />
<br />
<table cellpadding=5 border=1>

<tr>
<td>Name</td>
<td>E Mail</td>
<td>Gender</td>
<td>Profession</td>
<td>Institution/Company</td>
<td>Knowledge of other tools</td>
<td>Phone Number</td>
<td>Address</td>
</tr>
{% for user in matches %}
	<tr>
		<td>{{user.first_name.title}} {{user.last_name.title}}</td>
		<td>{{user.email}}</td>
		<td>{{user.gender}}</td>
		<td>{{user.profession}}</td>
		<td>{{user.affiliated_to}}</td>
		<td>{{user.tools_used}}</td>
		<td>{{user.phone_num}}</td>
		<td>{{user.address|linebreaksbr}}</td>
	</tr>
{% endfor %}
</table>

</body>
</html>