source: WAeUP_SRP/trunk/skins/waeup_statistics/statistics_new_view.pt @ 3827

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

resolve ticket #462

File size: 8.9 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/getNewStudentStatistics;
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_ret_view">Returning Student Statistics</a>
17      &nbsp;&nbsp;&nbsp;&nbsp;</nobr>
18      </strong>     
19
20      <h3>New Student Statistics <span tal:content="session_str" /></h3>
21      <br />     
22      <span tal:condition="not:isAnon">
23
24      <h3>Full-Time Students (UME, DE, UG, PG)</h3>
25      <br />     
26     
27        <table>
28          <tr class="odd ajaxtd">
29            <th >Faculty</th>
30            <th align="right">Total New</th>
31            <th align="right">AD</th>
32            <th align="right">OR</th>
33            <th align="right">CPE</th>
34            <th align="right">CR</th>
35            <th align="right">VC</th>
36            <th align="right">SFP</th>
37            <th align="right">CLR</th>
38            <th align="right">CLV</th>
39
40          </tr>
41          <tr tal:repeat="d faculties"
42              tal:attributes="class python:test(repeat['d'].even(), 'even ajaxtd', 'odd ajaxtd')">
43              <td width="80px"> <span tal:content="d/id" /> </td>
44              <td width="80px" align="right">
45                <span tal:content="d/total_ft" />
46              </td>
47              <td width="80px" align="right">
48                <span tal:content="d/admitted_ft" />
49                (<span tal:content="d/admitted_ft_percent" />%)
50              </td>             
51              <td width="80px" align="right">
52                <span tal:content="d/objection_raised_ft" />
53                (<span tal:content="d/objection_raised_ft_percent" />%)
54              </td>
55              <td width="80px" align="right">
56                <span tal:content="d/clearance_pin_entered_ft" />
57                (<span tal:content="d/clearance_pin_entered_ft_percent" />%)
58              </td>
59              <td width="80px" align="right">
60                <span tal:content="d/clearance_requested_ft" />
61                (<span tal:content="d/clearance_requested_ft_percent" />%)
62              </td>
63              <td width="80px" align="right">
64                <span tal:content="d/cleared_and_validated_ft" />
65                (<span tal:content="d/cleared_and_validated_ft_percent" />%)
66              </td>
67              <td width="80px" align="right">
68                <span tal:content="d/school_fee_paid_ft" />
69                (<span tal:content="d/school_fee_paid_ft_percent" />%)
70              </td>
71              <td width="80px" align="right">
72                <span tal:content="d/courses_registered_ft" />
73                (<span tal:content="d/courses_registered_ft_percent" />%)
74              </td>
75              <td width="80px" align="right">
76                <span tal:content="d/courses_validated_ft" />
77                (<span tal:content="d/courses_validated_ft_percent" />%)
78              </td>                                         
79
80          </tr>
81        </table>
82
83      <h3>Part-Time Students (DE, UG, PG)</h3>
84      <br />     
85
86        <table>
87          <tr class="odd ajaxtd">
88            <th >Faculty</th>
89            <th align="right">Total New</th>
90            <th align="right">AD</th>
91            <th align="right">OR</th>
92            <th align="right">CPE</th>
93            <th align="right">CR</th>
94            <th align="right">VC</th>
95            <th align="right">SFP</th>
96            <th align="right">CLR</th>
97            <th align="right">CLV</th>
98
99          </tr>
100          <tr tal:repeat="d faculties"
101              tal:attributes="class python:test(repeat['d'].even(), 'even ajaxtd', 'odd ajaxtd')">
102              <td width="80px"> <span tal:content="d/id" /> </td>
103              <td width="80px" align="right">
104                <span tal:content="d/total_pt" />
105              </td>
106              <td width="80px" align="right">
107                <span tal:content="d/admitted_pt" />
108                (<span tal:content="d/admitted_pt_percent" />%)
109              </td>             
110              <td width="80px" align="right">
111                <span tal:content="d/objection_raised_pt" />
112                (<span tal:content="d/objection_raised_pt_percent" />%)
113              </td>
114              <td width="80px" align="right">
115                <span tal:content="d/clearance_pin_entered_pt" />
116                (<span tal:content="d/clearance_pin_entered_pt_percent" />%)
117              </td>
118              <td width="80px" align="right">
119                <span tal:content="d/clearance_requested_pt" />
120                (<span tal:content="d/clearance_requested_pt_percent" />%)
121              </td>
122              <td width="80px" align="right">
123                <span tal:content="d/cleared_and_validated_pt" />
124                (<span tal:content="d/cleared_and_validated_pt_percent" />%)
125              </td>
126              <td width="80px" align="right">
127                <span tal:content="d/school_fee_paid_pt" />
128                (<span tal:content="d/school_fee_paid_pt_percent" />%)
129              </td>
130              <td width="80px" align="right">
131                <span tal:content="d/courses_registered_pt" />
132                (<span tal:content="d/courses_registered_pt_percent" />%)
133              </td>
134              <td width="80px" align="right">
135                <span tal:content="d/courses_validated_pt" />
136                (<span tal:content="d/courses_validated_pt_percent" />%)
137              </td>                                         
138
139          </tr>
140        </table>
141
142      <h3>Diploma Students (full-time and part-time)</h3>
143      <br />     
144
145        <table>
146          <tr class="odd ajaxtd">
147            <th >Faculty</th>
148            <th align="right">Total New</th>
149            <th align="right">AD</th>
150            <th align="right">OR</th>
151            <th align="right">CPE</th>
152            <th align="right">CR</th>
153            <th align="right">VC</th>
154            <th align="right">SFP</th>
155            <th align="right">CLR</th>
156            <th align="right">CLV</th>
157
158          </tr>
159          <tr tal:repeat="d faculties"
160              tal:attributes="class python:test(repeat['d'].even(), 'even ajaxtd', 'odd ajaxtd')">
161              <td width="80px"> <span tal:content="d/id" /> </td>
162              <td width="80px" align="right">
163                <span tal:content="d/total_dp" />
164              </td>
165              <td width="80px" align="right">
166                <span tal:content="d/admitted_dp" />
167                (<span tal:content="d/admitted_dp_percent" />%)
168              </td>             
169              <td width="80px" align="right">
170                <span tal:content="d/objection_raised_dp" />
171                (<span tal:content="d/objection_raised_dp_percent" />%)
172              </td>
173              <td width="80px" align="right">
174                <span tal:content="d/clearance_pin_entered_dp" />
175                (<span tal:content="d/clearance_pin_entered_dp_percent" />%)
176              </td>
177              <td width="80px" align="right">
178                <span tal:content="d/clearance_requested_dp" />
179                (<span tal:content="d/clearance_requested_dp_percent" />%)
180              </td>
181              <td width="80px" align="right">
182                <span tal:content="d/cleared_and_validated_dp" />
183                (<span tal:content="d/cleared_and_validated_dp_percent" />%)
184              </td>
185              <td width="80px" align="right">
186                <span tal:content="d/school_fee_paid_dp" />
187                (<span tal:content="d/school_fee_paid_dp_percent" />%)
188              </td>
189              <td width="80px" align="right">
190                <span tal:content="d/courses_registered_dp" />
191                (<span tal:content="d/courses_registered_dp_percent" />%)
192              </td>
193              <td width="80px" align="right">
194                <span tal:content="d/courses_validated_dp" />
195                (<span tal:content="d/courses_validated_dp_percent" />%)
196              </td>                                         
197
198          </tr>
199        </table>
200
201
202        <br />
203        <table>
204        <tr><td>AD:</td> <td>Admitted</td></tr>
205        <tr><td>OR:</td> <td>Objection raised</td></tr>
206        <tr><td>CPE:</td> <td>Clearance PIN entered</td></tr>
207        <tr><td>CR: </td> <td>Clearance requested</td></tr>
208        <tr><td>VC: </td> <td>Validated and cleared</td></tr>
209        <tr><td>SFP: </td> <td>School fee paid</td></tr>
210        <tr><td>CLR: </td> <td>Course list registered</td></tr>
211        <tr><td>CLV: </td> <td>Course list validated</td></tr>               
212        </table>
213      </span>
214      </span>
215  </metal:block>     
216  </metal:main>
217</metal:body>
218     
Note: See TracBrowser for help on using the repository browser.