Changeset 3031
- Timestamp:
- 18 Jan 2008, 11:59:10 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/fceokene/waeup_custom/search_students_form.pt
r2601 r3031 1 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; 7 is_so context/isSectionOfficer; 8 allowed options/allowed|nothing;" 9 > 10 <span tal:condition="not: allowed"> 11 <span tal:content="here/illegal_view" /> 12 </span> 13 <span tal:condition="allowed" tal:omit-tag=""> 14 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; 7 is_so context/isSectionOfficer; 8 allowed options/allowed|nothing;" 9 > 10 <span tal:condition="not: allowed"> 11 <span tal:content="here/illegal_view" /> 12 </span> 13 <span tal:condition="allowed" tal:omit-tag=""> 15 14 <strong> 16 <nobr><a href="statistics_simple_view">Basic Student Statistics</a> 17 </nobr> 18 19 <span tal:condition="is_so"> 15 <nobr><a href="statistics_simple_view">Basic Student Statistics</a> 16 </nobr> 17 <span tal:condition="is_so"> 20 18 <nobr><a href="apply_admission_manage">Application Process</a> 21 19 </nobr> … … 24 22 <nobr><a href="add_student">Add Student Record</a> 25 23 </nobr> 26 <nobr><a href="deactivate_students">Deactivate Student Record(s)</a> 24 <nobr><a href="deactivate_students">Deactivate Student Record(s)</a></nobr> 25 </span> 26 </strong> 27 <h3> Search Student Section</h3><br /> 28 You are logged in as member <span tal:replace="info/member|nothing" /> 29 <span tal:condition="info/faculties|nothing" tal:omit-tag=""> 30 who is ClearanceOfficer for Faculty 31 <span tal:repeat="faculty info/faculties" tal:content="faculty" /> 27 32 </span> 28 </strong> 29 30 31 <h3> Search Student Section</h3><br /> 32 You are logged in as member <span tal:replace="info/member|nothing" /> 33 <span tal:condition="info/faculties|nothing" tal:omit-tag=""> 34 who is ClearanceOfficer for Faculty 35 <span tal:repeat="faculty info/faculties" tal:content="faculty" /> 36 </span> 37 <span tal:condition="info/departments|nothing" tal:omit-tag=""> 38 and <span tal:repeat="department info/departments|nothing" tal:content="department"/></span>. 39 <br /><br /> 40 <span tal:replace="structure rendered" /> 41 <span tal:condition="students"> 42 <span 43 tal:define="items students; 44 columns python:3; 45 items_per_page python:40; 46 max_items python:300; 47 zoom python:0; 48 batches_all python:here.getBatchList(items,columns, items_per_page,zoom,max_items=400); 49 batches python:batches_all[0]; 50 batch_info python:batches_all[1]; 51 zoomed python:batches_all[2]; 52 mq nocall:modules/ZTUtils/make_query;" 53 tal:omit-tag="" 33 <span tal:condition="info/departments|nothing" tal:omit-tag=""> 34 and <span tal:repeat="department info/departments|nothing" tal:content="department"/></span>. 35 <br /><br /> 36 <span tal:replace="structure rendered" /> 37 <metal:block use-macro="here/generic_lib_portal_message/macros/portal_message" /> 38 <span tal:condition="students"> 39 <span tal:define="items students; 40 columns python:3; 41 items_per_page python:40; 42 max_items python:300; 43 zoom python:0; 44 batches_all python:here.getBatchList(items,columns, items_per_page,zoom,max_items=400); 45 batches python:batches_all[0]; 46 batch_info python:batches_all[1]; 47 zoomed python:batches_all[2]; 48 mq nocall:modules/ZTUtils/make_query;" 49 tal:omit-tag=""> 50 <tal:block tal:condition="python: items and batch_info and batch_info['nb_pages'] > 1"> 51 <div class="batchLayout" i18n:translate=""> 52 Objects:<strong><tal:block replace="batch_info/start" 53 i18n:name="batch_start" /> - <tal:block replace="batch_info/limit" 54 i18n:name="batch_limit" /> 55 </strong> of <tal:block replace="batch_info/length" i18n:name="batch_length" /> 56 </div> 57 <br /> 58 </tal:block> 59 <table class="contentListing" width="100%"> 60 <span tal:repeat="rows batches" tal:omit-tag=""> 61 <span tal:repeat="student rows"> 62 <tr tal:condition="student" 63 tal:attributes="class python:test(repeat['student'].even(), 'even ajaxtd', 'odd ajaxtd')"> 64 <td><a href="id" tal:attributes="href string:${context/portal_url}/campus/students/${student/id}" 65 tal:content="student/id"></a></td> 66 <td> 67 <span tal:replace="student/name" /> 68 </td> 69 <td><span tal:replace="student/matric_no" /></td> 70 <td><span tal:replace="student/jamb_reg_no" /></td> 71 <td tal:condition="options/co_view|nothing"> 72 <a href="id" 73 tal:attributes="href string:${context/portal_url}/campus/students/${student/id}/clearance/external_clearance_edit_form" 74 target="edit" 75 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')" 76 >[view and change state]</a></td> 77 <td tal:condition="options/ca_view|nothing"> 78 <a href="id" 79 tal:attributes="href string:${context/portal_url}/campus/students/${student/id}/study_course/study_course/${student/level}/external_study_level_view" 80 target="edit" 81 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')" 82 >[view and validate course list]</a></td> 83 </tr> 84 </span> 85 </span> 86 </table> 87 <tal:block condition="python:batch_info and batch_info['nb_pages'] > 1"> 88 <div class="pageNavigationLayout"> 89 <a tal:define="previous batch_info/previous" 90 tal:condition="python:previous is not None" 91 tal:attributes="href python:'%s?%s'%(request['URL'], 92 mq(request.form, b_start=0))" 93 > 94 (<<)</a> 95 <a tal:define="previous batch_info/previous" 96 tal:condition="python:previous is not None" 97 tal:attributes="href python:'%s?%s'%(request['URL'], 98 mq(request.form, b_start=previous))" 99 i18n:translate="batch_previous">Previous</a> 100 <tal:block repeat="page batch_info/pages"> 101 <tal:block condition="python:page != batch_info['start'] - 1"> 102 <a tal:attributes="href python:'%s?%s'%(request['URL'], 103 mq(request.form, b_start=page))" 104 tal:content="repeat/page/number">1</a> 105 </tal:block> 106 <tal:block condition="python:page == batch_info['start'] - 1"> 107 <span tal:content="string:${repeat/page/number}" /> 108 </tal:block> 109 </tal:block> 110 <a tal:define="next batch_info/next" 111 tal:condition="python:next is not None" 112 tal:attributes="href python:'%s?%s'%(request['URL'], 113 mq(request.form, b_start=next))" 114 i18n:translate="batch_next">Next</a> 115 <a tal:define="next batch_info/next; 116 last_page python:batch_info['pages'][-1]" 117 tal:condition="python:next is not None" 118 tal:attributes="href python:'%s?%s'%(request['URL'], 119 mq(request.form, b_start=last_page))" 54 120 > 55 <tal:block tal:condition="python: items and batch_info and batch_info['nb_pages'] > 1"> 56 <div class="batchLayout"> 57 <span i18n:translate=""> 58 Objects: 59 <strong> 60 <tal:block replace="batch_info/start" 61 i18n:name="batch_start" /> - <tal:block replace="batch_info/limit" 62 i18n:name="batch_limit" /> 63 </strong> 64 of <tal:block replace="batch_info/length" 65 i18n:name="batch_length" /> 66 </span> 67 </div> 68 <br /> 69 </tal:block> 70 <table class="contentListing" width="100%"> 71 <span tal:repeat="rows batches" tal:omit-tag=""> 72 <span tal:repeat="student rows"> 73 <tr tal:condition="student" 74 tal:attributes="class python:test(repeat['student'].even(), 'even ajaxtd', 'odd ajaxtd')"> 75 <td><a href="id" tal:attributes="href string:${context/portal_url}/campus/students/${student/id}" 76 tal:content="student/id"></a></td> 77 <td> 78 <span tal:replace="student/name" /> 79 </td> 80 <td><span tal:replace="student/matric_no" /></td> 81 <td><span tal:replace="student/jamb_reg_no" /></td> 82 <td tal:condition="options/co_view|nothing"> 83 <a href="id" 84 tal:attributes="href string:${context/portal_url}/campus/students/${student/id}/clearance/external_clearance_edit_form" 85 target="edit" 86 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')" 87 >[view and change state]</a></td> 88 <td tal:condition="options/ca_view|nothing"> 89 <a href="id" 90 tal:attributes="href string:${context/portal_url}/campus/students/${student/id}/study_course/study_course/${student/level}/external_study_level_view" 91 target="edit" 92 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')" 93 >[view and validate course list]</a></td> 94 </tr> 95 </span> 96 </span> 97 </table> 98 <tal:block condition="python:batch_info and batch_info['nb_pages'] > 1"> 99 <div class="pageNavigationLayout"> 100 <a tal:define="previous batch_info/previous" 101 tal:condition="python:previous is not None" 102 tal:attributes="href python:'%s?%s'%(request['URL'], 103 mq(request.form, b_start=0))" 104 > 105 (<<)</a> 106 <a tal:define="previous batch_info/previous" 107 tal:condition="python:previous is not None" 108 tal:attributes="href python:'%s?%s'%(request['URL'], 109 mq(request.form, b_start=previous))" 110 i18n:translate="batch_previous">Previous</a> 111 <tal:block repeat="page batch_info/pages"> 112 <tal:block condition="python:page != batch_info['start'] - 1"> 113 <a tal:attributes="href python:'%s?%s'%(request['URL'], 114 mq(request.form, b_start=page))" 115 tal:content="repeat/page/number">1</a> 116 </tal:block> 117 <tal:block condition="python:page == batch_info['start'] - 1"> 118 <span tal:content="string:${repeat/page/number}" /> 119 </tal:block> 120 </tal:block> 121 <a tal:define="next batch_info/next" 122 tal:condition="python:next is not None" 123 tal:attributes="href python:'%s?%s'%(request['URL'], 124 mq(request.form, b_start=next))" 125 i18n:translate="batch_next">Next</a> 126 <a tal:define="next batch_info/next; 127 last_page python:batch_info['pages'][-1]" 128 tal:condition="python:next is not None" 129 tal:attributes="href python:'%s?%s'%(request['URL'], 130 mq(request.form, b_start=last_page))" 131 > 132 (>>)</a> 133 </div> 134 </tal:block> 135 </span> 121 (>>)</a> 122 </div> 123 </tal:block> 136 124 </span> 137 125 </span> 138 </metal:main> 126 </span> 127 </metal:main> 139 128 </metal:body> 140
Note: See TracChangeset for help on using the changeset viewer.