[1259] | 1 | <metal:body use-macro="here/main_template/macros/master"> |
---|
| 2 | <metal:main fill-slot="main" |
---|
| 3 | tal:define="rendered options/rendered; |
---|
| 4 | portal_status_message options/psm; |
---|
| 5 | students options/students; |
---|
| 6 | info options/info|nothing; |
---|
[1593] | 7 | is_so context/isSectionOfficer; |
---|
[1259] | 8 | allowed options/allowed|nothing" |
---|
| 9 | > |
---|
[920] | 10 | <span tal:condition="not: allowed"> |
---|
[1096] | 11 | <span tal:content="here/illegal_view" /> |
---|
[920] | 12 | </span> |
---|
[1065] | 13 | <span tal:condition="allowed" tal:omit-tag=""> |
---|
[1531] | 14 | |
---|
| 15 | <strong> |
---|
| 16 | <nobr><a href="statistics_new_view">New Student Statistics</a> |
---|
| 17 | </nobr> |
---|
| 18 | <nobr><a href="statistics_ret_view">Returning Student Statistics</a> |
---|
| 19 | </nobr> |
---|
| 20 | <nobr><a href="statistics_reg_view">Registration Statistics</a> |
---|
| 21 | </nobr> |
---|
| 22 | <nobr><a href="list_students">Cleared Student Export</a> |
---|
| 23 | </nobr> |
---|
| 24 | <span tal:condition="is_so"> |
---|
[1593] | 25 | <nobr><a href="view_logs">View Log Files</a> |
---|
| 26 | </nobr> |
---|
[1531] | 27 | <nobr><a href="add_student">Add Student Record</a> |
---|
| 28 | </nobr> |
---|
| 29 | <nobr><a href="paid_transfer_list">Export Transfer Students</a></nobr> |
---|
| 30 | </span> |
---|
| 31 | </strong> |
---|
[1570] | 32 | |
---|
[1471] | 33 | |
---|
[1065] | 34 | <h3> Search Student Section</h3><br /> |
---|
[1085] | 35 | You are logged in as member <span tal:replace="info/member|nothing" /> |
---|
[1065] | 36 | <span tal:condition="info/faculties|nothing" tal:omit-tag=""> |
---|
[1068] | 37 | who is ClearanceOfficer for Faculty |
---|
[1065] | 38 | <span tal:repeat="faculty info/faculties" tal:content="faculty" /> |
---|
| 39 | </span> |
---|
| 40 | <span tal:condition="info/departments|nothing" tal:omit-tag=""> |
---|
[1068] | 41 | and <span tal:repeat="department info/departments|nothing" tal:content="department"/></span>. |
---|
| 42 | <br /><br /> |
---|
[1065] | 43 | <span tal:replace="structure rendered" /> |
---|
[1192] | 44 | <span tal:condition="students"> |
---|
| 45 | <span |
---|
| 46 | tal:define="items students; |
---|
| 47 | columns python:3; |
---|
| 48 | items_per_page python:40; |
---|
| 49 | max_items python:300; |
---|
| 50 | zoom python:0; |
---|
| 51 | batches_all python:here.getBatchList(items,columns, items_per_page,zoom,max_items=400); |
---|
| 52 | batches python:batches_all[0]; |
---|
| 53 | batch_info python:batches_all[1]; |
---|
| 54 | zoomed python:batches_all[2]; |
---|
| 55 | mq nocall:modules/ZTUtils/make_query;" |
---|
| 56 | tal:omit-tag="" |
---|
| 57 | > |
---|
| 58 | <tal:block tal:condition="python: items and batch_info and batch_info['nb_pages'] > 1"> |
---|
| 59 | <div class="batchLayout"> |
---|
| 60 | <span i18n:translate=""> |
---|
| 61 | Objects: |
---|
| 62 | <strong> |
---|
| 63 | <tal:block replace="batch_info/start" |
---|
| 64 | i18n:name="batch_start" /> - <tal:block replace="batch_info/limit" |
---|
| 65 | i18n:name="batch_limit" /> |
---|
| 66 | </strong> |
---|
| 67 | of <tal:block replace="batch_info/length" |
---|
| 68 | i18n:name="batch_length" /> |
---|
| 69 | </span> |
---|
| 70 | </div> |
---|
| 71 | <br /> |
---|
| 72 | </tal:block> |
---|
| 73 | <table class="contentListing" width="100%"> |
---|
| 74 | <span tal:repeat="rows batches" tal:omit-tag=""> |
---|
| 75 | <span tal:repeat="student rows"> |
---|
| 76 | <tr tal:condition="student" |
---|
| 77 | tal:attributes="class python:test(repeat['student'].even(), 'even ajaxtd', 'odd ajaxtd')"> |
---|
| 78 | <td><a href="id" tal:attributes="href string:${context/portal_url}/campus/students/${student/id}" |
---|
| 79 | tal:content="student/id"></a></td> |
---|
| 80 | <td> |
---|
| 81 | <span tal:replace="student/name" /> |
---|
| 82 | </td> |
---|
| 83 | <td><span tal:replace="student/matric_no" /></td> |
---|
| 84 | <td><span tal:replace="student/jamb_reg_no" /></td> |
---|
| 85 | <td tal:condition="options/co_view|nothing"> |
---|
| 86 | <a href="id" |
---|
| 87 | tal:attributes="href string:${context/portal_url}/campus/students/${student/id}/clearance/external_clearance_edit_form" |
---|
| 88 | target="edit" |
---|
| 89 | onclick="javascript:window.open('','edit','width=600, height=700, directories=no, toolbar=no, location=no, menubar=no, scrollbars=yes, status=no, resizable=no, dependent=no')" |
---|
| 90 | >[view and change state]</a></td> |
---|
[1593] | 91 | <td tal:condition="options/ca_view|nothing"> |
---|
| 92 | <a href="id" |
---|
| 93 | tal:attributes="href string:${context/portal_url}/campus/students/${student/id}/study_course/study_course/${student/level}/external_study_level_view" |
---|
| 94 | target="edit" |
---|
| 95 | onclick="javascript:window.open('','edit','width=600, height=700, directories=no, toolbar=no, location=no, menubar=no, scrollbars=yes, status=no, resizable=no, dependent=no')" |
---|
| 96 | >[view and validate course list]</a></td> |
---|
[1192] | 97 | </tr> |
---|
| 98 | </span> |
---|
| 99 | </span> |
---|
| 100 | </table> |
---|
| 101 | <tal:block condition="python:batch_info and batch_info['nb_pages'] > 1"> |
---|
| 102 | <div class="pageNavigationLayout"> |
---|
| 103 | <a tal:define="previous batch_info/previous" |
---|
| 104 | tal:condition="python:previous is not None" |
---|
| 105 | tal:attributes="href python:'%s?%s'%(request['URL'], |
---|
| 106 | mq(request.form, b_start=0))" |
---|
| 107 | > |
---|
| 108 | (<<)</a> |
---|
| 109 | <a tal:define="previous batch_info/previous" |
---|
| 110 | tal:condition="python:previous is not None" |
---|
| 111 | tal:attributes="href python:'%s?%s'%(request['URL'], |
---|
| 112 | mq(request.form, b_start=previous))" |
---|
| 113 | i18n:translate="batch_previous">Previous</a> |
---|
| 114 | <tal:block repeat="page batch_info/pages"> |
---|
| 115 | <tal:block condition="python:page != batch_info['start'] - 1"> |
---|
| 116 | <a tal:attributes="href python:'%s?%s'%(request['URL'], |
---|
| 117 | mq(request.form, b_start=page))" |
---|
| 118 | tal:content="repeat/page/number">1</a> |
---|
| 119 | </tal:block> |
---|
| 120 | <tal:block condition="python:page == batch_info['start'] - 1"> |
---|
| 121 | <span tal:content="string:${repeat/page/number}" /> |
---|
| 122 | </tal:block> |
---|
| 123 | </tal:block> |
---|
| 124 | <a tal:define="next batch_info/next" |
---|
| 125 | tal:condition="python:next is not None" |
---|
| 126 | tal:attributes="href python:'%s?%s'%(request['URL'], |
---|
| 127 | mq(request.form, b_start=next))" |
---|
| 128 | i18n:translate="batch_next">Next</a> |
---|
| 129 | <a tal:define="next batch_info/next; |
---|
| 130 | last_page python:batch_info['pages'][-1]" |
---|
| 131 | tal:condition="python:next is not None" |
---|
| 132 | tal:attributes="href python:'%s?%s'%(request['URL'], |
---|
| 133 | mq(request.form, b_start=last_page))" |
---|
| 134 | > |
---|
| 135 | (>>)</a> |
---|
| 136 | </div> |
---|
| 137 | </tal:block> |
---|
[920] | 138 | </span> |
---|
[1192] | 139 | </span> |
---|
[920] | 140 | </span> |
---|
| 141 | </metal:main> |
---|
[1259] | 142 | </metal:body> |
---|
[920] | 143 | |
---|