[3714] | 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 | </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> </th> |
---|
| 28 | |
---|
[4305] | 29 | <th style="border-style:solid; border-width:1px; border-color:black; text-align:center" colspan="3">Total</th> |
---|
[3714] | 30 | |
---|
[4305] | 31 | <th style="border-style:solid; border-width:1px; border-color:black; text-align:center" colspan="3">Category A</th> |
---|
[3714] | 32 | |
---|
[4305] | 33 | <th style="border-style:solid; border-width:1px; border-color:black; text-align:center" colspan="3">Category B</th> |
---|
[3714] | 34 | |
---|
[4305] | 35 | <th style="border-style:solid; border-width:1px; border-color:black; text-align:center" colspan="3">Category C</th> |
---|
[3714] | 36 | |
---|
| 37 | |
---|
| 38 | </tr> |
---|
| 39 | |
---|
| 40 | <tr class="odd ajaxtd"> |
---|
| 41 | <th >School</th> |
---|
[4305] | 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> |
---|
[3714] | 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 | |
---|
[4305] | 60 | <td width="60px" style='text-align:right'> |
---|
[3714] | 61 | <span tal:content="d/total_ft" /> |
---|
| 62 | </td> |
---|
| 63 | |
---|
[4305] | 64 | <td width="60px" style='text-align:right'> |
---|
[3714] | 65 | <span tal:content="d/total_pt" /> |
---|
| 66 | </td> |
---|
| 67 | |
---|
[4305] | 68 | <td width="60px" style='text-align:right'> |
---|
[3714] | 69 | <span tal:content="d/total_dp" /> |
---|
| 70 | </td> |
---|
| 71 | |
---|
[4305] | 72 | <td width="60px" style='text-align:right'> |
---|
[3714] | 73 | <span tal:content="d/total_Aft" /> |
---|
| 74 | </td> |
---|
| 75 | |
---|
[4305] | 76 | <td width="60px" style='text-align:right'> |
---|
[3714] | 77 | <span tal:content="d/total_Apt" /> |
---|
| 78 | </td> |
---|
| 79 | |
---|
[4305] | 80 | <td width="60px" style='text-align:right'> |
---|
[3714] | 81 | <span tal:content="d/total_Adp" /> |
---|
| 82 | </td> |
---|
| 83 | |
---|
[4305] | 84 | <td width="60px" style='text-align:right'> |
---|
[3714] | 85 | <span tal:content="d/total_Bft" /> |
---|
| 86 | </td> |
---|
| 87 | |
---|
[4305] | 88 | <td width="60px" style='text-align:right'> |
---|
[3714] | 89 | <span tal:content="d/total_Bpt" /> |
---|
| 90 | </td> |
---|
| 91 | |
---|
[4305] | 92 | <td width="60px" style='text-align:right'> |
---|
[3714] | 93 | <span tal:content="d/total_Bdp" /> |
---|
| 94 | </td> |
---|
| 95 | |
---|
[4305] | 96 | <td width="60px" style='text-align:right'> |
---|
[3714] | 97 | <span tal:content="d/total_Cft" /> |
---|
| 98 | </td> |
---|
| 99 | |
---|
[4305] | 100 | <td width="60px" style='text-align:right'> |
---|
[3714] | 101 | <span tal:content="d/total_Cpt" /> |
---|
| 102 | </td> |
---|
| 103 | |
---|
[4305] | 104 | <td width="60px" style='text-align:right'> |
---|
[3714] | 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> </td><td> </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 | |
---|