project/templates/registration/regstats.html
author Parth buch <parth.buch.115@gmail.com>
Sat, 01 Oct 2011 03:59:03 +0530
branch2011
changeset 429 cde70fd3073c
parent 354 5fb620cdacf2
permissions -rw-r--r--
changed the handler404 and handler500 to a custom view, passing scope to get proper formed urls when displaying 404 and 500 pages
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
195
ec3f4b2e8d37 Add the tempalte to display registration details.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
     1
{% extends "base.html" %}
ec3f4b2e8d37 Add the tempalte to display registration details.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
     2
253
09ec121a7ebf Add a - to the title of the header for Registration Statistics page.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 195
diff changeset
     3
{% block title %}Registration Statistics - {% endblock %}
195
ec3f4b2e8d37 Add the tempalte to display registration details.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
     4
ec3f4b2e8d37 Add the tempalte to display registration details.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
     5
{% block content %}
ec3f4b2e8d37 Add the tempalte to display registration details.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
     6
<h1>Registration Statistics</h1>
ec3f4b2e8d37 Add the tempalte to display registration details.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
     7
ec3f4b2e8d37 Add the tempalte to display registration details.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
     8
<table class="scipycon-default-border">
ec3f4b2e8d37 Add the tempalte to display registration details.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
     9
<tr>
ec3f4b2e8d37 Add the tempalte to display registration details.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    10
 <th>Event</th>
ec3f4b2e8d37 Add the tempalte to display registration details.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    11
 <th>Number of people registered</th>
ec3f4b2e8d37 Add the tempalte to display registration details.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    12
</tr>
ec3f4b2e8d37 Add the tempalte to display registration details.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    13
<tr>
ec3f4b2e8d37 Add the tempalte to display registration details.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    14
 <td>Conference</td>
ec3f4b2e8d37 Add the tempalte to display registration details.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    15
 <td>{{ conf_num }}</td>
ec3f4b2e8d37 Add the tempalte to display registration details.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    16
</tr>
ec3f4b2e8d37 Add the tempalte to display registration details.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    17
<tr>
ec3f4b2e8d37 Add the tempalte to display registration details.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    18
 <td>Tutorials</td>
ec3f4b2e8d37 Add the tempalte to display registration details.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    19
 <td>{{ tut_num }}</td>
ec3f4b2e8d37 Add the tempalte to display registration details.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    20
</tr>
ec3f4b2e8d37 Add the tempalte to display registration details.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    21
<tr>
ec3f4b2e8d37 Add the tempalte to display registration details.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    22
 <td>Sprint</td>
ec3f4b2e8d37 Add the tempalte to display registration details.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    23
 <td>{{ sprint_num }}</td>
ec3f4b2e8d37 Add the tempalte to display registration details.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    24
</tr>
348
88cb9f42880c Number of male and female participants requesting accommodation.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 344
diff changeset
    25
<tr>
88cb9f42880c Number of male and female participants requesting accommodation.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 344
diff changeset
    26
 <td>Male participants requesting accommodation</td>
88cb9f42880c Number of male and female participants requesting accommodation.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 344
diff changeset
    27
 <td>{{ male }}</td>
88cb9f42880c Number of male and female participants requesting accommodation.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 344
diff changeset
    28
</tr>
88cb9f42880c Number of male and female participants requesting accommodation.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 344
diff changeset
    29
<tr>
88cb9f42880c Number of male and female participants requesting accommodation.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 344
diff changeset
    30
 <td>Female participants requesting accommodation</td>
88cb9f42880c Number of male and female participants requesting accommodation.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 344
diff changeset
    31
 <td>{{ female }}</td>
88cb9f42880c Number of male and female participants requesting accommodation.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 344
diff changeset
    32
</tr>
342
21dc37050a37 Make downloadable CSV for stats page.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 253
diff changeset
    33
{% for acco in acco_days %}
21dc37050a37 Make downloadable CSV for stats page.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 253
diff changeset
    34
  <tr>
352
781d7bc60cc9 Update male and female status and html page rendering for accommodation.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 351
diff changeset
    35
   <td>Accommodation requested on {{ forloop.counter|add:"11" }}th night</td>
781d7bc60cc9 Update male and female status and html page rendering for accommodation.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 351
diff changeset
    36
   <td>{{ acco.total }} (Male: {{ acco.male }} Female: {{ acco.female }})</td>
350
baf939071b60 Male and Female participants stats on website.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 349
diff changeset
    37
  </tr>
baf939071b60 Male and Female participants stats on website.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 349
diff changeset
    38
 {% endfor %}
195
ec3f4b2e8d37 Add the tempalte to display registration details.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    39
</table>
342
21dc37050a37 Make downloadable CSV for stats page.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 253
diff changeset
    40
344
47db5bd2a791 Make the Download line more visible for downloading CSV.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 342
diff changeset
    41
<br/><br/><br/>
354
5fb620cdacf2 Add the string control character for CSV full name field.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 352
diff changeset
    42
<strong>To download CSV Click 
344
47db5bd2a791 Make the Download line more visible for downloading CSV.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 342
diff changeset
    43
<a href="{% url scipycon_regstats_download params.scope %}">here</a></strong>
342
21dc37050a37 Make downloadable CSV for stats page.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 253
diff changeset
    44
195
ec3f4b2e8d37 Add the tempalte to display registration details.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    45
{% endblock content %}