Line | |
---|
1 | <metal:html tal:define="departments context/getStudentStatistics; |
---|
2 | mtool here/portal_membership; |
---|
3 | member mtool/getAuthenticatedMember;" |
---|
4 | > |
---|
5 | <metal:body use-macro="here/main_template/macros/master"> |
---|
6 | <metal:main fill-slot="main"> |
---|
7 | <span tal:condition="isAnon"> |
---|
8 | </span> |
---|
9 | <a href="search_students"><strong>Search Students</strong></a> |
---|
10 | <h3>Student Statistics</h3> |
---|
11 | <br /> |
---|
12 | <span tal:condition="not:isAnon"> |
---|
13 | <table> |
---|
14 | <tr class="odd ajaxtd"> |
---|
15 | <th >Department</th> |
---|
16 | <th align="right">Students</th> |
---|
17 | <th align="right">CPE</th> |
---|
18 | <th align="right">CR</th> |
---|
19 | <th align="right">VC</th> |
---|
20 | </tr> |
---|
21 | <tr tal:repeat="d departments" |
---|
22 | tal:attributes="class python:test(repeat['d'].even(), 'even ajaxtd', 'odd ajaxtd')"> |
---|
23 | <td width="80px"> <span tal:content="d/id" /> </td> |
---|
24 | <td width="80px" align="right" tal:content="d/students" /> |
---|
25 | <td width="80px" align="right" tal:content="d/clearance_pin_entered" /> |
---|
26 | <td width="80px" align="right" tal:content="d/clearance_requested" /> |
---|
27 | <td width="80px" align="right" tal:content="d/cleared_and_validated" /> |
---|
28 | </tr> |
---|
29 | </table> |
---|
30 | <br /> |
---|
31 | <table> |
---|
32 | <tr><td>CPE:</td> <td>Clearance PIN entered</td></tr> |
---|
33 | <tr><td>CR: </td> <td>Clearance requested</td></tr> |
---|
34 | <tr><td>VC: </td> <td>Validated and cleared</td></tr> |
---|
35 | </table> |
---|
36 | |
---|
37 | </span> |
---|
38 | </metal:main> |
---|
39 | </metal:body> |
---|
40 | </metal:html> |
---|
Note: See
TracBrowser for help on using the repository browser.