[3690] | 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 | |
---|
[5180] | 29 | <th style="border-style:solid; border-width:1px; border-color:black; text-align:center" colspan="2">Total</th> |
---|
[3690] | 30 | |
---|
[5180] | 31 | <th style="border-style:solid; border-width:1px; border-color:black; text-align:center" colspan="2">Category A</th> |
---|
[3690] | 32 | |
---|
[5180] | 33 | <th style="border-style:solid; border-width:1px; border-color:black; text-align:center" colspan="2">Category B</th> |
---|
[3690] | 34 | |
---|
[5180] | 35 | <th style="border-style:solid; border-width:1px; border-color:black; text-align:center" colspan="2">Category C</th> |
---|
[3690] | 36 | |
---|
| 37 | |
---|
| 38 | </tr> |
---|
| 39 | |
---|
| 40 | <tr class="odd ajaxtd"> |
---|
| 41 | <th >Faculty</th> |
---|
[4305] | 42 | <th style='text-align:right'>Returning</th> |
---|
| 43 | <th style='text-align:right'>New</th> |
---|
[3690] | 44 | |
---|
[4305] | 45 | <th style='text-align:right'>Returning</th> |
---|
| 46 | <th style='text-align:right'>New</th> |
---|
[3690] | 47 | |
---|
[4305] | 48 | <th style='text-align:right'>Returning</th> |
---|
| 49 | <th style='text-align:right'>New</th> |
---|
[3690] | 50 | |
---|
[4305] | 51 | <th style='text-align:right'>Returning</th> |
---|
| 52 | <th style='text-align:right'>New</th> |
---|
[3690] | 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 | |
---|
[4305] | 60 | <td width="60px" style='text-align:right'> |
---|
[3690] | 61 | <span tal:content="d/total_ft" /> |
---|
| 62 | </td> |
---|
| 63 | |
---|
[4305] | 64 | <td width="60px" style='text-align:right'> |
---|
[3690] | 65 | <span tal:content="d/total_pt" /> |
---|
| 66 | </td> |
---|
| 67 | |
---|
| 68 | |
---|
[4305] | 69 | <td width="60px" style='text-align:right'> |
---|
[3690] | 70 | <span tal:content="d/total_Aft" /> |
---|
| 71 | </td> |
---|
| 72 | |
---|
[4305] | 73 | <td width="60px" style='text-align:right'> |
---|
[3690] | 74 | <span tal:content="d/total_Apt" /> |
---|
| 75 | </td> |
---|
| 76 | |
---|
| 77 | |
---|
| 78 | |
---|
[4305] | 79 | <td width="60px" style='text-align:right'> |
---|
[3690] | 80 | <span tal:content="d/total_Bft" /> |
---|
| 81 | </td> |
---|
| 82 | |
---|
[4305] | 83 | <td width="60px" style='text-align:right'> |
---|
[3690] | 84 | <span tal:content="d/total_Bpt" /> |
---|
| 85 | </td> |
---|
| 86 | |
---|
| 87 | |
---|
| 88 | |
---|
[4305] | 89 | <td width="60px" style='text-align:right'> |
---|
[3690] | 90 | <span tal:content="d/total_Cft" /> |
---|
| 91 | </td> |
---|
| 92 | |
---|
[4305] | 93 | <td width="60px" style='text-align:right'> |
---|
[3690] | 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> </td><td> </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 | |
---|