Commit | Line | Data |
---|---|---|
9c29b8d4 | 1 | {% extends "admin/base_site.html" %} |
03ba3d5f | 2 | {% load sep %} |
9c29b8d4 EMS |
3 | |
4 | {% block breadcrumbs %}{% endblock %} | |
5 | {% block content %} | |
6 | <h1>Statistiques</h1> | |
7 | ||
03ba3d5f EMS |
8 | <table> |
9 | <thead> | |
10 | <tr> | |
11 | <th></th> | |
12 | <th>Hommes</th> | |
13 | <th>Femmes</th> | |
14 | <th>Total</th> | |
15 | </tr> | |
16 | </thead> | |
17 | <tbody> | |
18 | <tr> | |
9c29b8d4 | 19 | |
03ba3d5f EMS |
20 | <td> |
21 | Nombre de chercheurs | |
22 | </td> | |
15ceabe6 EMS |
23 | <td><a href="{% url admin:chercheurs_chercheur_changelist %}?genre=m">{{ nb_hommes }}</a></td> |
24 | <td><a href="{% url admin:chercheurs_chercheur_changelist %}?genre=f">{{ nb_femmes }}</a></td> | |
25 | <td><a href="{% url admin:chercheurs_chercheur_changelist %}">{{ nb_chercheurs }}</a></td> | |
03ba3d5f EMS |
26 | </tr> |
27 | <tr> | |
28 | <td> | |
29 | Fiches mises à jour depuis le 17 novembre 2010 | |
30 | </td> | |
31 | <td>{{ mises_a_jour_hommes }}</td> | |
32 | <td>{{ mises_a_jour_femmes }}</td> | |
33 | <td>{{ mises_a_jour }}</td> | |
34 | </tr> | |
35 | </tbody> | |
36 | </table> | |
37 | ||
38 | <div class="subcol"> | |
39 | <h2>Chercheurs par région</h2> | |
40 | ||
41 | <table> | |
42 | <thead> | |
43 | <tr> | |
44 | <th>Région</th> | |
45 | <th>Hommes</th> | |
46 | <th>Femmes</th> | |
47 | <th>Total</th> | |
48 | </tr> | |
49 | </thead> | |
50 | <tbody> | |
51 | {% for region in regions %} | |
52 | <tr> | |
53 | <td>{{ region.nom }}</td> | |
15ceabe6 EMS |
54 | <td> |
55 | <a href="{% url admin:chercheurs_chercheur_changelist %}?genre=m®ion={{ region.id }}" | |
56 | >{{ hommes_par_region|getitem:region.id }}</a> | |
57 | </td> | |
58 | <td> | |
59 | <a href="{% url admin:chercheurs_chercheur_changelist %}?genre=f®ion={{ region.id }}" | |
60 | >{{ femmes_par_region|getitem:region.id }}</a> | |
61 | </td> | |
62 | <td> | |
63 | <a href="{% url admin:chercheurs_chercheur_changelist %}?region={{ region.id }}" | |
64 | >{{ chercheurs_par_region|getitem:region.id }}</a> | |
65 | </td> | |
03ba3d5f EMS |
66 | </tr> |
67 | {% endfor %} | |
68 | </tbody> | |
15ceabe6 EMS |
69 | </table> |
70 | ||
71 | <h2>Chercheurs du Nord et du Sud</h2> | |
72 | <table> | |
73 | <thead> | |
74 | <th></th> | |
75 | <th>Hommes</th> | |
76 | <th>Femmes</th> | |
77 | <th>Total</th> | |
78 | </thead> | |
03ba3d5f EMS |
79 | <tbody> |
80 | {% for hemisphere in hemispheres %} | |
81 | <tr> | |
82 | <td>{{ hemisphere }}</td> | |
15ceabe6 EMS |
83 | <td> |
84 | <a href="{% url admin:chercheurs_chercheur_changelist %}?genre=m&nord_sud={{ hemisphere }}" | |
85 | >{{ hommes_par_hemisphere|getitem:hemisphere }}</a> | |
86 | </td> | |
87 | <td> | |
88 | <a href="{% url admin:chercheurs_chercheur_changelist %}?genre=f&nord_sud={{ hemisphere }}" | |
89 | >{{ femmes_par_hemisphere|getitem:hemisphere }}</a> | |
90 | </td> | |
91 | <td> | |
92 | <a href="{% url admin:chercheurs_chercheur_changelist %}?nord_sud={{ hemisphere }}" | |
93 | >{{ chercheurs_par_hemisphere|getitem:hemisphere }}</a> | |
94 | </td> | |
03ba3d5f EMS |
95 | </tr> |
96 | {% endfor %} | |
97 | </tbody> | |
98 | </table> | |
99 | ||
100 | <h2>Chercheurs par domaine de recherche</h2> | |
101 | ||
102 | <table> | |
103 | <thead> | |
104 | <tr> | |
105 | <th>Domaine de recherche</th> | |
106 | <th>Hommes</th> | |
107 | <th>Femmes</th> | |
108 | <th>Total</th> | |
109 | </tr> | |
110 | </thead> | |
111 | <tbody> | |
112 | {% for domaine in domaines %} | |
113 | <tr> | |
114 | <td>{{ domaine.nom }}</td> | |
15ceabe6 EMS |
115 | <td> |
116 | <a href="{% url admin:chercheurs_chercheur_changelist %}?genre=m&groupes={{ domaine.id }}" | |
117 | >{{ hommes_par_domaine|getitem:domaine.id }}</a> | |
118 | </td> | |
119 | <td> | |
120 | <a href="{% url admin:chercheurs_chercheur_changelist %}?genre=f&groupes={{ domaine.id }}" | |
121 | >{{ femmes_par_domaine|getitem:domaine.id }}</a> | |
122 | </td> | |
123 | <td> | |
124 | <a href="{% url admin:chercheurs_chercheur_changelist %}?groupes={{ domaine.id }}" | |
125 | >{{ chercheurs_par_domaine|getitem:domaine.id }}</a> | |
126 | </td> | |
03ba3d5f EMS |
127 | </tr> |
128 | {% endfor %} | |
129 | </tbody> | |
130 | </table> | |
6508c994 | 131 | |
aa3fdb2a | 132 | <h2>Chercheurs par communauté de chercheurs</h2> |
6508c994 PP |
133 | |
134 | <table> | |
135 | <thead> | |
136 | <tr> | |
aa3fdb2a | 137 | <th>Communauté de chercheurs</th> |
6508c994 PP |
138 | <th>Hommes</th> |
139 | <th>Femmes</th> | |
140 | <th>Total</th> | |
141 | </tr> | |
142 | </thead> | |
143 | <tbody> | |
144 | {% for groupe in groupeschercheurs %} | |
145 | <tr> | |
146 | <td>{{ groupe.nom }}</td> | |
147 | <td> | |
148 | <a href="{% url admin:chercheurs_chercheur_changelist %}?genre=m&groupes={{ groupe.id }}" | |
149 | >{{ hommes_par_groupe|getitem:groupe.id }}</a> | |
150 | </td> | |
151 | <td> | |
152 | <a href="{% url admin:chercheurs_chercheur_changelist %}?genre=f&groupes={{ groupe.id }}" | |
153 | >{{ femmes_par_groupe|getitem:groupe.id }}</a> | |
154 | </td> | |
155 | <td> | |
156 | <a href="{% url admin:chercheurs_chercheur_changelist %}?groupes={{ groupe.id }}" | |
157 | >{{ chercheurs_par_groupe|getitem:groupe.id }}</a> | |
158 | </td> | |
159 | </tr> | |
160 | {% endfor %} | |
161 | </tbody> | |
162 | </table> | |
03ba3d5f EMS |
163 | </div> |
164 | ||
165 | <div class="subcol"> | |
166 | <h2>Chercheurs par discipline</h2> | |
167 | ||
168 | <table> | |
169 | <thead> | |
170 | <tr> | |
171 | <th>Discipline</th> | |
172 | <th>Hommes</th> | |
173 | <th>Femmes</th> | |
174 | <th>Total</th> | |
175 | </tr> | |
176 | </thead> | |
177 | <tbody> | |
178 | {% for discipline in disciplines %} | |
179 | <tr> | |
180 | <td>{{ discipline.nom }}</td> | |
15ceabe6 EMS |
181 | <td> |
182 | <a href="{% url admin:chercheurs_chercheur_changelist %}?genre=m&discipline={{ discipline.id }}" | |
183 | >{{ hommes_par_discipline|getitem:discipline.id }}</a> | |
184 | </td> | |
185 | <td> | |
186 | <a href="{% url admin:chercheurs_chercheur_changelist %}?genre=f&discipline={{ discipline.id }}" | |
187 | >{{ femmes_par_discipline|getitem:discipline.id }}</a> | |
188 | </td> | |
189 | <td> | |
190 | <a href="{% url admin:chercheurs_chercheur_changelist %}?discipline={{ discipline.id }}" | |
191 | >{{ chercheurs_par_discipline|getitem:discipline.id }}</a> | |
192 | </td> | |
03ba3d5f EMS |
193 | </tr> |
194 | {% endfor %} | |
195 | </tbody> | |
196 | </table> | |
197 | </div> | |
9c29b8d4 | 198 | {% endblock %} |