Changeset 842


Ignore:
Timestamp:
11 Nov 2006, 13:51:20 (18 years ago)
Author:
Henrik Bettermann
Message:

layouts beautified
cpsdocument_edit_form.pt should not be used for clearance objects, has to be changed

Location:
WAeUP_SRP/trunk/skins
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/skins/waeup_custom/cpsdocument_edit_form.pt

    r809 r842  
    6565  </metal:block>
    6666
     67 
    6768  <metal:block fill-slot="header">
    68     <h1 tal:condition="creation" i18n:translate="">
     69    <h3 tal:condition="creation" i18n:translate="">
    6970      Create a document of type
    7071      <tal:block i18n:name="type_name" i18n:translate=""
     
    7273                        type_info python:here.portal_types[type_name]"
    7374            tal:content="type_info/Title">Type Title</tal:block>
    74     </h1>
    75     <h1 tal:condition="not:creation">
     75    </h3>
     76    <span tal:condition="not:creation">
     77     <a href=""
     78       tal:attributes="href string:${here/academicsParent}">
     79      <img tal:attributes="src string:${here/portal_url}/arrow_up.gif"/>
     80      Up one level
     81    </a>
     82    <h3>
    7683      <tal:block condition="python: edition and not metadata"
    7784        i18n:translate="">Edit <span id="page_title" i18n:name="title"
    78         tal:content="here/title_or_id">Page Title</span></tal:block>
     85        tal:content="here/title_or_id">Page Title</span>
     86      </tal:block>
    7987      <tal:block tal:condition="metadata"
    80         i18n:translate="">Metadata of <span i18n:name="title" tal:content="here/title_or_id">Page Title</span></tal:block>
    81     </h1>
     88        i18n:translate="">Metadata of <span i18n:name="title" tal:content="here/title_or_id">Page Title</span>
     89      </tal:block>
     90    </h3>
     91    <br />       
     92    </span>
    8293  </metal:block>
    83 
     94 
     95 
     96 
    8497  <metal:block fill-slot="main">
    8598    <form action="ACTION" method="post" id="editForm"
  • WAeUP_SRP/trunk/skins/waeup_student/layout_clearance_edit.pt

    r826 r842  
    3535          id python:widget.getHtmlWidgetId()+'_widget';"
    3636          >
    37             <td>
     37            <td valign="top">
    3838            <div class="label" tal:condition="widget/label_edit"
    3939                 tal:attributes="class python:test(is_required, 'label required','label')">
     
    4545                    tal:attributes="onclick python:'toggleElementVisibility(\'%s\')' % tooltip_id;"> ? </button>
    4646            </td>
    47             <td>
     47            <td valign="top">
    4848            <span class="field">
    4949              <div tal:replace="structure cell/widget_rendered"/>
  • WAeUP_SRP/trunk/skins/waeup_student/layout_clearance_view.pt

    r837 r842  
    2828            </tal:block>
    2929            <tal:block condition="not: widget/label">
    30             <td>
    31               <div valign="top"> no label </div>
     30            <td valign="top">
     31              <div> no label </div>
    3232            </td>
    3333            </tal:block>             
    34             <td>
     34            <td valign="top">
    3535             <div class="ddescription" tal:condition="cell" tal:content="structure cell/widget_rendered"></div>
    3636             <div class="ddescription" tal:condition="not:cell/widget_rendered"> none </div>
  • WAeUP_SRP/trunk/skins/waeup_student/widget_waeup_result_render.pt

    r841 r842  
    1111<tal:block condition="python: mode == 'view'">
    1212    <div tal:repeat="res results">
    13       <span tal:content="python:subjects_voc.get(res[0])" />&nbsp;&nbsp;<span tal:content="python:grade_voc.get(res[1])" />
     13      <span tal:content="python:subjects_voc.get(res[0])" />: <span tal:content="python:grade_voc.get(res[1])" />
    1414    </div>
    1515</tal:block>
Note: See TracChangeset for help on using the changeset viewer.