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