source: WAeUP_SRP/trunk/skins/waeup_student/layout_application_view.pt @ 533

Last change on this file since 533 was 524, checked in by joachim, 18 years ago

added some files

File size: 1.2 KB
Line 
1<!-- a layout_lib macro -->
2<!-- $Id: layout_lib_default_view.pt 34052 2006-03-06 14:59:24Z atchertchian $ -->
3
4<metal:block define-macro="default_view"
5  tal:define="layout options/layout;
6              dm options/datastructure/getDataModel;
7              widgets python:context.getRenderedWidgets(layout);
8             ">
9             <span tal:condition="nothing" tal:replace="structure widgets" />
10<table width="100%" cellpadding="2" cellspacing="2" summary="layout">
11  <tr tal:repeat="row layout/rows">
12    <td tal:repeat="cell row" tal:attributes="colspan cell/ncols">
13      <tal:block define="widget cell/widget">
14      <div tal:attributes="class cell/widget_css_class|nothing;
15                           id python:widget.getHtmlWidgetId()+'_widget';
16                          ">
17        <tal:block condition="widget/label">
18          <span class="dlabel" i18n:translate="" tal:condition="widget/is_i18n"
19                tal:content="widget/label">label</span>
20          <span class="dlabel" tal:condition="not:widget/is_i18n"
21                tal:content="widget/label">label</span>
22        </tal:block>
23        <tal:block replace="structure cell/widget_rendered" />
24      </div>
25      </tal:block>
26    </td>
27  </tr>
28</table>
29</metal:block>
Note: See TracBrowser for help on using the repository browser.