source: main/ngren.theme/trunk/ngren/theme/ngren_theme/rules.xml @ 10222

Last change on this file since 10222 was 10191, checked in by uli, 11 years ago

Apply uli manual modifications from live site.

File size: 2.4 KB
RevLine 
[10190]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.section-front-page" />
9        <theme href="example.html"/>
10        <notheme if="$ajax_load" />
11        <!--<notheme if="contains($path, 'manage')"/>-->
12        <notheme if="contains($path, 'plugins')"/>
13        <notheme if="contains($path, 'querybuilder')"/>
14        <notheme if="contains($path, 'advanced/anchor.htm')"/>
15        <notheme if="contains($path, 'advanced/source_editor.htm')"/>
16        <notheme if-path="@@manage-viewlets" />
17
18       
19        <!-- Head -->
20        <before content="/html/head/meta" css:theme="meta" />
[10191]21        <replace theme="/html/head/title" content="/html/head/title"
22                 if-not-path="/" />
[10190]23    <replace theme="/html/head/base" content="/html/head/base" />
24        <append theme="/html/head" content="/html/head/script" />
25    <append theme="/html/head" content="/html/head/link | /html/head/style" />
26   
27   
28        <!-- Top / Header -->
29        <copy attributes="href" css:content='#portal-logo' css:theme="#logo-container a" />
30
31        <copy css:theme="#user-options ul">
32                <xsl:for-each css:select="#portal-personaltools li">
33                <xsl:if test="not(position()=last())">
34                                                <xsl:copy-of select="." />
35                </xsl:if>
36        </xsl:for-each>
37        </copy>
38       
39        <replace css:theme=".navbar-form" css:content="#portal-searchbox form"/>
40        <drop css:content=".searchSection"/>
41        <drop css:content="#LSResult"/>
42       
43       
44        <replace css:theme-children="#menu-collapse .nav" css:content-children="#portal-globalnav"/>
45        <!-- Frontpage Content -->
46        <replace css:theme=".full-col" css:content=".full-col" css:if-content="body.section-front-page"/>
47        <replace css:theme=".rslides" css:content=".rslides"/>
48        <replace css:theme=".left-col" css:content=".left-col" css:if-content="body.section-front-page"/>
49       
50       
51        <replace css:theme-children=".right-col" css:content-children="#portal-column-two" css:if-not-content="body.section-front-page"/>
52        <replace css:theme-children=".right-col" css:content-children="#newsportlet" css:if-content="body.section-front-page"/>
53       
54       
55        <!-- Content -->
56        <before css:theme=".rslides_container" css:content="#edit-bar"/>
57       
58        <copy css:theme=".content-container" css:content-children="#portal-column-content"/>
59       
60        <!-- Footer -->
61        <replace css:theme=".section" css:content=".section"/>
62       
63</rules>
Note: See TracBrowser for help on using the repository browser.