author | nishanth |
Fri, 16 Jul 2010 10:07:13 +0530 | |
branch | anoop |
changeset 101 | 9def10724853 |
parent 31 | ec540dfbfe78 |
permissions | -rw-r--r-- |
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 | 2 |
{% block title %} |
3 |
Registration Statistics |
|
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 | 6 |
<form action="" method="post"> |
7 |
<!-- |
|
8 |
Topics: <input name="topics" value=""{{topics}}> <br /> |
|
9 |
Knowledge of Python: <input name="python_knowledge" value="{{python_knowledge}}"> <br /> |
|
10 |
Knowledge of Sage: <input name="sage_knowledge" value="{{sage_knowledge}}"> <br /> |
|
11 |
Likeliness of atttending: <input name="likeliness_of_attending" value="{{likeliness_of_attending}}"> <br /> |
|
12 |
--> |
|
13 |
{{form.as_p}} |
|
14 |
<input type="submit" value="Search"> |
|
15 |
</form> |
|
16 |
No.of candidates found: {{matches.count}}<br /> |
|
17 |
<br /> |
|
18 |
<table cellpadding=5 border=1> |
|
19 |
||
20 |
<tr> |
|
21 |
<td>Name</td> |
|
22 |
<td>E Mail</td> |
|
23 |
<td>Gender</td> |
|
24 |
<td>Profession</td> |
|
25 |
<td>Institution/Company</td> |
|
26 |
<td>Knowledge of other tools</td> |
|
27 |
<td>Phone Number</td> |
|
28 |
<td>Address</td> |
|
29 |
</tr> |
|
30 |
{% for user in matches %} |
|
31 |
<tr> |
|
32 |
<td>{{user.first_name.title}} {{user.last_name.title}}</td> |
|
33 |
<td>{{user.email}}</td> |
|
34 |
<td>{{user.gender}}</td> |
|
35 |
<td>{{user.profession}}</td> |
|
36 |
<td>{{user.affiliated_to}}</td> |
|
37 |
<td>{{user.tools_used}}</td> |
|
38 |
<td>{{user.phone_num}}</td> |
|
39 |
<td>{{user.address|linebreaksbr}}</td> |
|
40 |
</tr> |
|
41 |
{% endfor %} |
|
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 %} |