source: WAeUP_SRP/trunk/skins/waeup_statistics/statistics_simple_view.pt @ 3904

Last change on this file since 3904 was 3709, checked in by Henrik Bettermann, 16 years ago
  • implement uniben skins, use waeup_custom skin only for default
File size: 5.0 KB
Line 
1<metal:body use-macro="here/main_template/macros/master">
2  <metal:main fill-slot="main">
3  <metal:block tal:define="faculties context/getSimpleStudentStatistics;
4                        mtool here/portal_membership;
5                        member mtool/getAuthenticatedMember;
6                        session_str python:context.getSessionId()[1]">       
7
8      <span tal:condition="not: faculties">
9        <span tal:content="here/illegal_view" />
10      </span>
11      <span tal:condition="faculties">
12 
13      <strong>
14      <nobr><a href="search_students">Search Students</a>
15      &nbsp;&nbsp;&nbsp;&nbsp;</nobr>       
16      <nobr><a href="statistics_new_view">New Student Statistics</a>
17      &nbsp;&nbsp;&nbsp;&nbsp;</nobr>
18      <nobr><a href="statistics_ret_view">Returning Student Statistics</a>
19      &nbsp;&nbsp;&nbsp;&nbsp;</nobr>     
20      </strong>     
21
22      <h3>Basic Student Statistics <span tal:content="session_str" /></h3>
23      <br />     
24      <span tal:condition="not:isAnon">
25      Student records imported: <span tal:content="python: faculties[0]['total_in_catalog']" />
26      <br />  <br /> 
27        <table > 
28
29          <tr>
30            <th>&nbsp;</th>
31           
32            <th style="border-style:solid; border-width:1px; border-color:black" align="center" colspan="3">Total</th>
33           
34            <th style="border-style:solid; border-width:1px; border-color:black" align="center" colspan="3">Category A</th>
35
36            <th style="border-style:solid; border-width:1px; border-color:black" align="center" colspan="3">Category B</th>
37
38            <th style="border-style:solid; border-width:1px; border-color:black" align="center" colspan="3">Category C</th>
39
40
41          </tr>
42
43          <tr class="odd ajaxtd">
44            <th >Faculty</th>
45            <th align="right">FT</th>
46            <th align="right">PT</th>
47            <th align="right">DP</th>
48            <th align="right">FT</th>
49            <th align="right">PT</th>
50            <th align="right">DP</th>
51            <th align="right">FT</th>
52            <th align="right">PT</th>
53            <th align="right">DP</th>
54            <th align="right">FT</th>
55            <th align="right">PT</th>
56            <th align="right">DP</th>
57
58          </tr>
59          <tr tal:repeat="d faculties"
60              tal:attributes="class python:test(repeat['d'].even(), 'even ajaxtd', 'odd ajaxtd')">
61              <td width="80px"> <span tal:content="d/id" /> </td>
62
63              <td width="60px" align="right">
64                <span tal:content="d/total_ft" />
65              </td>             
66
67              <td width="60px" align="right">
68                <span tal:content="d/total_pt" />
69              </td>             
70
71              <td width="60px" align="right">
72                <span tal:content="d/total_dp" />
73              </td>                 
74             
75              <td width="60px" align="right">
76                <span tal:content="d/total_Aft" />
77              </td>             
78
79              <td width="60px" align="right">
80                <span tal:content="d/total_Apt" />
81              </td>             
82
83              <td width="60px" align="right">
84                <span tal:content="d/total_Adp" />
85              </td>             
86
87              <td width="60px" align="right">
88                <span tal:content="d/total_Bft" />
89              </td>             
90
91              <td width="60px" align="right">
92                <span tal:content="d/total_Bpt" />
93              </td>             
94             
95              <td width="60px" align="right">
96                <span tal:content="d/total_Bdp" />
97              </td>     
98             
99              <td width="60px" align="right">
100                <span tal:content="d/total_Cft" />
101              </td>     
102             
103              <td width="60px" align="right">
104                <span tal:content="d/total_Cpt" />
105              </td>     
106             
107              <td width="60px" align="right">
108                <span tal:content="d/total_Cdp" />
109              </td>                                               
110
111                                       
112
113          </tr>
114        </table>
115
116        <br />
117        <table   border=0>
118
119        <tr><td>Category A: </td> <td>students who paid their school fee in <span tal:content="session_str" /></td></tr>
120        <tr><td>Category B: </td> <td>students who registered their courses online (A contains B) in <span tal:content="session_str" /></td></tr>
121        <tr><td>Category C: </td> <td>students who 'arrived' in <span tal:content="session_str" /> but have not yet paid their school fee</td></tr>
122        <tr><td>&nbsp;</td><td>&nbsp;</td></tr>
123        <tr><td colspan="2"><strong>Remark:</strong> <span tal:content="python: faculties[0]['not_categorized']" /> returning students have not yet logged in and are thus not categorized.
124             </td>
125        </tr>
126         
127        </table>
128       
129       
130       
131      </span>
132      </span>
133  </metal:block>     
134  </metal:main>
135</metal:body>
136     
Note: See TracBrowser for help on using the repository browser.