Changeset 477 for WAeUP_SRP/trunk/skins


Ignore:
Timestamp:
3 Sep 2006, 11:42:20 (19 years ago)
Author:
Henrik Bettermann
Message:

more layout work

Location:
WAeUP_SRP/trunk/skins
Files:
1 added
3 deleted
4 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/skins/waeup_default/layout_waeup_create.pt

    r290 r477  
    11<tal:block define="global creation python:1" />
    2 <metal:block use-macro="here/layout_lib_default_edit/macros/default_edit" />
     2<metal:block use-macro="here/layout_waeup_lib/macros/default_edit" />
  • WAeUP_SRP/trunk/skins/waeup_default/layout_waeup_edit.pt

    r290 r477  
    1 <metal:block use-macro="here/layout_lib_default_edit/macros/default_edit" />
     1<metal:block use-macro="here/layout_waeup_lib/macros/default_edit" />
  • WAeUP_SRP/trunk/skins/waeup_default/layout_waeup_lib.pt

    r474 r477  
    2727
    2828<!-- table view -->
     29
    2930<metal:block define-macro="table_view"
    3031             tal:define="layout options/layout">
    31 <table border="0">
     32<table border="0" width=100%>
    3233    <tal:block repeat="row layout/rows">
    3334      <tr>
     
    4041                 >
    4142              <tal:block condition="widget/label">
    42               <td valign="top">
     43              <td valign="top" width=40%>
    4344                <span i18n:translate="" tal:condition="widget/is_i18n">
    4445                    <span tal:content="widget/label" />:</span>
  • WAeUP_SRP/trunk/skins/waeup_student/application_form.pt

    r476 r477  
    1919      <tal:block tal:define="
    2020                          appl python:here.application;
    21                           appl_proxy python:appl.getContent();
    22                           clear python:here.clearance;
    23                           clear_proxy python:clear.getContent();
    24                           pers python:here.personal;
    25                           pers_proxy python:pers.getContent();"
     21                          appl_proxy python:appl.getContent();"
    2622                          >
    2723
    28       <h2>Acknowledgement Slip for <span tal:content="pers_proxy/firstname" /> <span tal:content="pers_proxy/lastname" /></h2>     
    29  
     24      <h2>Application Form for <span tal:content="appl_proxy/jamb_firstname" /> <span tal:content="appl_proxy/jamb_lastname" /></h2>     
    3025   
    31       <tal:block tal:content="structure python:appl_proxy.render(cluster='appl_slip')" />
    32       <tal:block tal:content="structure python:clear_proxy.render(cluster='appl_slip')" />
    33       <tal:block tal:content="structure python:pers_proxy.render(cluster='appl_slip')" />
    34 
     26      <tal:block tal:content="structure python:appl_proxy.renderEdit(request=request, layout_id='student_application_fe', proxy=appl_proxy, layout_mode='edit')" />
     27     
     28      <tal:block tal:content="structure python:appl_proxy.renderEdit(layout_id='student_application_fe', layout_mode='view')" />
     29           
     30      <tal:block tal:content="structure python:appl_proxy.render(layout_id='student_application_fe')" />
    3531
    3632      </tal:block> 
Note: See TracChangeset for help on using the changeset viewer.