Changeset 492 for WAeUP_SRP/trunk


Ignore:
Timestamp:
7 Sep 2006, 19:19:40 (18 years ago)
Author:
Henrik Bettermann
Message:

application forms modified

Location:
WAeUP_SRP/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/profiles/default/layouts/student_application.xml

    r488 r492  
    2424  </property>
    2525  <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>
    2828  <property name="readonly_layout_modes">
    2929   <element value="edit"/>
  • WAeUP_SRP/trunk/profiles/default/layouts/student_application_fe.xml

    r488 r492  
    2828  </property>
    2929  <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>
    3232  <property name="readonly_layout_modes">
    3333   <element value="edit"/>
     
    5757   <element value="jamb_first_cos"/>
    5858  </property>
    59   <property name="label">JAMB First Choice Course of Study</property>
    60   <property name="label_edit">JAMB First 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>
    6161  <property name="readonly_layout_modes">
    6262   <element value="edit"/>
     
    7272   <element value="jamb_firstname"/>
    7373  </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"/>
    8082  </property>
    8183  <property name="hidden_readonly_layout_modes"/>
     
    8688   <element value="jamb_lastname"/>
    8789  </property>
     90  <property name="label">Name</property>
     91  <property name="label_edit">Name</property>   
    8892  <property name="readonly_layout_modes">
    8993   <element value="edit"/>
     
    9599 </widget>
    96100 <widget name="jamb_middlename" meta_type="String Widget">
    97   <property name="title">JAMB Middle Name</property>
     101  <property name="title">JAMB Middlename</property>
    98102  <property name="fields">
    99103   <element value="jamb_middlename"/>
    100104  </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"/>
    106113  </property>
    107114  <property name="hidden_readonly_layout_modes"/>
     
    127134   <element value="jamb_second_cos"/>
    128135  </property>
    129   <property name="label">JAMB Second Choice Course of Study</property>
    130   <property name="label_edit">JAMB Second 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>
    131138  <property name="readonly_layout_modes">
    132139   <element value="edit"/>
     
    142149   <element value="jamb_sex"/>
    143150  </property>
    144   <property name="label">JAMB Sex</property>
    145   <property name="label_edit">JAMB Sex</property>
     151  <property name="label">Sex</property>
     152  <property name="label_edit">Sex</property>
    146153  <property name="readonly_layout_modes">
    147154   <element value="edit"/>
     
    161168  <property name="label_edit">Passport Picture</property>
    162169  <property
    163      name="help">Upload passport photograph with red background</property>
     170     name="help">Upload passport photograph with red background.</property>
    164171  <property name="readonly_layout_modes"/>
    165172  <property name="hidden_layout_modes">
     
    184191  </row>
    185192  <row>
    186    <cell name="jamb_firstname" ncols="3"/>
    187   </row>
    188   <row>
    189    <cell name="jamb_middlename" ncols="3"/>
    190   </row>
    191   <row>
    192193   <cell name="jamb_lastname" ncols="3"/>
    193194  </row>
  • WAeUP_SRP/trunk/skins/waeup_student/application_pin_form.pt

    r486 r492  
    1414    </metal:block>
    1515      <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 />
    1718        <div tal:replace="structure rendered_main" />
    1819          <p>Instructions :</p>
     
    2122            <li>Enter your JAMB registration number and the Application PIN above.</li>
    2223            <li>Upload your passport picture.</li>
     24            <li>Apply for admission.</li>
    2325            <li>Print the Application Acknowledgement Slip.</li>
    2426          </ul>
  • WAeUP_SRP/trunk/skins/waeup_student/layout_application_edit.pt

    r486 r492  
    11<!-- a layout_lib macro -->
    22<!-- $Id$ -->
     3
    34<metal:block define-macro="default_edit"
    45  tal:define="layout options/layout;
     
    1314  ">
    1415
     16 
     17  <h3>Apply for the Post University Matriculation Examination! </h3>
     18        <br />
     19 
    1520  <form action="" id="editForm" method="post"
    1621        enctype="multipart/form-data" class="workflow"
    1722        tal:attributes="action formaction"
     23       
    1824        >
    19   <table width="200" cellpadding="2" cellspacing="2" summary="Form layout"
     25  <table width="100%" cellpadding="2" cellspacing="0" summary="Form layout"
    2026         tal:condition="layout/rows">
    21     <tr tal:repeat="row layout/rows" valign="top">
    22       <td tal:repeat="cell row"
     27    <tr tal:repeat="row layout/rows" valign="top" >
     28      <span tal:repeat="cell row"
    2329          tal:attributes="colspan cell/ncols">
    2430        <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              >
    3339          <div tal:attributes="class widget_css_class;
    3440          id python:widget.getHtmlWidgetId()+'_widget';"
    3541          >
     42            <td>
    3643            <div class="label" tal:condition="widget/label_edit"
    3744                 tal:attributes="class python:test(is_required, 'label required','label')">
    3845              <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>:
    4047            </div>
    4148            <button type="button" class="tooltipControl"
    4249                    tal:condition="widget/help"
    4350                    tal:attributes="onclick python:'toggleElementVisibility(\'%s\')' % tooltip_id;"> ? </button>
    44             <div class="field">
     51            </td>
     52            <td>
     53            <span class="field">
    4554              <div tal:replace="structure cell/widget_rendered"/>
    46             </div>
     55            </span>
    4756            <div class="tooltipArea" style="visibility: hidden;"
    4857                 tal:condition="widget/help"
     
    5968              </tal:block>
    6069            </tal:block>
     70            </td>
    6171          </div>
    6272        </tal:block>
    63        </td>
     73       </span>
    6474      </tr>
    6575    </table>
    66 
     76  <br />
    6777  <input type="submit" class="standalone" name="cpsdocument_edit_button"
    6878    value="button_change" i18n:attributes="value" id="cpsdocument_edit_button"
     
    7888         i18n:attributes="value" tal:condition="creation" />
    7989
    80 </form>                             
     90</form>
     91
     92                         
    8193</metal:block>
     94
     95
Note: See TracChangeset for help on using the changeset viewer.