1 | <metal:html tal:define="departments context/getStudentStatistics; |
---|
2 | mtool here/portal_membership; |
---|
3 | member mtool/getAuthenticatedMember;" |
---|
4 | > |
---|
5 | <span tal:condition="not: departments"> |
---|
6 | <span tal:content="here/illegal_view" /> |
---|
7 | </span> |
---|
8 | <metal:block tal:condition="departments"> |
---|
9 | <metal:body use-macro="here/main_template/macros/master"> |
---|
10 | <metal:main fill-slot="main"> |
---|
11 | <span tal:condition="isAnon"> |
---|
12 | </span> |
---|
13 | <a href="search_students"><strong>Search Students</strong></a> |
---|
14 | <h3>Student Statistics</h3> |
---|
15 | <br /> |
---|
16 | <span tal:condition="not:isAnon"> |
---|
17 | <table> |
---|
18 | <tr class="odd ajaxtd"> |
---|
19 | <th >Faculty</th> |
---|
20 | <th align="right">Total</th> |
---|
21 | <th align="right">OR</th> |
---|
22 | <th align="right">CPE</th> |
---|
23 | <th align="right">CR</th> |
---|
24 | <th align="right">VC</th> |
---|
25 | </tr> |
---|
26 | <tr tal:repeat="d departments" |
---|
27 | tal:attributes="class python:test(repeat['d'].even(), 'even ajaxtd', 'odd ajaxtd')"> |
---|
28 | <td width="80px"> <span tal:content="d/id" /> </td> |
---|
29 | <td width="80px" align="right"> |
---|
30 | <span tal:content="d/students" /> |
---|
31 | </td> |
---|
32 | <td width="80px" align="right"> |
---|
33 | <span tal:content="d/objection_raised" /> |
---|
34 | (<span tal:content="d/objection_raised_percent" />%) |
---|
35 | </td> |
---|
36 | <td width="80px" align="right"> |
---|
37 | <span tal:content="d/clearance_pin_entered" /> |
---|
38 | (<span tal:content="d/clearance_pin_entered_percent" />%) |
---|
39 | </td> |
---|
40 | <td width="80px" align="right"> |
---|
41 | <span tal:content="d/clearance_requested" /> |
---|
42 | (<span tal:content="d/clearance_requested_percent" />%) |
---|
43 | </td> |
---|
44 | <td width="80px" align="right"> |
---|
45 | <span tal:content="d/cleared_and_validated" /> |
---|
46 | (<span tal:content="d/cleared_and_validated_percent" />%) |
---|
47 | </td> |
---|
48 | </tr> |
---|
49 | </table> |
---|
50 | <br /> |
---|
51 | <table> |
---|
52 | <tr><td>OR:</td> <td>Objection raised</td></tr> |
---|
53 | <tr><td>CPE:</td> <td>Clearance PIN entered</td></tr> |
---|
54 | <tr><td>CR: </td> <td>Clearance requested</td></tr> |
---|
55 | <tr><td>VC: </td> <td>Validated and cleared</td></tr> |
---|
56 | </table> |
---|
57 | </span> |
---|
58 | </metal:main> |
---|
59 | </metal:body> |
---|
60 | </metal:block> |
---|
61 | </metal:html> |
---|