templates/list_stats.html
changeset 25 30baf3c635c5
child 26 212fcba4459e
equal deleted inserted replaced
24:f79be1dd4a22 25:30baf3c635c5
       
     1 <html>
       
     2 <body>
       
     3 <form action="" method="post">
       
     4 <!--
       
     5 Topics: <input name="topics" value=""{{topics}}> <br />
       
     6 Knowledge of Python: <input name="python_knowledge" value="{{python_knowledge}}"> <br />
       
     7 Knowledge of Sage: <input name="sage_knowledge" value="{{sage_knowledge}}"> <br />
       
     8 Likeliness of atttending: <input name="likeliness_of_attending" value="{{likeliness_of_attending}}"> <br />
       
     9 -->
       
    10 {{form.as_p}}
       
    11 <input type="submit" value="Search">
       
    12 </form>
       
    13 No.of candidates found: {{matches.count}}<br />
       
    14 <br />
       
    15 <table cellpadding=5 border=1>
       
    16 
       
    17 <tr>
       
    18 <td>Name</td>
       
    19 <td>E Mail</td>
       
    20 <td>Gender</td>
       
    21 <td>Profession</td>
       
    22 <td>Institution/Company</td>
       
    23 <td>Knowledge of other tools</td>
       
    24 <td>Phone Number</td>
       
    25 <td>Address</td>
       
    26 </tr>
       
    27 {% for user in matches %}
       
    28 	<tr>
       
    29 		<td>{{user.first_name.title}} {{user.last_name.title}}</td>
       
    30 		<td>{{user.email}}</td>
       
    31 		<td>{{user.gender}}</td>
       
    32 		<td>{{user.profession}}</td>
       
    33 		<td>{{user.affiliated_to}}</td>
       
    34 		<td>{{user.tools_used}}</td>
       
    35 		<td>{{user.phone_num}}</td>
       
    36 		<td>{{user.address|linebreaksbr}}</td>
       
    37 	</tr>
       
    38 {% endfor %}
       
    39 </table>
       
    40 
       
    41 </body>
       
    42 </html>