source: main/ngren.theme/branches/filip-fixes/ngren/theme/ngren_theme/rules.xml @ 10230

Last change on this file since 10230 was 10230, checked in by fafalter, 11 years ago

Fixes aus den screenshots

File size: 2.6 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
2<rules
3    xmlns="http://namespaces.plone.org/diazo"
4    xmlns:css="http://namespaces.plone.org/diazo/css"
5    xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
6    xmlns:xi="http://www.w3.org/2001/XInclude">
7
8        <theme href="home.html" css:if-content="body.template-frontpageview" />
9        <theme href="full.html" css:if-content="#portal-column-content.width-full"/>
10        <theme href="example.html"/>
11        <notheme if="$ajax_load" />
12        <!--<notheme if="contains($path, 'manage')"/>-->
13        <notheme if="contains($path, 'plugins')"/>
14        <notheme if="contains($path, 'querybuilder')"/>
15        <notheme if="contains($path, 'advanced/anchor.htm')"/>
16        <notheme if="contains($path, 'advanced/source_editor.htm')"/>
17        <notheme if="contains($path, 'image_view_fullscreen')"/>
18        <notheme if-path="@@manage-viewlets" />
19
20       
21        <!-- Head -->
22        <before content="/html/head/meta" css:theme="meta" />
23        <replace theme="/html/head/title" content="/html/head/title"
24                 if-not-path="/" />
25    <replace theme="/html/head/base" content="/html/head/base" />
26        <append theme="/html/head" content="/html/head/script" />
27    <append theme="/html/head" content="/html/head/link | /html/head/style" />
28   
29   
30        <!-- Top / Header -->
31        <copy attributes="href" css:content='#portal-logo' css:theme="#logo-container a" />
32
33        <copy css:theme="#user-options ul">
34                <xsl:for-each css:select="#portal-personaltools li">
35                <xsl:if test="not(position()=last())">
36                                                <xsl:copy-of select="." />
37                </xsl:if>
38        </xsl:for-each>
39        </copy>
40       
41        <replace css:theme=".navbar-form" css:content="#portal-searchbox form"/>
42        <drop css:content=".searchSection"/>
43        <drop css:content="#LSResult"/>
44       
45       
46        <replace css:theme-children="#menu-collapse .nav" css:content-children="#portal-globalnav"/>
47        <!-- Frontpage Content -->
48        <replace css:theme=".full-col" css:content=".full-col" css:if-content="body.template-frontpageview"/>
49        <replace css:theme=".rslides" css:content=".rslides"/>
50        <replace css:theme=".left-col" css:content=".left-col" css:if-content="body.template-frontpageview"/>
51       
52       
53        <replace css:theme-children=".right-col" css:content-children="#portal-column-two" css:if-not-content="body.template-frontpageview"/>
54        <replace css:theme-children=".right-col" css:content-children="#newsportlet" css:if-content="body.template-frontpageview"/>
55       
56       
57        <!-- Content -->
58        <before css:theme=".rslides_container" css:content="#edit-bar"/>
59       
60        <copy css:theme=".content-container" css:content-children="#portal-column-content"/>
61       
62        <!-- Footer -->
63        <replace css:theme=".footer .section" css:content="#portal-footer-wrapper .section"/>
64       
65</rules>
Note: See TracBrowser for help on using the repository browser.