source: WAeUP_SRP/trunk/skins/waeup_fceoyo/statistics_simple_view.pt @ 7657

Last change on this file since 7657 was 4305, checked in by Henrik Bettermann, 15 years ago

replace deprecated align attribute (right and center)

File size: 5.2 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   
17      </strong>     
18
19      <h3>Basic Student Statistics <span tal:content="session_str" /></h3>
20      <br />     
21      <span tal:condition="not:isAnon">
22      Student records imported: <span tal:content="python: faculties[0]['total_in_catalog']" />
23      <br />  <br /> 
24        <table > 
25
26          <tr>
27            <th>&nbsp;</th>
28           
29            <th style="border-style:solid; border-width:1px; border-color:black; text-align:center" colspan="3">Total</th>
30           
31            <th style="border-style:solid; border-width:1px; border-color:black; text-align:center" colspan="3">Category A</th>
32
33            <th style="border-style:solid; border-width:1px; border-color:black; text-align:center" colspan="3">Category B</th>
34
35            <th style="border-style:solid; border-width:1px; border-color:black; text-align:center" colspan="3">Category C</th>
36
37
38          </tr>
39
40          <tr class="odd ajaxtd">
41            <th >School</th>
42            <th style='text-align:right'>Returning</th>
43            <th style='text-align:right'>New</th>
44            <th style='text-align:right'>Pre-NCE</th>
45            <th style='text-align:right'>Returning</th>
46            <th style='text-align:right'>New</th>
47            <th style='text-align:right'>Pre-NCE</th>
48            <th style='text-align:right'>Returning</th>
49            <th style='text-align:right'>New</th>
50            <th style='text-align:right'>Pre-NCE</th>
51            <th style='text-align:right'>Returning</th>
52            <th style='text-align:right'>New</th>
53            <th style='text-align:right'>Pre-NCE</th>
54
55          </tr>
56          <tr tal:repeat="d faculties"
57              tal:attributes="class python:test(repeat['d'].even(), 'even ajaxtd', 'odd ajaxtd')">
58              <td width="80px"> <span tal:content="d/id" /> </td>
59
60              <td width="60px" style='text-align:right'>
61                <span tal:content="d/total_ft" />
62              </td>             
63
64              <td width="60px" style='text-align:right'>
65                <span tal:content="d/total_pt" />
66              </td>             
67
68              <td width="60px" style='text-align:right'>
69                <span tal:content="d/total_dp" />
70              </td>                 
71             
72              <td width="60px" style='text-align:right'>
73                <span tal:content="d/total_Aft" />
74              </td>             
75
76              <td width="60px" style='text-align:right'>
77                <span tal:content="d/total_Apt" />
78              </td>             
79
80              <td width="60px" style='text-align:right'>
81                <span tal:content="d/total_Adp" />
82              </td>             
83
84              <td width="60px" style='text-align:right'>
85                <span tal:content="d/total_Bft" />
86              </td>             
87
88              <td width="60px" style='text-align:right'>
89                <span tal:content="d/total_Bpt" />
90              </td>             
91             
92              <td width="60px" style='text-align:right'>
93                <span tal:content="d/total_Bdp" />
94              </td>     
95             
96              <td width="60px" style='text-align:right'>
97                <span tal:content="d/total_Cft" />
98              </td>     
99             
100              <td width="60px" style='text-align:right'>
101                <span tal:content="d/total_Cpt" />
102              </td>     
103             
104              <td width="60px" style='text-align:right'>
105                <span tal:content="d/total_Cdp" />
106              </td>                                               
107
108                                       
109
110          </tr>
111        </table>
112
113        <br />
114        <table   border=0>
115
116        <tr><td>Category A: </td> <td>students who paid their school fee in <span tal:content="session_str" /></td></tr>
117        <tr><td>Category B: </td> <td>students who registered their courses online (A contains B) in <span tal:content="session_str" /></td></tr>
118        <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>
119        <tr><td>Returning: </td> <td>students in NCE-II or NCE-III</td></tr>
120        <tr><td>New: </td> <td>students in NCE-I</td></tr>
121        <tr><td>&nbsp;</td><td>&nbsp;</td></tr>
122        <tr><td colspan="2"><strong>Remark:</strong> <span tal:content="python: faculties[0]['not_categorized']" /> returning students are not categorized.
123             </td>
124        </tr>
125         
126        </table>
127       
128       
129       
130      </span>
131      </span>
132  </metal:block>     
133  </metal:main>
134</metal:body>
135     
Note: See TracBrowser for help on using the repository browser.