source: trunk/skins/lemill_eun/form_template.pt @ 412

Revision 412, 5.0 KB checked in by vahur, 13 years ago (diff)

removing divs

Line 
1<metal:page define-macro="master"><metal:doctype define-slot="doctype"><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"></metal:doctype>
2<metal:block define-slot="top_slot" />
3<metal:block use-macro="here/global_defines/macros/defines" />
4
5<html xmlns="http://www.w3.org/1999/xhtml"
6      xml:lang="en"
7      lang="en"
8      tal:attributes="lang language;
9                      xml:lang language">
10
11  <head metal:use-macro="here/header/macros/html_header">
12
13    <metal:fillbase fill-slot="base">
14      <metal:baseslot define-slot="base">
15        <base href="" tal:attributes="href here/renderBase" />
16      </metal:baseslot>
17    </metal:fillbase>
18
19    <metal:headslot fill-slot="head_slot"
20                    tal:define="lang language;
21                                charset site_properties/default_charset|string:utf-8">
22
23      <metal:cache use-macro="here/global_cache_settings/macros/cacheheaders">
24        Get the global cache headers located in global_cache_settings.
25      </metal:cache>
26
27      <metal:headslot define-slot="head_slot" />
28      <tal:comment replace="nothing"> A slot where you can insert elements in the header from a template </tal:comment>
29    </metal:headslot>
30
31        <metal:cssslot fill-slot="css_slot">
32          <tal:comment replace="nothing"> A slot where you can insert CSS in the header from a template </tal:comment>
33            <tal:block tal:define="stuff here/getSectionFromURL;
34                            global section_name string:content">
35                <tal:block tal:condition="python: stuff !=None">
36                    <tal:block tal:condition="python: stuff.find('section-content') != -1 ">
37                        <tal:block tal:define="global section_name string:content" />
38                    </tal:block>
39                    <tal:block tal:condition="python: stuff.find('section-activities') != -1 ">
40                        <tal:block tal:define="global section_name string:activities" />
41                    </tal:block>
42                    <tal:block tal:condition="python: stuff.find('section-tools') != -1 ">
43                        <tal:block tal:define="global section_name string:tools" />                     
44                    </tal:block>
45                    <tal:block tal:condition="python: stuff.find('section-community') != -1 ">
46                        <tal:block tal:define="global section_name string:community" />
47                    </tal:block>
48                </tal:block>
49                <tal:block define="global base_url string:ploneColors_${section_name}.css"/>
50                <link rel="stylesheet" type="text/css" tal:attributes="href base_url" />
51            </tal:block>
52        <metal:cssslot define-slot="css_slot" />
53        </metal:cssslot>
54
55    <metal:javascriptslot fill-slot="javascript_head_slot">
56      <tal:comment replace="nothing"> A slot where you can insert javascript in the header from a template </tal:comment>
57      <metal:javascriptslot define-slot="javascript_head_slot" />
58    </metal:javascriptslot>
59  </head>
60
61  <body tal:attributes="class here/getSectionFromURL;
62                        dir python:test(isRTL, 'rtl', 'ltr')">
63
64<table id="tb-portal-header" summary="Header" width="760" border="0" align="center" cellpadding="0" cellspacing="0">
65    <tr>
66        <td width="200" class="logo"><img tal:attributes="src string:calibrate_toolbox_logo.png" alt="" /></td>
67        <td width="560">&nbsp;</td>
68    </tr>
69</table>
70
71<table summary="Personal toolbar" width="760" border="0" align="center" cellpadding="0" cellspacing="0" id="personal-bar">
72    <tr>
73        <td>&nbsp;</td>
74    </tr>
75</table>
76
77<div id="visual-portal-wrapper">
78<div id="portal-top" i18n:domain="plone">
79
80<table id="tb-portal-columns" summary="Main content" width="760"  border="0" align="center" cellpadding="0" cellspacing="0">
81    <tr>
82        <tal:comment replace="nothing"> Start of main content block </tal:comment>
83        <td id="tb-portal-column-content" tal:define="tabindex python:Iterator(pos=0)" width="760" valign="top">
84
85              <metal:block define-slot="content">
86                <div class="other_test_class"
87                     metal:define-macro="content"
88                     tal:define="show_border python:0;">
89
90                    <a name="documentContent"></a>
91
92                    <div metal:use-macro="here/global_statusmessage/macros/portal_message">
93                      Portal status message
94                    </div>
95
96                    <metal:header metal:define-slot="header" tal:content="nothing">
97                      Visual Header
98                    </metal:header>
99
100                    <metal:bodytext metal:define-slot="main" tal:content="nothing">
101                      Page body text
102                    </metal:bodytext>
103
104                    <metal:sub metal:define-slot="sub">
105                      <metal:discussion use-macro="here/viewThreadsAtBottom/macros/discussionView" />
106                    </metal:sub>
107
108                </div>
109
110              </metal:block>
111
112        </td>
113    </tr>
114</table>
115
116</div>
117
118</body>
119</html>
120</metal:page>
Note: See TracBrowser for help on using the repository browser.