make body template configurable: additional slots, variables controlling layout (CSS classes)
This commit is contained in:
parent
1f4d246994
commit
970775f847
1 changed files with 16 additions and 8 deletions
|
@ -25,6 +25,7 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="content" class="span-6"
|
<div id="content" class="span-6"
|
||||||
|
tal:attributes="class content_class|string:span-6"
|
||||||
metal:define-macro="content">
|
metal:define-macro="content">
|
||||||
<metal:breadcrumbs define-slot="breadcrumbs">
|
<metal:breadcrumbs define-slot="breadcrumbs">
|
||||||
<metal:tabs use-macro="views/node_macros/breadcrumbs" />
|
<metal:tabs use-macro="views/node_macros/breadcrumbs" />
|
||||||
|
@ -37,7 +38,9 @@
|
||||||
tal:condition="msg"
|
tal:condition="msg"
|
||||||
tal:content="msg" />
|
tal:content="msg" />
|
||||||
</metal:message>
|
</metal:message>
|
||||||
<metal:tabs use-macro="views/node_macros/view_modes" />
|
<metal:tabs define-slot="view_modes">
|
||||||
|
<metal:tabs use-macro="views/node_macros/view_modes" />
|
||||||
|
</metal:tabs>
|
||||||
<metal:content define-slot="content">
|
<metal:content define-slot="content">
|
||||||
<tal:content define="item nocall:view/item;
|
<tal:content define="item nocall:view/item;
|
||||||
level level|python: 1;
|
level level|python: 1;
|
||||||
|
@ -48,13 +51,18 @@
|
||||||
</metal:content>
|
</metal:content>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="portlets" class="span-2 last">
|
<div id="portlets" class="span-2 last"
|
||||||
<tal:portlet repeat="macro controller/macros/portlet_left">
|
tal:attributes="class portlets_class|string:span-2 last">
|
||||||
<metal:portlet use-macro="macro" />
|
<metal:portlet define-slot="portlet-left" >
|
||||||
</tal:portlet>
|
<tal:portlet repeat="macro controller/macros/portlet_left">
|
||||||
<tal:portlet repeat="macro controller/macros/portlet_right">
|
<metal:portlet use-macro="macro" />
|
||||||
<metal:portlet use-macro="macro" />
|
</tal:portlet>
|
||||||
</tal:portlet>
|
</metal:portlet>
|
||||||
|
<metal:portlet define-slot="portlet-right" >
|
||||||
|
<tal:portlet repeat="macro controller/macros/portlet_right">
|
||||||
|
<metal:portlet use-macro="macro" />
|
||||||
|
</tal:portlet>
|
||||||
|
</metal:portlet>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="footer" class="footer clear"
|
<div id="footer" class="footer clear"
|
||||||
|
|
Loading…
Add table
Reference in a new issue