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

Last change on this file since 3772 was 3690, checked in by Henrik Bettermann, 16 years ago

Move all customized skins into trunk. The waeup_custom skin together with the default profile is the BASE configuration which is identical to the Uniben set-up.

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