Last change
on this file since 1353 was
985,
checked in by Henrik Bettermann, 18 years ago
|
scan resolution changed
unused keys removed
|
-
Property svn:keywords set to
Id
|
File size:
2.2 KB
|
Line | |
---|
1 | <!-- a layout_lib macro --> |
---|
2 | <!-- $Id: layout_application_view_slip.pt 985 2006-12-04 22:24:44Z henrik $ --> |
---|
3 | <metal:block define-macro="default_view" |
---|
4 | tal:define="layout options/layout; |
---|
5 | dm options/datastructure/getDataModel; |
---|
6 | widgets python:context.getRenderedWidgets(layout); |
---|
7 | fields python:('jamb_reg_no', |
---|
8 | 'app_ac_pin', |
---|
9 | 'app_ac_date', |
---|
10 | 'app_email', |
---|
11 | 'app_mobile', |
---|
12 | 'jamb_lastname', |
---|
13 | 'jamb_sex', |
---|
14 | 'entry_mode', |
---|
15 | 'jamb_state', |
---|
16 | )" |
---|
17 | > |
---|
18 | <table cellpadding="10px" cellspacing=""> |
---|
19 | <tr> |
---|
20 | <tal:block define="cell widgets/passport; |
---|
21 | widget cell/widget" |
---|
22 | > |
---|
23 | <td valign="top"> |
---|
24 | <img src="img" tal:replace="structure cell/widget_rendered" /> |
---|
25 | </td> |
---|
26 | </tal:block> |
---|
27 | <td> |
---|
28 | <table width="" cellpadding="2" cellspacing="0" summary="Form layout"> |
---|
29 | <tr> |
---|
30 | <td><span class="dlabel">Student ID</span>: |
---|
31 | </td> |
---|
32 | <td> |
---|
33 | <span tal:replace="python:here.aq_parent.aq_parent.id" /> |
---|
34 | </td> |
---|
35 | </tr> |
---|
36 | <tr tal:repeat="field fields"> |
---|
37 | <tal:block tal:define="cell python: widgets[field]"> |
---|
38 | <tal:block define="widget cell/widget"> |
---|
39 | <div tal:attributes="class cell/widget_css_class|string:label; |
---|
40 | id python:widget.getHtmlWidgetId()+'_widget';" |
---|
41 | > |
---|
42 | <td > |
---|
43 | <span class="dlabel" |
---|
44 | tal:condition="widget/label" |
---|
45 | tal:content="widget/label">label</span>: |
---|
46 | </td> |
---|
47 | <td> |
---|
48 | <span tal:replace="structure cell/widget_rendered" /> |
---|
49 | </td> |
---|
50 | </div> |
---|
51 | </tal:block> |
---|
52 | </tal:block> |
---|
53 | </tr> |
---|
54 | <tr><td>Post UME Examination Date: </td><td></td></tr> |
---|
55 | </table> |
---|
56 | </td> |
---|
57 | </tr> |
---|
58 | </table> |
---|
59 | </metal:block> |
---|
Note: See
TracBrowser for help on using the repository browser.