source: publico/ILPortal/trunk/skins/ILPortal_public/main_template.pt @ 719

Última Alteração nesse arquivo desde 719 foi 719, incluída por paulovieira, 14 anos atrás

alteracao no layout

File size: 8.0 KB
Linha 
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|default;
9                      xml:lang language|default;">
10
11
12  <head metal:use-macro="here/header/macros/html_header">
13
14    <metal:fillbase fill-slot="base">
15      <metal:baseslot define-slot="base">
16        <base href="" tal:attributes="href here/renderBase" />
17      </metal:baseslot>
18    </metal:fillbase>
19
20    <metal:headslot fill-slot="head_slot"
21                    tal:define="language here/Language;
22                                lang language | default_language;
23                                charset site_properties/default_charset|string:utf-8">
24
25      <metal:cache use-macro="here/global_cache_settings/macros/cacheheaders">
26        Get the global cache headers located in global_cache_settings.
27      </metal:cache>
28
29      <metal:headslot define-slot="head_slot" />
30      <tal:comment replace="nothing"> A slot where you can insert elements in the header from a template </tal:comment>
31    </metal:headslot>
32
33    <metal:cssslot fill-slot="css_slot">
34      <tal:comment replace="nothing"> A slot where you can insert CSS in the header from a template </tal:comment>
35      <metal:cssslot define-slot="css_slot" />
36    </metal:cssslot>
37
38    <metal:javascriptslot fill-slot="javascript_head_slot">
39      <tal:comment replace="nothing"> A slot where you can insert javascript in the header from a template </tal:comment>
40      <metal:javascriptslot define-slot="javascript_head_slot" />
41    </metal:javascriptslot>
42  </head>
43
44  <body tal:attributes="class here/getSectionFromURL;
45                        dir python:test(isRTL, 'rtl', 'ltr')">
46    <div id="visual-portal-wrapper">
47
48      <div id="portal-top" i18n:domain="plone">
49
50        <div id="portal-header">
51          <a class="hiddenStructure"
52             accesskey="2"
53             tal:attributes="href string:${request/ACTUAL_URL}#documentContent"
54             i18n:translate="label_skiptocontent">Skip to content</a>
55
56          <a class="hiddenStructure"
57             accesskey="6"
58             tal:attributes="href string:${request/ACTUAL_URL}#portlet-navigation-tree"
59             i18n:translate="label_skiptonavigation">Skip to navigation</a>
60 
61             <div metal:use-macro="here/global_siteactions/macros/site_actions">
62               Site-wide actions (Contact, Sitemap, Help, Style Switcher etc)
63             </div>
64 
65             <div metal:use-macro="here/global_searchbox/macros/quick_search">
66               The quicksearch box, normally placed at the top right
67             </div>
68<!--
69             <div metal:use-macro="here/global_sections/macros/portal_tabs">
70               The global sections tabs. (Welcome, News etc)
71             </div>
72-->
73             <a metal:use-macro="here/global_logo/macros/portal_logo">
74               The portal logo, linked to the portal root
75             </a>
76
77             <div metal:use-macro="here/global_skinswitcher/macros/skin_tabs">
78               The skin switcher tabs. Based on which role you have, you
79               get a selection of skins that you can switch between.
80             </div>
81             
82 
83          </div>
84<!--
85          <div metal:use-macro="here/global_personalbar/macros/personal_bar">
86             The personal bar. (log in, logout etc...)
87           </div>
88
89           <div metal:use-macro="here/global_pathbar/macros/path_bar">
90             The breadcrumb navigation ("you are here")
91           </div>
92-->
93      </div>
94
95      <div class="visualClear"><!-- --></div>
96
97      <tal:comment replace="nothing">
98      The wrapper table. It contains the three columns. There's a table-less
99      alternative in the plone_tableless skin layer that you can use if you
100      prefer layouts that don't use tables.
101      </tal:comment>
102     
103      <table id="portal-columns">
104        <tbody>
105          <tr>
106            <tal:comment replace="nothing"> Start of the left column </tal:comment>
107            <td id="portal-column-one"
108                metal:define-slot="column_one_slot"
109                tal:condition="sl">
110              <div class="visualPadding">
111                <metal:portlets define-slot="portlets_one_slot">
112                  <metal:leftportlets use-macro="here/portlets_fetcher/macros/left_column">
113                    This instruction gets the portlets (boxes) for the left column.
114                  </metal:leftportlets>
115                </metal:portlets>
116                &nbsp;
117              </div>
118            </td>
119            <tal:comment replace="nothing"> End of the left column </tal:comment>
120
121            <tal:comment replace="nothing"> Start of main content block </tal:comment>
122            <td id="portal-column-content"
123                tal:define="tabindex python:Iterator(pos=0)">
124
125              <metal:block define-slot="content">
126                <div id="content"
127                     metal:define-macro="content"
128                     tal:define="show_border python:here.showEditableBorder(template_id=template_id, actions=actions );"
129                     tal:attributes="class python:test(show_border,'documentEditable','')">
130
131                  <metal:ifborder tal:condition="show_border" >
132                    <div metal:use-macro="here/global_contentviews/macros/content_views">
133                      The content views (View, Edit, Properties, Workflow)
134                    </div>
135
136                    <div metal:use-macro="here/global_contentviews/macros/content_actions">
137                      The content bar
138                    </div>
139                  </metal:ifborder>
140
141                  <div class="documentContent" id="region-content">
142
143                    <a name="documentContent"></a>
144
145                    <div metal:use-macro="here/global_statusmessage/macros/portal_message">
146                      Portal status message
147                    </div>
148
149                    <metal:header metal:define-slot="header" tal:content="nothing">
150                      Visual Header
151                    </metal:header>
152
153                    <metal:bodytext metal:define-slot="main" tal:content="nothing">
154                      Page body text
155                    </metal:bodytext>
156
157                    <metal:sub metal:define-slot="sub">
158                      <metal:discussion use-macro="here/viewThreadsAtBottom/macros/discussionView" />
159                    </metal:sub>
160
161                  </div>
162
163                </div>
164
165              </metal:block>
166            </td>
167            <tal:comment replace="nothing"> End of main content block </tal:comment>
168
169            <tal:comment replace="nothing"> Start of right column </tal:comment>
170            <td id="portal-column-two"
171                metal:define-slot="column_two_slot"
172                tal:condition="sr">
173              <div class="visualPadding">
174                <metal:portlets define-slot="portlets_two_slot">
175                  <metal:rightportlets use-macro="here/portlets_fetcher/macros/right_column">
176                    This instruction gets the portlets (boxes) for the right column.
177                  </metal:rightportlets>
178                </metal:portlets>
179                &nbsp;
180              </div>
181            </td>
182            <tal:comment replace="nothing"> End of the right column </tal:comment>
183          </tr>
184        </tbody>
185      </table>
186      <tal:comment replace="nothing"> end column wrapper </tal:comment>
187
188      <div class="visualClear"><!-- --></div>
189
190
191      <hr class="netscape4" />
192
193      <metal:block i18n:domain="plone">
194
195        <metal:footer use-macro="here/footer/macros/portal_footer">
196          Footer
197        </metal:footer>
198
199        <metal:colophon use-macro="here/colophon/macros/colophon">
200          The colophon area - contains details about the production of
201          the site. Typically "powered by" buttons, standards, tools used.
202        </metal:colophon>
203      </metal:block>
204
205    </div>
206
207</body>
208</html>
209</metal:page>
210
211
Note: Veja TracBrowser para ajuda no uso do navegador do trac.
 

The contents and data of this website are published under license:
Creative Commons 4.0 Brasil - Atribuir Fonte - Compartilhar Igual.