source: WAeUP_SRP/trunk/skins/waeup_unilorin/statistics_simple_view.pt @ 11927

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

replace deprecated align attribute (right and center)

File size: 4.4 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          </tr>
38
39          <tr class="odd ajaxtd">
40            <th >Faculty</th>
41            <th style='text-align:right'>Returning</th>
42            <th style='text-align:right'>New</th>
43
44            <th style='text-align:right'>Returning</th>
45            <th style='text-align:right'>New</th>
46
47            <th style='text-align:right'>Returning</th>
48            <th style='text-align:right'>New</th>
49
50            <th style='text-align:right'>Returning</th>
51            <th style='text-align:right'>New</th>
52
53
54          </tr>
55          <tr tal:repeat="d faculties"
56              tal:attributes="class python:test(repeat['d'].even(), 'even ajaxtd', 'odd ajaxtd')">
57              <td width="80px"> <span tal:content="d/id" /> </td>
58
59              <td width="60px" style='text-align:right'>
60                <span tal:content="d/total_ft" />
61              </td>             
62
63              <td width="60px" style='text-align:right'>
64                <span tal:content="d/total_pt" />
65              </td>             
66
67
68              <td width="60px" style='text-align:right'>
69                <span tal:content="d/total_Aft" />
70              </td>             
71
72              <td width="60px" style='text-align:right'>
73                <span tal:content="d/total_Apt" />
74              </td>             
75
76     
77
78              <td width="60px" style='text-align:right'>
79                <span tal:content="d/total_Bft" />
80              </td>             
81
82              <td width="60px" style='text-align:right'>
83                <span tal:content="d/total_Bpt" />
84              </td>             
85             
86   
87             
88              <td width="60px" style='text-align:right'>
89                <span tal:content="d/total_Cft" />
90              </td>     
91             
92              <td width="60px" style='text-align:right'>
93                <span tal:content="d/total_Cpt" />
94              </td>     
95             
96                                       
97
98                                       
99
100          </tr>
101        </table>
102
103        <br />
104        <table   border=0>
105
106        <tr><td>Category A: </td> <td>students who paid their school fee in <span tal:content="session_str" /></td></tr>
107        <tr><td>Category B: </td> <td>students who registered their courses online (A contains B) in <span tal:content="session_str" /></td></tr>
108        <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>
109        <tr><td>New: </td> <td>students in level 100 or 600</td></tr>
110        <tr><td>&nbsp;</td><td>&nbsp;</td></tr>
111        <tr><td colspan="2"><strong>Remark:</strong> <span tal:content="python: faculties[0]['not_categorized']" /> returning students are not categorized.
112             </td>
113        </tr>
114         
115        </table>
116       
117       
118       
119      </span>
120      </span>
121  </metal:block>     
122  </metal:main>
123</metal:body>
124     
Note: See TracBrowser for help on using the repository browser.