source: WAeUP_SRP/trunk/skins/waeup_student/statistics_view.pt @ 1098

Last change on this file since 1098 was 1096, checked in by Henrik Bettermann, 18 years ago

redirect to illegal_view.py

File size: 1.8 KB
Line 
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 >Department</th>
20            <th align="right">Students</th>
21            <th align="right">CPE</th>
22            <th align="right">CR</th>
23            <th align="right">VC</th>
24          </tr>
25          <tr tal:repeat="d departments"
26              tal:attributes="class python:test(repeat['d'].even(), 'even ajaxtd', 'odd ajaxtd')">
27            <td width="80px"> <span tal:content="d/id" /> </td>
28            <td width="80px" align="right" tal:content="d/students" />
29            <td width="80px" align="right" tal:content="d/clearance_pin_entered" />
30            <td width="80px" align="right" tal:content="d/clearance_requested" />
31            <td width="80px" align="right" tal:content="d/cleared_and_validated" />
32          </tr>
33        </table>
34        <br />
35        <table>
36        <tr><td>CPE:</td> <td>Clearance PIN entered</td></tr>
37        <tr><td>CR: </td> <td>Clearance requested</td></tr>
38        <tr><td>VC: </td> <td>Validated and cleared</td></tr>
39        </table>
40       
41      </span>
42    </metal:main>
43  </metal:body>
44</metal:block>     
45</metal:html>
Note: See TracBrowser for help on using the repository browser.