Changeset 492 for WAeUP_SRP/trunk
- Timestamp:
- 7 Sep 2006, 19:19:40 (18 years ago)
- Location:
- WAeUP_SRP/trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/profiles/default/layouts/student_application.xml
r488 r492 24 24 </property> 25 25 <property name="is_required">True</property> 26 <property name="label"> Pin</property>27 <property name="label_edit"> Pin</property>26 <property name="label">Application PIN</property> 27 <property name="label_edit">Application PIN</property> 28 28 <property name="readonly_layout_modes"> 29 29 <element value="edit"/> -
WAeUP_SRP/trunk/profiles/default/layouts/student_application_fe.xml
r488 r492 28 28 </property> 29 29 <property name="is_required">True</property> 30 <property name="label"> Pin</property>31 <property name="label_edit"> Pin</property>30 <property name="label">Application PIN</property> 31 <property name="label_edit">Application PIN</property> 32 32 <property name="readonly_layout_modes"> 33 33 <element value="edit"/> … … 57 57 <element value="jamb_first_cos"/> 58 58 </property> 59 <property name="label"> JAMBFirst Choice Course of Study</property>60 <property name="label_edit"> JAMBFirst Choice Course of Study</property>59 <property name="label">First Choice Course of Study</property> 60 <property name="label_edit">First Choice Course of Study</property> 61 61 <property name="readonly_layout_modes"> 62 62 <element value="edit"/> … … 72 72 <element value="jamb_firstname"/> 73 73 </property> 74 <property name="label">Name</property> 75 <property name="readonly_layout_modes"> 76 <element value="edit"/> 77 </property> 78 <property name="hidden_layout_modes"> 79 <element value="create"/> 74 <property name="label">JAMB Firstname</property> 75 <property name="label_edit">JAMB Firstname</property> 76 <property name="readonly_layout_modes"> 77 <element value="edit"/> 78 </property> 79 <property name="hidden_layout_modes"> 80 <element value="create"/> 81 <element value="edit"/> 80 82 </property> 81 83 <property name="hidden_readonly_layout_modes"/> … … 86 88 <element value="jamb_lastname"/> 87 89 </property> 90 <property name="label">Name</property> 91 <property name="label_edit">Name</property> 88 92 <property name="readonly_layout_modes"> 89 93 <element value="edit"/> … … 95 99 </widget> 96 100 <widget name="jamb_middlename" meta_type="String Widget"> 97 <property name="title">JAMB Middle Name</property>101 <property name="title">JAMB Middlename</property> 98 102 <property name="fields"> 99 103 <element value="jamb_middlename"/> 100 104 </property> 101 <property name="readonly_layout_modes"> 102 <element value="edit"/> 103 </property> 104 <property name="hidden_layout_modes"> 105 <element value="create"/> 105 <property name="label">JAMB Middlename</property> 106 <property name="label_edit">JAMB Middlename</property> 107 <property name="readonly_layout_modes"> 108 <element value="edit"/> 109 </property> 110 <property name="hidden_layout_modes"> 111 <element value="create"/> 112 <element value="edit"/> 106 113 </property> 107 114 <property name="hidden_readonly_layout_modes"/> … … 127 134 <element value="jamb_second_cos"/> 128 135 </property> 129 <property name="label"> JAMBSecond Choice Course of Study</property>130 <property name="label_edit"> JAMBSecond Choice Course of Study</property>136 <property name="label">Second Choice Course of Study</property> 137 <property name="label_edit">Second Choice Course of Study</property> 131 138 <property name="readonly_layout_modes"> 132 139 <element value="edit"/> … … 142 149 <element value="jamb_sex"/> 143 150 </property> 144 <property name="label"> JAMBSex</property>145 <property name="label_edit"> JAMBSex</property>151 <property name="label">Sex</property> 152 <property name="label_edit">Sex</property> 146 153 <property name="readonly_layout_modes"> 147 154 <element value="edit"/> … … 161 168 <property name="label_edit">Passport Picture</property> 162 169 <property 163 name="help">Upload passport photograph with red background </property>170 name="help">Upload passport photograph with red background.</property> 164 171 <property name="readonly_layout_modes"/> 165 172 <property name="hidden_layout_modes"> … … 184 191 </row> 185 192 <row> 186 <cell name="jamb_firstname" ncols="3"/>187 </row>188 <row>189 <cell name="jamb_middlename" ncols="3"/>190 </row>191 <row>192 193 <cell name="jamb_lastname" ncols="3"/> 193 194 </row> -
WAeUP_SRP/trunk/skins/waeup_student/application_pin_form.pt
r486 r492 14 14 </metal:block> 15 15 <metal:block fill-slot="main"> 16 <h1>Apply for the Post University Matriculation Examination! </h1> 16 <h3>Apply for the Post University Matriculation Examination! </h3> 17 <br /> 17 18 <div tal:replace="structure rendered_main" /> 18 19 <p>Instructions :</p> … … 21 22 <li>Enter your JAMB registration number and the Application PIN above.</li> 22 23 <li>Upload your passport picture.</li> 24 <li>Apply for admission.</li> 23 25 <li>Print the Application Acknowledgement Slip.</li> 24 26 </ul> -
WAeUP_SRP/trunk/skins/waeup_student/layout_application_edit.pt
r486 r492 1 1 <!-- a layout_lib macro --> 2 2 <!-- $Id$ --> 3 3 4 <metal:block define-macro="default_edit" 4 5 tal:define="layout options/layout; … … 13 14 "> 14 15 16 17 <h3>Apply for the Post University Matriculation Examination! </h3> 18 <br /> 19 15 20 <form action="" id="editForm" method="post" 16 21 enctype="multipart/form-data" class="workflow" 17 22 tal:attributes="action formaction" 23 18 24 > 19 <table width=" 200" cellpadding="2" cellspacing="2" summary="Form layout"25 <table width="100%" cellpadding="2" cellspacing="0" summary="Form layout" 20 26 tal:condition="layout/rows"> 21 <tr tal:repeat="row layout/rows" valign="top" >22 < tdtal:repeat="cell row"27 <tr tal:repeat="row layout/rows" valign="top" > 28 <span tal:repeat="cell row" 23 29 tal:attributes="colspan cell/ncols"> 24 30 <tal:block define="widget cell/widget; 25 wid widget/getWidgetId;26 err python:ds.getError(wid);27 err_mapping python:ds.getErrorMapping(wid);28 is_required python: widget.is_required and creation and ('create' not in widget.readonly_layout_modes);29 tooltip_id python:wid + '_help';30 widget_css_class cell/widget_css_class|nothing;31 css_class python:test(err, 'row error','row')"32 >31 wid widget/getWidgetId; 32 err python:ds.getError(wid); 33 err_mapping python:ds.getErrorMapping(wid); 34 is_required python: widget.is_required and creation and ('create' not in widget.readonly_layout_modes); 35 tooltip_id python:wid + '_help'; 36 widget_css_class cell/widget_css_class|nothing; 37 css_class python:test(err, 'row error','row')" 38 > 33 39 <div tal:attributes="class widget_css_class; 34 40 id python:widget.getHtmlWidgetId()+'_widget';" 35 41 > 42 <td> 36 43 <div class="label" tal:condition="widget/label_edit" 37 44 tal:attributes="class python:test(is_required, 'label required','label')"> 38 45 <label tal:content="widget/label_edit" 39 tal:attributes="for cell/widget_input_area_id|nothing;">label</label> 46 tal:attributes="for cell/widget_input_area_id|nothing;">label</label>: 40 47 </div> 41 48 <button type="button" class="tooltipControl" 42 49 tal:condition="widget/help" 43 50 tal:attributes="onclick python:'toggleElementVisibility(\'%s\')' % tooltip_id;"> ? </button> 44 <div class="field"> 51 </td> 52 <td> 53 <span class="field"> 45 54 <div tal:replace="structure cell/widget_rendered"/> 46 </ div>55 </span> 47 56 <div class="tooltipArea" style="visibility: hidden;" 48 57 tal:condition="widget/help" … … 59 68 </tal:block> 60 69 </tal:block> 70 </td> 61 71 </div> 62 72 </tal:block> 63 </ td>73 </span> 64 74 </tr> 65 75 </table> 66 76 <br /> 67 77 <input type="submit" class="standalone" name="cpsdocument_edit_button" 68 78 value="button_change" i18n:attributes="value" id="cpsdocument_edit_button" … … 78 88 i18n:attributes="value" tal:condition="creation" /> 79 89 80 </form> 90 </form> 91 92 81 93 </metal:block> 94 95
Note: See TracChangeset for help on using the changeset viewer.