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