templates/list_stats.html
author nishanth
Tue, 20 Jul 2010 12:59:40 +0530
branchanoop
changeset 143 a752dc99e23c
parent 31 ec540dfbfe78
permissions -rw-r--r--
added link to sprint_info and created a basic template

{% extends 'base.html' %}
{% block title %}
Registration Statistics
{% endblock %}
{% block content %}
<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>
{% endblock %}