Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 177 lines (146 sloc) 8.274 kb
3edb0e1 @hannosch Use the quoted doctype trick from Plone's classic main_template to have ...
hannosch authored
1 <metal:page define-macro="master">
410e387 Merge PLIP branch. Refs #11300.
Eric Steele authored
2 <tal:doctype tal:replace="structure string:&lt;!DOCTYPE html&gt;" />
2422300 @limi Adding the doctype back in, since we probably can't do without until we ...
limi authored
3
5162633 @tdesvenain Fixed: spinner is back in main_template.
tdesvenain authored
4 <html xmlns="http://www.w3.org/1999/xhtml"
f9b6c3e @naro Changed tabs to spaces
naro authored
5 tal:define="portal_state context/@@plone_portal_state;
6 context_state context/@@plone_context_state;
7 plone_view context/@@plone;
8 lang portal_state/language;
9 view nocall:view | nocall: plone_view;
10 dummy python: plone_view.mark_view(view);
11 portal_url portal_state/portal_url;
12 checkPermission nocall: context/portal_membership/checkPermission;
4c1a832 Check for ajax_load flag; avoid rendering unneeded page components if pr...
Steve McMahon authored
13 site_properties context/portal_properties/site_properties;
97e050e @lrowe Added ajax_include_head request parameter for use with cross domain ifra...
lrowe authored
14 ajax_load request/ajax_load | nothing;
410e387 Merge PLIP branch. Refs #11300.
Eric Steele authored
15 ajax_include_head request/ajax_include_head | nothing;
16 dummy python:request.RESPONSE.setHeader('X-UA-Compatible', 'IE=edge,chrome=1');"
f9b6c3e @naro Changed tabs to spaces
naro authored
17 tal:attributes="lang lang;">
18
19 <metal:cache use-macro="context/global_cache_settings/macros/cacheheaders">
20 Get the global cache headers located in global_cache_settings.
21 </metal:cache>
03124bc @limi Theme files for review, PLIP 9315. Product installation doesn't work yet...
limi authored
22
23 <head>
f9b6c3e @naro Changed tabs to spaces
naro authored
24 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
25
26 <metal:baseslot define-slot="base">
6f8c7ed @hannosch Use renderBase from new location.
hannosch authored
27 <base tal:attributes="href plone_view/renderBase" /><!--[if lt IE 7]></base><![endif]-->
f9b6c3e @naro Changed tabs to spaces
naro authored
28 </metal:baseslot>
29
97e050e @lrowe Added ajax_include_head request parameter for use with cross domain ifra...
lrowe authored
30 <tal:notajax tal:condition="python:not ajax_load or ajax_include_head">
4c1a832 Check for ajax_load flag; avoid rendering unneeded page components if pr...
Steve McMahon authored
31 <div tal:replace="structure provider:plone.htmlhead" />
32 <link tal:replace="structure provider:plone.htmlhead.links" />
33
5162633 @tdesvenain Fixed: spinner is back in main_template.
tdesvenain authored
34 <tal:comment replace="nothing">
4c1a832 Check for ajax_load flag; avoid rendering unneeded page components if pr...
Steve McMahon authored
35 Various slots where you can insert elements in the header from a template.
36 </tal:comment>
37 <metal:topslot define-slot="top_slot" />
38 <metal:headslot define-slot="head_slot" />
39 <metal:styleslot define-slot="style_slot" />
40 <metal:javascriptslot define-slot="javascript_head_slot" />
41
68fda29 @eleddy this fixes #12233
eleddy authored
42 <meta name="viewport" content="width=device-width, initial-scale=0.6666, maximum-scale=1.0, minimum-scale=0.6666" />
4c1a832 Check for ajax_load flag; avoid rendering unneeded page components if pr...
Steve McMahon authored
43 <meta name="generator" content="Plone - http://plone.org" />
44 </tal:notajax>
03124bc @limi Theme files for review, PLIP 9315. Product installation doesn't work yet...
limi authored
45 </head>
46
47 <body tal:define="isRTL portal_state/is_rtl;
f9b6c3e @naro Changed tabs to spaces
naro authored
48 sl python:plone_view.have_portlets('plone.leftcolumn', view);
49 sr python:plone_view.have_portlets('plone.rightcolumn', view);
9b5dda3 @mishunov - setup testing environment for plonetheme.sunburst
mishunov authored
50 body_class python:plone_view.bodyClass(template, view);
51 sunburst_view python:context.restrictedTraverse('@@sunburstview')"
b72f616 @hannosch Simplify the bodyClass construction.
hannosch authored
52 tal:attributes="class body_class;
e408062 @hannosch Avoid the test function in the main_template. It doesn't exist in view p...
hannosch authored
53 dir python:isRTL and 'rtl' or 'ltr'">
03124bc @limi Theme files for review, PLIP 9315. Product installation doesn't work yet...
limi authored
54
55 <div id="visual-portal-wrapper">
56
f9b6c3e @naro Changed tabs to spaces
naro authored
57 <div id="portal-top"
58 class="row"
4c1a832 Check for ajax_load flag; avoid rendering unneeded page components if pr...
Steve McMahon authored
59 i18n:domain="plone"
60 tal:condition="not:ajax_load">
6cb31e6 @davisagli clean up HTML comments in main_template
davisagli authored
61 <div class="cell width-full position-0">
f9b6c3e @naro Changed tabs to spaces
naro authored
62 <div tal:replace="structure provider:plone.portaltop" />
dac77e6 @limi Getting rid of more dead CSS, making the state indicators more readable ...
limi authored
63 </div>
f9b6c3e @naro Changed tabs to spaces
naro authored
64 </div>
65 <div id="portal-columns" class="row">
66
196e6e6 @davisagli fix issue with portlet management views; fixes #10320
davisagli authored
67 <div id="portal-column-content" class="cell" tal:attributes="class python:sunburst_view.getColumnsClass(view)">
f9b6c3e @naro Changed tabs to spaces
naro authored
68
4c1a832 Check for ajax_load flag; avoid rendering unneeded page components if pr...
Steve McMahon authored
69 <div id="viewlet-above-content" tal:content="structure provider:plone.abovecontent" tal:condition="not:ajax_load" />
5162633 @tdesvenain Fixed: spinner is back in main_template.
tdesvenain authored
70
1fd9299 @mishunov Moved 'content' slot to the same place as it is in CMFPlone's main_templ...
mishunov authored
71 <metal:block define-slot="content">
72 <div metal:define-macro="content"
4c1a832 Check for ajax_load flag; avoid rendering unneeded page components if pr...
Steve McMahon authored
73 tal:define="show_border context/@@plone/showEditableBorder; show_border python:show_border and not ajax_load"
1fd9299 @mishunov Moved 'content' slot to the same place as it is in CMFPlone's main_templ...
mishunov authored
74 tal:attributes="class python:show_border and 'documentEditable' or ''">
75
5162633 @tdesvenain Fixed: spinner is back in main_template.
tdesvenain authored
76 <div id="edit-bar"
1fd9299 @mishunov Moved 'content' slot to the same place as it is in CMFPlone's main_templ...
mishunov authored
77 tal:condition="show_border"
78 tal:content="structure provider:plone.contentviews" />
79
0b1477d @limi Undoing the change made in r34159, using CSS selector specificity to fix...
limi authored
80 <div metal:use-macro="context/global_statusmessage/macros/portal_message">
81 Status message
82 </div>
83
1fd9299 @mishunov Moved 'content' slot to the same place as it is in CMFPlone's main_templ...
mishunov authored
84 <metal:slot define-slot="body">
f2f5b2b @limi Fixed the look of the status messages, and put the status message defaul...
limi authored
85 <div id="content">
1fd9299 @mishunov Moved 'content' slot to the same place as it is in CMFPlone's main_templ...
mishunov authored
86
f2f5b2b @limi Fixed the look of the status messages, and put the status message defaul...
limi authored
87 <metal:header define-slot="header" tal:content="nothing">
88 Visual Header
89 </metal:header>
90
5162633 @tdesvenain Fixed: spinner is back in main_template.
tdesvenain authored
91 <metal:bodytext define-slot="main">
1fd9299 @mishunov Moved 'content' slot to the same place as it is in CMFPlone's main_templ...
mishunov authored
92
5a21d36 @tdesvenain Add ids on content core viewlet managers.
tdesvenain authored
93 <div id="viewlet-above-content-title" tal:content="structure provider:plone.abovecontenttitle" tal:condition="not:ajax_load" />
5162633 @tdesvenain Fixed: spinner is back in main_template.
tdesvenain authored
94 <metal:title define-slot="content-title">
1fd9299 @mishunov Moved 'content' slot to the same place as it is in CMFPlone's main_templ...
mishunov authored
95 <metal:comment tal:content="nothing">
5162633 @tdesvenain Fixed: spinner is back in main_template.
tdesvenain authored
96 If you write a custom title always use
1fd9299 @mishunov Moved 'content' slot to the same place as it is in CMFPlone's main_templ...
mishunov authored
97 <h1 class="documentFirstHeading"></h1> for it
98 </metal:comment>
5162633 @tdesvenain Fixed: spinner is back in main_template.
tdesvenain authored
99 <h1 metal:use-macro="context/kss_generic_macros/macros/generic_title_view">
100 Generic KSS Title. Is rendered with class="documentFirstHeading".
101 </h1>
102 </metal:title>
5a21d36 @tdesvenain Add ids on content core viewlet managers.
tdesvenain authored
103 <div id="viewlet-below-content-title" tal:content="structure provider:plone.belowcontenttitle" tal:condition="not:ajax_load" />
1fd9299 @mishunov Moved 'content' slot to the same place as it is in CMFPlone's main_templ...
mishunov authored
104
5162633 @tdesvenain Fixed: spinner is back in main_template.
tdesvenain authored
105 <metal:description define-slot="content-description">
1fd9299 @mishunov Moved 'content' slot to the same place as it is in CMFPlone's main_templ...
mishunov authored
106 <metal:comment tal:content="nothing">
5162633 @tdesvenain Fixed: spinner is back in main_template.
tdesvenain authored
107 If you write a custom description always use
108 <div class="documentDescription"></div> for it
1fd9299 @mishunov Moved 'content' slot to the same place as it is in CMFPlone's main_templ...
mishunov authored
109 </metal:comment>
5162633 @tdesvenain Fixed: spinner is back in main_template.
tdesvenain authored
110 <div metal:use-macro="context/kss_generic_macros/macros/generic_description_view">
111 Generic KSS Description. Is rendered with class="documentDescription".
112 </div>
113 </metal:description>
114
5a21d36 @tdesvenain Add ids on content core viewlet managers.
tdesvenain authored
115 <div id="viewlet-above-content-body" tal:content="structure provider:plone.abovecontentbody" tal:condition="not:ajax_load" />
5162633 @tdesvenain Fixed: spinner is back in main_template.
tdesvenain authored
116 <div id="content-core">
117 <metal:text define-slot="content-core" tal:content="nothing">
118 Page body text
119 </metal:text>
120 </div>
5a21d36 @tdesvenain Add ids on content core viewlet managers.
tdesvenain authored
121 <div id="viewlet-below-content-body" tal:content="structure provider:plone.belowcontentbody" tal:condition="not:ajax_load" />
1fd9299 @mishunov Moved 'content' slot to the same place as it is in CMFPlone's main_templ...
mishunov authored
122
f2f5b2b @limi Fixed the look of the status messages, and put the status message defaul...
limi authored
123 </metal:bodytext>
124 </div>
1fd9299 @mishunov Moved 'content' slot to the same place as it is in CMFPlone's main_templ...
mishunov authored
125 </metal:slot>
126
127 <metal:sub define-slot="sub" tal:content="nothing">
5162633 @tdesvenain Fixed: spinner is back in main_template.
tdesvenain authored
128 This slot is here for backwards compatibility only.
be2ab7f @limi Moving footer markup that was temporarily in Sunburst's main_template to...
limi authored
129 Don't use it in your custom templates.
1fd9299 @mishunov Moved 'content' slot to the same place as it is in CMFPlone's main_templ...
mishunov authored
130 </metal:sub>
f9b6c3e @naro Changed tabs to spaces
naro authored
131 </div>
1fd9299 @mishunov Moved 'content' slot to the same place as it is in CMFPlone's main_templ...
mishunov authored
132 </metal:block>
5162633 @tdesvenain Fixed: spinner is back in main_template.
tdesvenain authored
133
4c1a832 Check for ajax_load flag; avoid rendering unneeded page components if pr...
Steve McMahon authored
134 <div id="viewlet-below-content" tal:content="structure provider:plone.belowcontent" tal:condition="not:ajax_load" />
9b5dda3 @mishunov - setup testing environment for plonetheme.sunburst
mishunov authored
135 </div>
f9b6c3e @naro Changed tabs to spaces
naro authored
136
4c1a832 Check for ajax_load flag; avoid rendering unneeded page components if pr...
Steve McMahon authored
137 <tal:notajax tal:condition="not:ajax_load">
5162633 @tdesvenain Fixed: spinner is back in main_template.
tdesvenain authored
138 <div id="portal-column-one"
f9b6c3e @naro Changed tabs to spaces
naro authored
139 class="cell width-1:4 position-0"
5162633 @tdesvenain Fixed: spinner is back in main_template.
tdesvenain authored
140 metal:define-slot="column_one_slot"
f9b6c3e @naro Changed tabs to spaces
naro authored
141 tal:condition="sl"
e408062 @hannosch Avoid the test function in the main_template. It doesn't exist in view p...
hannosch authored
142 tal:attributes="class python:isRTL and 'cell width-1:4 position-3:4' or 'cell width-1:4 position-0'">
f9b6c3e @naro Changed tabs to spaces
naro authored
143 <metal:portlets define-slot="portlets_one_slot">
144 <tal:block replace="structure provider:plone.leftcolumn" />
145 </metal:portlets>
146 </div>
147
5162633 @tdesvenain Fixed: spinner is back in main_template.
tdesvenain authored
148 <div id="portal-column-two"
f9b6c3e @naro Changed tabs to spaces
naro authored
149 class="cell width-1:4 position-3:4"
5162633 @tdesvenain Fixed: spinner is back in main_template.
tdesvenain authored
150 metal:define-slot="column_two_slot"
f9b6c3e @naro Changed tabs to spaces
naro authored
151 tal:condition="sr"
e408062 @hannosch Avoid the test function in the main_template. It doesn't exist in view p...
hannosch authored
152 tal:attributes="class python:isRTL and 'cell width-1:4 position-0' or 'cell width-1:4 position-3:4'">
f9b6c3e @naro Changed tabs to spaces
naro authored
153 <metal:portlets define-slot="portlets_two_slot">
154 <tal:block replace="structure provider:plone.rightcolumn" />
155 </metal:portlets>
156 </div>
4c1a832 Check for ajax_load flag; avoid rendering unneeded page components if pr...
Steve McMahon authored
157 </tal:notajax>
f9b6c3e @naro Changed tabs to spaces
naro authored
158 </div>
03124bc @limi Theme files for review, PLIP 9315. Product installation doesn't work yet...
limi authored
159
3523798 @limi - Adding blank files so we don't have to disable anything in the style r...
limi authored
160
6ed71d4 @k-j-kleist Added id attribute to div wrapping portal footer. This closes http://dev...
k-j-kleist authored
161 <div id="portal-footer-wrapper"
162 class="row"
163 i18n:domain="plone"
164 tal:condition="not:ajax_load">
165 <div
166 tal:replace="structure provider:plone.portalfooter" />
5162633 @tdesvenain Fixed: spinner is back in main_template.
tdesvenain authored
167 <div id="kss-spinner">
168 <img tal:attributes="src string:${portal_url}/spinner.gif" alt="" />
169 </div>
b32bc53 @tdesvenain Fixed: portal footer is in a 'row' div.
tdesvenain authored
170 </div>
03124bc @limi Theme files for review, PLIP 9315. Product installation doesn't work yet...
limi authored
171
172 </div>
173 </body>
2422300 @limi Adding the doctype back in, since we probably can't do without until we ...
limi authored
174 </html>
175
68fda29 @eleddy this fixes #12233
eleddy authored
176 </metal:page>
Something went wrong with that request. Please try again.