templates/list_stats.html
author anoop
Thu, 03 Jun 2010 19:06:14 +0530
branchanoop
changeset 26 212fcba4459e
parent 25 30baf3c635c5
child 31 ec540dfbfe78
permissions -rw-r--r--
changed the app to work with apache + added base.html, and did needed changes.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
26
212fcba4459e changed the app to work with apache + added base.html, and did needed changes.
anoop
parents: 25
diff changeset
     1
{% extends 'base.html' %}
212fcba4459e changed the app to work with apache + added base.html, and did needed changes.
anoop
parents: 25
diff changeset
     2
{% block content %}
25
30baf3c635c5 added list statiscs page
nishanth
parents:
diff changeset
     3
<form action="" method="post">
30baf3c635c5 added list statiscs page
nishanth
parents:
diff changeset
     4
<!--
30baf3c635c5 added list statiscs page
nishanth
parents:
diff changeset
     5
Topics: <input name="topics" value=""{{topics}}> <br />
30baf3c635c5 added list statiscs page
nishanth
parents:
diff changeset
     6
Knowledge of Python: <input name="python_knowledge" value="{{python_knowledge}}"> <br />
30baf3c635c5 added list statiscs page
nishanth
parents:
diff changeset
     7
Knowledge of Sage: <input name="sage_knowledge" value="{{sage_knowledge}}"> <br />
30baf3c635c5 added list statiscs page
nishanth
parents:
diff changeset
     8
Likeliness of atttending: <input name="likeliness_of_attending" value="{{likeliness_of_attending}}"> <br />
30baf3c635c5 added list statiscs page
nishanth
parents:
diff changeset
     9
-->
30baf3c635c5 added list statiscs page
nishanth
parents:
diff changeset
    10
{{form.as_p}}
30baf3c635c5 added list statiscs page
nishanth
parents:
diff changeset
    11
<input type="submit" value="Search">
30baf3c635c5 added list statiscs page
nishanth
parents:
diff changeset
    12
</form>
30baf3c635c5 added list statiscs page
nishanth
parents:
diff changeset
    13
No.of candidates found: {{matches.count}}<br />
30baf3c635c5 added list statiscs page
nishanth
parents:
diff changeset
    14
<br />
30baf3c635c5 added list statiscs page
nishanth
parents:
diff changeset
    15
<table cellpadding=5 border=1>
30baf3c635c5 added list statiscs page
nishanth
parents:
diff changeset
    16
30baf3c635c5 added list statiscs page
nishanth
parents:
diff changeset
    17
<tr>
30baf3c635c5 added list statiscs page
nishanth
parents:
diff changeset
    18
<td>Name</td>
30baf3c635c5 added list statiscs page
nishanth
parents:
diff changeset
    19
<td>E Mail</td>
30baf3c635c5 added list statiscs page
nishanth
parents:
diff changeset
    20
<td>Gender</td>
30baf3c635c5 added list statiscs page
nishanth
parents:
diff changeset
    21
<td>Profession</td>
30baf3c635c5 added list statiscs page
nishanth
parents:
diff changeset
    22
<td>Institution/Company</td>
30baf3c635c5 added list statiscs page
nishanth
parents:
diff changeset
    23
<td>Knowledge of other tools</td>
30baf3c635c5 added list statiscs page
nishanth
parents:
diff changeset
    24
<td>Phone Number</td>
30baf3c635c5 added list statiscs page
nishanth
parents:
diff changeset
    25
<td>Address</td>
30baf3c635c5 added list statiscs page
nishanth
parents:
diff changeset
    26
</tr>
30baf3c635c5 added list statiscs page
nishanth
parents:
diff changeset
    27
{% for user in matches %}
30baf3c635c5 added list statiscs page
nishanth
parents:
diff changeset
    28
	<tr>
30baf3c635c5 added list statiscs page
nishanth
parents:
diff changeset
    29
		<td>{{user.first_name.title}} {{user.last_name.title}}</td>
30baf3c635c5 added list statiscs page
nishanth
parents:
diff changeset
    30
		<td>{{user.email}}</td>
30baf3c635c5 added list statiscs page
nishanth
parents:
diff changeset
    31
		<td>{{user.gender}}</td>
30baf3c635c5 added list statiscs page
nishanth
parents:
diff changeset
    32
		<td>{{user.profession}}</td>
30baf3c635c5 added list statiscs page
nishanth
parents:
diff changeset
    33
		<td>{{user.affiliated_to}}</td>
30baf3c635c5 added list statiscs page
nishanth
parents:
diff changeset
    34
		<td>{{user.tools_used}}</td>
30baf3c635c5 added list statiscs page
nishanth
parents:
diff changeset
    35
		<td>{{user.phone_num}}</td>
30baf3c635c5 added list statiscs page
nishanth
parents:
diff changeset
    36
		<td>{{user.address|linebreaksbr}}</td>
30baf3c635c5 added list statiscs page
nishanth
parents:
diff changeset
    37
	</tr>
30baf3c635c5 added list statiscs page
nishanth
parents:
diff changeset
    38
{% endfor %}
30baf3c635c5 added list statiscs page
nishanth
parents:
diff changeset
    39
</table>
26
212fcba4459e changed the app to work with apache + added base.html, and did needed changes.
anoop
parents: 25
diff changeset
    40
{% endblock %}