source: publico/PortalInterlegis/produtos/il.portalinterlegis/trunk/src/il/portalinterlegis/static/rules.xml @ 6521

Última Alteração nesse arquivo desde 6521 foi 6521, incluída por davilima6, 9 anos atrás

indentacao e doctype html5

File size: 2.6 KB
Linha 
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    css:if-content="#visual-portal-wrapper">
7
8        <!-- as pointed out in https://dev.plone.org/ticket/11829 -->
9    <notheme if-path="presentation_view" />
10    <notheme if-path="source_editor.htm" />
11    <notheme if-path="ploneimage.htm" />
12    <notheme if-path="anchor.htm" />
13    <notheme if-path="table.htm" />
14    <notheme if-path="attributes.htm" />
15
16    <!-- THEME SELECTION -->
17    <theme href="box_form.html" css:if-content="#box-preview" />
18    <theme href="index.html" />
19
20    <!-- TEMP DEBUG -->
21    <xsl:output indent="yes" />
22
23    <!-- HTML, HEAD & BODY -->
24    <before theme-children="/html/head" content-children="/html/head" />
25    <copy attributes="*" theme="/html" content="/html" />
26    <copy attributes="*" theme="/html/body" content="/html/body" />
27
28    <!-- HEADER -->
29    <drop attributes="id" css:content="#siteaction-accessibility" />
30    <replace css:theme="#header-actions-accessibility" css:content="#siteaction-accessibility" />
31    <replace css:theme="#portal-personaltools-wrapper" css:content="#portal-personaltools-wrapper" />
32    <copy attributes="*" css:theme="#portal-logo" css:content="#portal-logo" />
33
34    <!-- SEARCH -->
35    <replace css:theme="#portal-searchbox" css:content="#portal-searchbox" />
36    <drop css:content="#portal-searchbox .searchSection" />
37    <xsl:template match="//input[@id='searchGadget']/@placeholder">
38        <xsl:attribute name="placeholder">O que você procura?</xsl:attribute>
39    </xsl:template>
40
41    <!-- MAIN MENU -->
42    <replace css:theme="#portal-globalnav" css:content="#portal-globalnav" />
43
44    <!-- CONTENT -->
45    <rules css:if-content="#bigbox">
46      <copy attributes="class" css:theme="#portal-columns" css:content="#bigbox" />
47      <!-- Isto aqui foi simplesmente para que mudar o atributo class de portal-columns. Deveria ser mais direto -->
48      <replace css:theme-children="#portal-columns" css:content-children="#bigbox" />
49    </rules>
50    <replace css:theme-children="#portal-columns" css:content-children="#portal-columns" css:if-not-content="#bigbox" />
51    <drop css:content="#viewlet-above-content" />
52
53    <!-- CAROUSEL -->
54    <replace css:theme="#carousel-1" css:content="#carousel-1" />
55
56    <!-- FOOTER -->
57    <!-- para deixar o id para o link acessibilidade no rodape, que foi tirado para o link no topo => method="raw" -->
58    <replace css:theme="#portal-siteactions" css:content="#portal-siteactions" method="raw" />
59
60    <!-- KSS -->
61    <append theme="/html/body" content="//*[@id='kss-spinner']" />
62
63</rules>
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.