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

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

replace deprecated align attribute (right and center)

File size: 5.2 KB
RevLine 
[3709]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           
[4305]32            <th style="border-style:solid; border-width:1px; border-color:black; text-align:center" colspan="3">Total</th>
[3709]33           
[4305]34            <th style="border-style:solid; border-width:1px; border-color:black; text-align:center" colspan="3">Category A</th>
[3709]35
[4305]36            <th style="border-style:solid; border-width:1px; border-color:black; text-align:center" colspan="3">Category B</th>
[3709]37
[4305]38            <th style="border-style:solid; border-width:1px; border-color:black; text-align:center" colspan="3">Category C</th>
[3709]39
40
41          </tr>
42
43          <tr class="odd ajaxtd">
44            <th >Faculty</th>
[4305]45            <th style='text-align:right'>FT</th>
46            <th style='text-align:right'>PT</th>
47            <th style='text-align:right'>DP</th>
48            <th style='text-align:right'>FT</th>
49            <th style='text-align:right'>PT</th>
50            <th style='text-align:right'>DP</th>
51            <th style='text-align:right'>FT</th>
52            <th style='text-align:right'>PT</th>
53            <th style='text-align:right'>DP</th>
54            <th style='text-align:right'>FT</th>
55            <th style='text-align:right'>PT</th>
56            <th style='text-align:right'>DP</th>
[3709]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
[4305]63              <td width="60px" style='text-align:right'>
[3709]64                <span tal:content="d/total_ft" />
65              </td>             
66
[4305]67              <td width="60px" style='text-align:right'>
[3709]68                <span tal:content="d/total_pt" />
69              </td>             
70
[4305]71              <td width="60px" style='text-align:right'>
[3709]72                <span tal:content="d/total_dp" />
73              </td>                 
74             
[4305]75              <td width="60px" style='text-align:right'>
[3709]76                <span tal:content="d/total_Aft" />
77              </td>             
78
[4305]79              <td width="60px" style='text-align:right'>
[3709]80                <span tal:content="d/total_Apt" />
81              </td>             
82
[4305]83              <td width="60px" style='text-align:right'>
[3709]84                <span tal:content="d/total_Adp" />
85              </td>             
86
[4305]87              <td width="60px" style='text-align:right'>
[3709]88                <span tal:content="d/total_Bft" />
89              </td>             
90
[4305]91              <td width="60px" style='text-align:right'>
[3709]92                <span tal:content="d/total_Bpt" />
93              </td>             
94             
[4305]95              <td width="60px" style='text-align:right'>
[3709]96                <span tal:content="d/total_Bdp" />
97              </td>     
98             
[4305]99              <td width="60px" style='text-align:right'>
[3709]100                <span tal:content="d/total_Cft" />
101              </td>     
102             
[4305]103              <td width="60px" style='text-align:right'>
[3709]104                <span tal:content="d/total_Cpt" />
105              </td>     
106             
[4305]107              <td width="60px" style='text-align:right'>
[3709]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.