You are viewing a plain text version of this content. The canonical link for it is here.
Posted to svn@forrest.apache.org by th...@apache.org on 2005/10/24 11:12:31 UTC
svn commit: r328002 - in
/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer:
./ resources/skin/css/ resources/skin/css/pelt/
resources/templates/default/ resources/templates/pelt/ resources/themes/
resources/themes/default/ resou...
Author: thorsten
Date: Mon Oct 24 02:10:23 2005
New Revision: 328002
URL: http://svn.apache.org/viewcvs?rev=328002&view=rev
Log:
Moved all contracts, css and views to a new location. The idea is the same as we had in skins. To have it all in one location makes it easier to
package new skins. Still missing a lot of ressources.
skins.
Added:
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/themes/
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/themes/default/
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/themes/default.fv
- copied unchanged from r327684, forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/views/default.fv
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/themes/default.scale-dev.fv
- copied unchanged from r327684, forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/views/default.scale-dev.fv
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/themes/default/css/
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/themes/default/css/basic.css
- copied unchanged from r327684, forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/skin/css/basic.css
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/themes/default/css/default.css
- copied unchanged from r327684, forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/skin/css/default.css
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/themes/default/css/default.scale-dev.css
- copied unchanged from r327684, forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/skin/css/default.scale-dev.css
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/themes/default/css/new.css
- copied unchanged from r327684, forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/skin/css/new.css
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/themes/default/css/profiling.css.xslt
- copied unchanged from r327684, forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/skin/css/profiling.css.xslt
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/themes/default/html/
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/themes/default/html/ajax-example.ft
- copied unchanged from r327684, forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/templates/default/ajax-example.ft
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/themes/default/html/blank.ft
- copied, changed from r327684, forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/templates/default/blank.ft
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/themes/default/html/branding-breadcrumbs.ft
- copied unchanged from r327684, forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/templates/default/branding-breadcrumbs.ft
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/themes/default/html/branding-fontsize.ft
- copied unchanged from r327684, forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/templates/default/branding-fontsize.ft
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/themes/default/html/branding-logo.ft
- copied unchanged from r327684, forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/templates/default/branding-logo.ft
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/themes/default/html/branding-tagline.ft
- copied unchanged from r327684, forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/templates/default/branding-tagline.ft
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/themes/default/html/compliance-links.ft
- copied unchanged from r327684, forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/templates/default/compliance-links.ft
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/themes/default/html/content-abstract.ft
- copied, changed from r327684, forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/templates/default/content-abstract.ft
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/themes/default/html/content-author.ft
- copied unchanged from r327684, forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/templates/default/content-author.ft
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/themes/default/html/content-authors.ft
- copied, changed from r327684, forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/templates/default/content-authors.ft
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/themes/default/html/content-feeder.ft
- copied unchanged from r327684, forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/templates/default/content-feeder.ft
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/themes/default/html/content-include-html.ft
- copied unchanged from r327684, forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/templates/default/content-include-html.ft
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/themes/default/html/content-ls-contracts.ft
- copied unchanged from r327684, forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/templates/default/content-ls-contracts.ft
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/themes/default/html/content-main-lenya.ft
- copied unchanged from r327684, forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/templates/default/content-main-lenya.ft
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/themes/default/html/content-main.ft
- copied, changed from r327684, forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/templates/default/content-main.ft
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/themes/default/html/content-minitoc.ft
- copied, changed from r327684, forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/templates/default/content-minitoc.ft
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/themes/default/html/content-motd-page.ft
- copied unchanged from r327684, forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/templates/default/content-motd-page.ft
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/themes/default/html/content-pdf-link.ft
- copied unchanged from r327684, forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/templates/default/content-pdf-link.ft
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/themes/default/html/content-pod-link.ft
- copied unchanged from r327684, forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/templates/default/content-pod-link.ft
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/themes/default/html/content-source-xml-link.ft
- copied unchanged from r327684, forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/templates/default/content-source-xml-link.ft
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/themes/default/html/content-title.ft
- copied, changed from r327684, forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/templates/default/content-title.ft
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/themes/default/html/content-txt-link.ft
- copied unchanged from r327684, forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/templates/default/content-txt-link.ft
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/themes/default/html/content-xml-link.ft
- copied unchanged from r327684, forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/templates/default/content-xml-link.ft
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/themes/default/html/export-link.vt.xml
- copied unchanged from r327684, forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/templates/default/export-link.vt.xml
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/themes/default/html/genericMarkup.ft
- copied unchanged from r327684, forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/templates/default/genericMarkup.ft
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/themes/default/html/helper-prototype-ajax.ft
- copied unchanged from r327684, forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/templates/default/helper-prototype-ajax.ft
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/themes/default/html/nav-main-sub.ft
- copied, changed from r327684, forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/templates/default/nav-main-sub.ft
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/themes/default/html/nav-main.ft
- copied, changed from r327684, forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/templates/default/nav-main.ft
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/themes/default/html/nav-section.ft
- copied, changed from r327684, forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/templates/default/nav-section.ft
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/themes/default/html/noFt.ft
- copied unchanged from r327684, forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/templates/default/noFt.ft
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/themes/default/html/search-input.ft
- copied unchanged from r327684, forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/templates/default/search-input.ft
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/themes/default/html/siteinfo-compliance-links.ft
- copied unchanged from r327684, forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/templates/default/siteinfo-compliance-links.ft
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/themes/default/html/siteinfo-copyright.ft
- copied unchanged from r327684, forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/templates/default/siteinfo-copyright.ft
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/themes/default/html/siteinfo-credits.ft
- copied unchanged from r327684, forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/templates/default/siteinfo-credits.ft
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/themes/default/html/siteinfo-current-time.ft
- copied unchanged from r327684, forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/templates/default/siteinfo-current-time.ft
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/themes/default/html/siteinfo-feedback-dyn.ft
- copied unchanged from r327684, forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/templates/default/siteinfo-feedback-dyn.ft
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/themes/default/html/siteinfo-feedback.ft
- copied unchanged from r327684, forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/templates/default/siteinfo-feedback.ft
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/themes/default/html/siteinfo-last-published-net.ft
- copied unchanged from r327684, forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/templates/default/siteinfo-last-published-net.ft
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/themes/default/html/siteinfo-last-published.ft
- copied unchanged from r327684, forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/templates/default/siteinfo-last-published.ft
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/themes/default/html/siteinfo-meta-icon.ft
- copied unchanged from r327684, forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/templates/default/siteinfo-meta-icon.ft
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/themes/default/html/siteinfo-meta-navigation.ft
- copied unchanged from r327684, forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/templates/default/siteinfo-meta-navigation.ft
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/themes/default/html/siteinfo-meta.ft
- copied unchanged from r327684, forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/templates/default/siteinfo-meta.ft
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/themes/pelt/
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/themes/pelt.fv
- copied, changed from r327684, forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/views/pelt.fv
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/themes/pelt/css/
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/themes/pelt/css/forrest.css.xslt
- copied unchanged from r327684, forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/skin/css/pelt/forrest.css.xslt
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/themes/pelt/css/leather-dev.css
- copied unchanged from r327684, forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/skin/css/pelt/leather-dev.css
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/themes/pelt/css/pelt.basic.css
- copied unchanged from r327684, forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/skin/css/pelt/pelt.basic.css
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/themes/pelt/css/pelt.print.css
- copied unchanged from r327684, forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/skin/css/pelt/pelt.print.css
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/themes/pelt/css/pelt.screen.css
- copied unchanged from r327684, forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/skin/css/pelt/pelt.screen.css
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/themes/pelt/css/profile.css.xslt
- copied unchanged from r327684, forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/skin/css/pelt/profile.css.xslt
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/themes/pelt/html/
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/themes/pelt/html/branding-theme-profiler.ft
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/themes/pelt/html/content-abstract.ft
- copied, changed from r327684, forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/templates/pelt/content-abstract.ft
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/themes/pelt/html/content-main.ft
- copied, changed from r327684, forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/templates/pelt/content-main.ft
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/themes/pelt/html/content-xml-link.ft
- copied unchanged from r327684, forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/templates/pelt/content-xml-link.ft
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/themes/pelt/html/nav-main-sub.ft
- copied, changed from r327684, forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/templates/pelt/nav-main-sub.ft
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/themes/pelt/html/nav-section-round-bottom.ft
- copied unchanged from r327684, forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/templates/pelt/nav-section-round-bottom.ft
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/themes/pelt/html/nav-section.ft
- copied, changed from r327684, forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/templates/pelt/nav-section.ft
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/themes/pelt/html/search-input.ft
- copied unchanged from r327684, forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/templates/pelt/search-input.ft
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/themes/pelt/html/siteinfo-credits.ft
- copied unchanged from r327684, forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/templates/pelt/siteinfo-credits.ft
Removed:
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/skin/css/basic.css
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/skin/css/default.css
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/skin/css/default.scale-dev.css
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/skin/css/new.css
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/skin/css/pelt/forrest.css.xslt
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/skin/css/pelt/leather-dev.css
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/skin/css/pelt/pelt.basic.css
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/skin/css/pelt/pelt.print.css
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/skin/css/pelt/pelt.screen.css
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/skin/css/pelt/profile.css.xslt
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/skin/css/profiling.css.xslt
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/templates/default/
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/templates/pelt/
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/views/
Modified:
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/output.xmap
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources.xmap
Modified: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/output.xmap
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/output.xmap?rev=328002&r1=328001&r2=328002&view=diff
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/output.xmap (original)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/output.xmap Mon Oct 24 02:10:23 2005
@@ -73,12 +73,12 @@
<map:pipelines>
<map:pipeline>
- <map:match pattern="test.**.*">
+ <map:match pattern="test.**">
<map:generate src="status.xml" />
- <!--<map:transform src="resources/stylesheets/temp.xsl">
+ <map:transform src="resources/stylesheets/temp.xsl">
<map:parameter name="test"
- value="{lm:ls.contracts.xsl}" />
- </map:transform>-->
+ value="{lm:themes/{1}.css}" />
+ </map:transform>
<map:serialize />
</map:match>
</map:pipeline>
@@ -86,25 +86,15 @@
FIXME: Finish rewriting move to lm -> {lm:contract.{1}.{2}}del if finished-->
<!--FIXME:START-->
- <!-- ls.fbits
- list the project fbits-->
- <map:pipeline>
- <map:match pattern="ls.contracts.project">
- <map:generate type="directory"
- src="{project:resources}/templates/">
- <map:parameter name="depth" value="2" />
- <!-- sorted alphabetically -->
- <map:parameter name="reverse" value="false" />
- </map:generate>
-
- </map:match>
- </map:pipeline>
-
<map:pipeline>
<!--
Last processing step.
Here we are overriding the default skin generation.
-->
+
+ <map:match pattern="themes/**.css">
+ <map:read mime-type="text/css" src="{lm:themes/{1}.css}" />
+ </map:match>
<map:match pattern="**.js">
<map:mount uri-prefix="" src="resources.xmap"
Modified: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources.xmap
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources.xmap?rev=328002&r1=328001&r2=328002&view=diff
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources.xmap (original)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources.xmap Mon Oct 24 02:10:23 2005
@@ -295,7 +295,19 @@
<map:parameter name="fg-color-name" value="{8}"/>
</map:call>
</map:match>
-
+ <!-- special case corner generator pipeline -->
+ <map:match pattern="themes/images**/*c-*-*-*-1*-2*-3*.png">
+ <map:call resource="read-svg2png-corner-resource">
+ <map:parameter name="path" value="images/{1}" />
+ <map:parameter name="name" value="{2}c" />
+ <map:parameter name="orientation-tb" value="{3}"/>
+ <map:parameter name="orientation-lr" value="{4}"/>
+ <map:parameter name="size" value="{5}"/>
+ <map:parameter name="bg-color-name" value="{6}"/>
+ <map:parameter name="stroke-color-name" value="{7}"/>
+ <map:parameter name="fg-color-name" value="{8}"/>
+ </map:call>
+ </map:match>
<map:match pattern="skin/images**/*.*">
<map:call resource="skin-read">
<map:parameter name="path" value="images/{1}" />
Copied: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/themes/default/html/blank.ft (from r327684, forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/templates/default/blank.ft)
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/themes/default/html/blank.ft?p2=forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/themes/default/html/blank.ft&p1=forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/templates/default/blank.ft&r1=327684&r2=328002&rev=328002&view=diff
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/templates/default/blank.ft (original)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/themes/default/html/blank.ft Mon Oct 24 02:10:23 2005
@@ -26,7 +26,7 @@
<description>
{contract-name} will output {contract-funtion}. This is just a blank contract, it will output *nothing*.
</description>
- <usage><![CDATA[<forrest:contract name="doNotUseJustDummy"/>]]></usage>
+ <usage><![CDATA[<forrest:contract name="blank"/>]]></usage>
<forrest:template xmlns:forrest="http://apache.org/forrest/templates/1.0"
format="html" name="blank" inputFormat="xsl" body="false" head="false">
<xsl:stylesheet version="1.1"
Copied: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/themes/default/html/content-abstract.ft (from r327684, forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/templates/default/content-abstract.ft)
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/themes/default/html/content-abstract.ft?p2=forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/themes/default/html/content-abstract.ft&p1=forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/templates/default/content-abstract.ft&r1=327684&r2=328002&rev=328002&view=diff
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/templates/default/content-abstract.ft (original)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/themes/default/html/content-abstract.ft Mon Oct 24 02:10:23 2005
@@ -25,7 +25,7 @@
<usage><![CDATA[<forrest:contract name="content-abstract">
<forrest:properties contract="content-abstract">
<forrest:property name="content-abstract" nugget="get.body">
- <url>#{$cocoon/parameters/getRequest}.abstract.xml</url>
+ <jx:import uri="cocoon://#{$cocoon/parameters/getRequest}.abstract.xml"/>
</forrest:property>
</forrest:properties>
</forrest:contract>]]></usage>
Copied: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/themes/default/html/content-authors.ft (from r327684, forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/templates/default/content-authors.ft)
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/themes/default/html/content-authors.ft?p2=forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/themes/default/html/content-authors.ft&p1=forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/templates/default/content-authors.ft&r1=327684&r2=328002&rev=328002&view=diff
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/templates/default/content-authors.ft (original)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/themes/default/html/content-authors.ft Mon Oct 24 02:10:23 2005
@@ -25,7 +25,7 @@
<usage><![CDATA[<forrest:contract name="content-authors">
<forrest:properties contract="content-authors">
<forrest:property name="content-authors" nugget="get.authors">
- <url>#{$cocoon/parameters/getRequest}.authors.xml</url>
+ <jx:import uri="cocoon://#{$cocoon/parameters/getRequest}.authors.xml</url>
</forrest:property>
</forrest:properties>
</forrest:contract>]]></usage>
Copied: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/themes/default/html/content-main.ft (from r327684, forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/templates/default/content-main.ft)
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/themes/default/html/content-main.ft?p2=forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/themes/default/html/content-main.ft&p1=forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/templates/default/content-main.ft&r1=327684&r2=328002&rev=328002&view=diff
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/templates/default/content-main.ft (original)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/themes/default/html/content-main.ft Mon Oct 24 02:10:23 2005
@@ -25,7 +25,7 @@
<usage><![CDATA[<forrest:contract name="content-main">
<forrest:properties contract="content-main">
<forrest:property name="content-main" nugget="get.body">
- <url>#{$cocoon/parameters/getRequest}.body.xml</url>
+ <jx:import uri="cocoon://#{$cocoon/parameters/getRequest}.body.xml</url>
</forrest:property>
</forrest:properties>
</forrest:contract>]]></usage>
Copied: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/themes/default/html/content-minitoc.ft (from r327684, forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/templates/default/content-minitoc.ft)
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/themes/default/html/content-minitoc.ft?p2=forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/themes/default/html/content-minitoc.ft&p1=forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/templates/default/content-minitoc.ft&r1=327684&r2=328002&rev=328002&view=diff
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/templates/default/content-minitoc.ft (original)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/themes/default/html/content-minitoc.ft Mon Oct 24 02:10:23 2005
@@ -30,7 +30,7 @@
<usage><![CDATA[<forrest:contract name="content-minitoc">
<forrest:properties contract="content-minitoc">
<forrest:property name="content-minitoc-toc" nugget="get.toc">
- <url>#{$cocoon/parameters/getRequest}.toc.xml</url>
+ <jx:import uri="cocoon://#{$cocoon/parameters/getRequest}.toc.xml</url>
</forrest:property>
<forrest:property name="content-minitoc-conf" max-depth="2" min-sections="1" location="page"/>
</forrest:properties>
Copied: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/themes/default/html/content-title.ft (from r327684, forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/templates/default/content-title.ft)
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/themes/default/html/content-title.ft?p2=forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/themes/default/html/content-title.ft&p1=forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/templates/default/content-title.ft&r1=327684&r2=328002&rev=328002&view=diff
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/templates/default/content-title.ft (original)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/themes/default/html/content-title.ft Mon Oct 24 02:10:23 2005
@@ -25,7 +25,7 @@
<usage><![CDATA[<forrest:contract name="content-title">
<forrest:properties contract="content-title">
<forrest:property name="content-title" nugget="get.body">
- <url>#{$cocoon/parameters/getRequest}.title.xml</url>
+ <jx:import uri="cocoon://#{$cocoon/parameters/getRequest}.title.xml</url>
</forrest:property>
</forrest:properties>
</forrest:contract>]]></usage>
Copied: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/themes/default/html/nav-main-sub.ft (from r327684, forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/templates/default/nav-main-sub.ft)
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/themes/default/html/nav-main-sub.ft?p2=forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/themes/default/html/nav-main-sub.ft&p1=forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/templates/default/nav-main-sub.ft&r1=327684&r2=328002&rev=328002&view=diff
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/templates/default/nav-main-sub.ft (original)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/themes/default/html/nav-main-sub.ft Mon Oct 24 02:10:23 2005
@@ -23,7 +23,7 @@
<usage><![CDATA[<forrest:contract name="nav-main-sub">
<forrest:properties contract="nav-main-sub">
<forrest:property name="nav-main-sub" nugget="get.navigation">
- <url>#{$cocoon/parameters/getRequest}.navigation.xml</url>
+ <jx:import uri="cocoon://#{$cocoon/parameters/getRequest}.navigation.xml</url>
</forrest:property>
</forrest:properties>
</forrest:contract>]]></usage>
Copied: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/themes/default/html/nav-main.ft (from r327684, forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/templates/default/nav-main.ft)
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/themes/default/html/nav-main.ft?p2=forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/themes/default/html/nav-main.ft&p1=forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/templates/default/nav-main.ft&r1=327684&r2=328002&rev=328002&view=diff
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/templates/default/nav-main.ft (original)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/themes/default/html/nav-main.ft Mon Oct 24 02:10:23 2005
@@ -23,7 +23,7 @@
<usage><![CDATA[<forrest:contract name="nav-main">
<forrest:properties contract="nav-main">
<forrest:property name="nav-main" nugget="get.navigation">
- <url>#{$cocoon/parameters/getRequest}.navigation.xml</url>
+ <jx:import uri="cocoon://#{$cocoon/parameters/getRequest}.navigation.xml</url>
</forrest:property>
</forrest:properties>
</forrest:contract>]]></usage>
Copied: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/themes/default/html/nav-section.ft (from r327684, forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/templates/default/nav-section.ft)
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/themes/default/html/nav-section.ft?p2=forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/themes/default/html/nav-section.ft&p1=forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/templates/default/nav-section.ft&r1=327684&r2=328002&rev=328002&view=diff
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/templates/default/nav-section.ft (original)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/themes/default/html/nav-section.ft Mon Oct 24 02:10:23 2005
@@ -23,7 +23,7 @@
<usage><![CDATA[<forrest:contract name="nav-section">
<forrest:properties contract="nav-section">
<forrest:property name="nav-section" nugget="get.navigation">
- <url>#{$cocoon/parameters/getRequest}.navigation.xml</url>
+ <jx:import uri="cocoon://#{$cocoon/parameters/getRequest}.navigation.xml</url>
</forrest:property>
</forrest:properties>
</forrest:contract>]]></usage>
Copied: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/themes/pelt.fv (from r327684, forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/views/pelt.fv)
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/themes/pelt.fv?p2=forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/themes/pelt.fv&p1=forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/views/pelt.fv&r1=327684&r2=328002&rev=328002&view=diff
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/views/pelt.fv (original)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/themes/pelt.fv Mon Oct 24 02:10:23 2005
@@ -25,7 +25,6 @@
<forrest:css url="pelt.basic.css" media="screen" theme="Pelt"/>
<forrest:css url="pelt.screen.css" media="screen" theme="Pelt"/>
<forrest:css url="pelt.print.css" media="print"/>
- <forrest:css url="profile.css" media="screen" theme="Pelt"/>
<forrest:css >
/* Extra css */
p.quote {
@@ -34,7 +33,164 @@
background-color: #f0f0f0;
font-family: monospace;
}
-</forrest:css>
+ </forrest:css>
+ <forrest:contract name="branding-theme-profiler">
+ <forrest:properties contract="branding-theme-profiler">
+ <forrest:property name="branding-theme-profiler-theme">Pelt</forrest:property>
+ <forrest:property name="branding-theme-profiler">
+
+ <!-- These values are used for the generated CSS files.
+ They essentially "override" the default colors defined in the chosen theme.
+ There are four duplicate "groups" of colors below, denoted by comments:
+ Color group: Forrest, Krysalis, Collabnet, and Lenya using Pelt.
+ They are provided for example only. To customize the colors of any theme,
+ uncomment one of these groups of color elements and change the values
+ of the particular color elements that you wish to change.
+ Note that by default, all color groups are commented-out which means that
+ the default colors provided by the theme are being used.
+ -->
+
+ <!-- Color group: Forrest: example colors similar to forrest.apache.org
+ Some of the element names are obscure, so comments are added to show how
+ the "pelt" theme uses them, other themes might use these elements in a different way.
+ Tip: temporarily change the value of an element to red (#ff0000) and see the effect.
+ pelt: breadtrail: the strip at the top of the page and the second strip under the tabs
+ pelt: header: top strip containing project and group logos
+ pelt: heading|subheading: section headings within the content
+ pelt: navstrip: the strip under the tabs which contains the published date
+ pelt: menu: the left-hand navigation panel
+ pelt: toolbox: the selected menu item
+ pelt: searchbox: the background of the searchbox
+ pelt: border: line border around selected menu item
+ pelt: body: any remaining parts, e.g. the bottom of the page
+ pelt: footer: the second from bottom strip containing credit logos and published date
+ pelt: feedback: the optional bottom strip containing feedback link
+ -->
+
+ <color name="breadtrail" value="#cedfef" font="#0F3660" link="#0F3660" vlink="#0F3660" hlink="#000066"/>
+ <color name="header" value="#294563"/>
+ <color name="tab-selected" value="#4a6d8c" link="#0F3660" vlink="#0F3660" hlink="#000066"/>
+ <color name="tab-unselected" value="#b5c7e7" link="#0F3660" vlink="#0F3660" hlink="#000066"/>
+ <color name="subtab-selected" value="#4a6d8c" link="#0F3660" vlink="#0F3660" hlink="#000066"/>
+ <color name="subtab-unselected" value="#4a6d8c" link="#0F3660" vlink="#0F3660" hlink="#000066"/>
+ <color name="heading" value="#294563"/>
+ <color name="subheading" value="#4a6d8c"/>
+ <color name="published" value="#4C6C8F" font="#FFFFFF"/>
+ <color name="feedback" value="#4C6C8F" font="#FFFFFF" align="center"/>
+ <color name="navstrip" value="#4a6d8c" font="#ffffff" link="#0F3660" vlink="#0F3660" hlink="#000066"/>
+ <color name="menu" value="#4a6d8c" font="#cedfef" link="#ffffff" vlink="#ffffff" hlink="#ffcf00"/>
+ <color name="toolbox" value="#4a6d8c"/>
+ <color name="border" value="#294563"/>
+ <color name="dialog" value="#4a6d8c"/>
+ <color name="searchbox" value="#4a6d8c" font="#000000"/>
+ <color name="body" value="#ffffff" link="#0F3660" vlink="#009999" hlink="#000066"/>
+ <color name="table" value="#7099C5"/>
+ <color name="table-cell" value="#f0f0ff"/>
+ <color name="highlight" value="#ffff00"/>
+ <color name="fixme" value="#cc6600"/>
+ <color name="note" value="#006699"/>
+ <color name="warning" value="#990000"/>
+ <color name="code" value="#CFDCED"/>
+ <color name="footer" value="#cedfef"/>
+
+
+ <!-- Color group: Krysalis -->
+<!--
+ <color name="header" value="#FFFFFF"/>
+
+ <color name="tab-selected" value="#a5b6c6" link="#000000" vlink="#000000" hlink="#000000"/>
+ <color name="tab-unselected" value="#F7F7F7" link="#000000" vlink="#000000" hlink="#000000"/>
+ <color name="subtab-selected" value="#a5b6c6" link="#000000" vlink="#000000" hlink="#000000"/>
+ <color name="subtab-unselected" value="#a5b6c6" link="#000000" vlink="#000000" hlink="#000000"/>
+
+ <color name="heading" value="#a5b6c6"/>
+ <color name="subheading" value="#CFDCED"/>
+
+ <color name="navstrip" value="#CFDCED" font="#000000" link="#000000" vlink="#000000" hlink="#000000"/>
+ <color name="toolbox" value="#a5b6c6"/>
+ <color name="border" value="#a5b6c6"/>
+
+ <color name="menu" value="#F7F7F7" link="#000000" vlink="#000000" hlink="#000000"/>
+ <color name="dialog" value="#F7F7F7"/>
+
+ <color name="body" value="#ffffff" link="#0F3660" vlink="#009999" hlink="#000066"/>
+
+ <color name="table" value="#a5b6c6"/>
+ <color name="table-cell" value="#ffffff"/>
+ <color name="highlight" value="#ffff00"/>
+ <color name="fixme" value="#cc6600"/>
+ <color name="note" value="#006699"/>
+ <color name="warning" value="#990000"/>
+ <color name="code" value="#a5b6c6"/>
+
+ <color name="footer" value="#a5b6c6"/>
+-->
+
+ <!-- Color group: Collabnet -->
+<!--
+ <color name="header" value="#003366"/>
+
+ <color name="tab-selected" value="#dddddd" link="#555555" vlink="#555555" hlink="#555555"/>
+ <color name="tab-unselected" value="#999999" link="#ffffff" vlink="#ffffff" hlink="#ffffff"/>
+ <color name="subtab-selected" value="#cccccc" link="#000000" vlink="#000000" hlink="#000000"/>
+ <color name="subtab-unselected" value="#cccccc" link="#555555" vlink="#555555" hlink="#555555"/>
+
+ <color name="heading" value="#003366"/>
+ <color name="subheading" value="#888888"/>
+
+ <color name="navstrip" value="#dddddd" font="#555555"/>
+ <color name="toolbox" value="#dddddd" font="#555555"/>
+ <color name="border" value="#999999"/>
+
+ <color name="menu" value="#ffffff"/>
+ <color name="dialog" value="#eeeeee"/>
+
+ <color name="body" value="#ffffff"/>
+
+ <color name="table" value="#ccc"/>
+ <color name="table-cell" value="#ffffff"/>
+ <color name="highlight" value="#ffff00"/>
+ <color name="fixme" value="#cc6600"/>
+ <color name="note" value="#006699"/>
+ <color name="warning" value="#990000"/>
+ <color name="code" value="#003366"/>
+
+ <color name="footer" value="#ffffff"/>
+-->
+ <!-- Color group: Lenya using pelt-->
+
+
+ <!--<color name="header" value="#ffffff"/>
+
+ <color name="tab-selected" value="#E5E4D9" link="#000000" vlink="#000000" hlink="#000000"/>
+ <color name="tab-unselected" value="#F5F4E9" link="#000000" vlink="#000000" hlink="#000000"/>
+ <color name="subtab-selected" value="#000000" link="#000000" vlink="#000000" hlink="#000000"/>
+ <color name="subtab-unselected" value="#E5E4D9" link="#000000" vlink="#000000" hlink="#000000"/>
+
+ <color name="heading" value="#E5E4D9"/>
+ <color name="subheading" value="#000000"/>
+ <color name="published" value="#000000"/>
+ <color name="navstrip" value="#E5E4D9" font="#000000"/>
+ <color name="toolbox" value="#CFDCED" font="#000000"/>
+ <color name="border" value="#999999"/>
+
+ <color name="menu" value="#E5E4D9" font="#000000" link="#000000" vlink="#000000" hlink="#000000"/>
+ <color name="dialog" value="#CFDCED"/>
+ <color name="body" value="#ffffff" />
+
+ <color name="table" value="#ccc"/>
+ <color name="table-cell" value="#ffffff"/>
+ <color name="highlight" value="#ffff00"/>
+ <color name="fixme" value="#cc6600"/>
+ <color name="note" value="#006699"/>
+ <color name="warning" value="#990000"/>
+ <color name="code" value="#003366"/>
+
+ <color name="footer" value="#E5E4D9"/>-->
+
+ </forrest:property>
+ </forrest:properties>
+ </forrest:contract>
<forrest:contract name="siteinfo-meta">
<forrest:properties contract="siteinfo-meta">
<forrest:property name="siteinfo-meta" nugget="get.build.info">
Added: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/themes/pelt/html/branding-theme-profiler.ft
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/themes/pelt/html/branding-theme-profiler.ft?rev=328002&view=auto
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/themes/pelt/html/branding-theme-profiler.ft (added)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/themes/pelt/html/branding-theme-profiler.ft Mon Oct 24 02:10:23 2005
@@ -0,0 +1,292 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright 2002-2005 The Apache Software Foundation or its licensors,
+ as applicable.
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<forrest:contract
+ xmlns:i18n="http://apache.org/cocoon/i18n/2.1"
+ xmlns:forrest="http://apache.org/forrest/templates/1.0"
+ name="branding-theme-profiler" type="nugget">
+
+ <description>
+ <p>
+ <strong>branding-theme-profiler</strong> provides a quick
+ way to change the colors of the theme.
+ </p>
+ <pre class="code"><![CDATA[ <!--Color group: Forrest: example colors similar to forrest.apache.org-->
+ <color name="breadtrail" value="#cedfef" font="#0F3660" link="#0F3660" vlink="#0F3660" hlink="#000066"/>
+ <color name="header" value="#294563"/>
+ <color name="tab-selected" value="#4a6d8c" link="#0F3660" vlink="#0F3660" hlink="#000066"/>
+ <color name="tab-unselected" value="#b5c7e7" link="#0F3660" vlink="#0F3660" hlink="#000066"/>
+ <color name="subtab-selected" value="#4a6d8c" link="#0F3660" vlink="#0F3660" hlink="#000066"/>
+ <color name="subtab-unselected" value="#4a6d8c" link="#0F3660" vlink="#0F3660" hlink="#000066"/>
+ <color name="heading" value="#294563"/>
+ <color name="subheading" value="#4a6d8c"/>
+ <color name="published" value="#4C6C8F" font="#FFFFFF"/>
+ <color name="feedback" value="#4C6C8F" font="#FFFFFF" align="center"/>
+ <color name="navstrip" value="#4a6d8c" font="#ffffff" link="#0F3660" vlink="#0F3660" hlink="#000066"/>
+ <color name="menu" value="#4a6d8c" font="#cedfef" link="#ffffff" vlink="#ffffff" hlink="#ffcf00"/>
+ <color name="toolbox" value="#4a6d8c"/>
+ <color name="border" value="#294563"/>
+ <color name="dialog" value="#4a6d8c"/>
+ <color name="searchbox" value="#4a6d8c" font="#000000"/>
+ <color name="body" value="#ffffff" link="#0F3660" vlink="#009999" hlink="#000066"/>
+ <color name="table" value="#7099C5"/>
+ <color name="table-cell" value="#f0f0ff"/>
+ <color name="highlight" value="#ffff00"/>
+ <color name="fixme" value="#cc6600"/>
+ <color name="note" value="#006699"/>
+ <color name="warning" value="#990000"/>
+ <color name="code" value="#CFDCED"/>
+ <color name="footer" value="#cedfef"/>]]>
+ </pre>
+ <p>
+ These values are used for the generated CSS files.
+ They essentially "override" the default colors defined in the chosen theme.
+ To customize the colors of any theme,
+ use one or all color elements and change the values
+ of the particular color elements that you wish to change.
+ Note that by default, if you do not overide them means that
+ the default colors provided by the theme are being used.
+ </p>
+ <div class="warning">
+ <div class="label">fixme</div>
+ <div class="content">We need to use naming convention for the naming. To overcome following comment:<br/>
+ Some of the element names are obscure, so comments are added to show how
+ the "pelt" theme uses them, other themes might use these elements in a different way or do not support them at all.<br/>
+ Tip: temporarily change the value of an element to red (#ff0000) and see the effect.
+ </div>
+ </div>
+ <div class="note">
+ <div class="label">Comments</div>
+ <div class="content">
+ <p>
+ pelt: breadtrail: the strip at the top of the page and the second strip under the tabs<br/>
+ pelt: header: top strip containing project and group logos<br/>
+ pelt: heading|subheading: section headings within the content<br/>
+ pelt: navstrip: the strip under the tabs which contains the published date<br/>
+ pelt: menu: the left-hand navigation panel<br/>
+ pelt: toolbox: the selected menu item<br/>
+ pelt: searchbox: the background of the searchbox<br/>
+ pelt: border: line border around selected menu item<br/>
+ pelt: body: any remaining parts, e.g. the bottom of the page<br/>
+ pelt: footer: the second from bottom strip containing credit logos and published date<br/>
+ pelt: feedback: the optional bottom strip containing feedback link<br/>
+ </p>
+ </div>
+ </div>
+ </description>
+ <usage><![CDATA[<forrest:contract name="branding-theme-profiler">
+ <forrest:properties contract="branding-theme-profiler">
+ <forrest:property name="branding-theme-profiler-theme">pelt</forrest:property>
+ <forrest:property name="branding-theme-profiler">
+ <color name="header" value="#ff0000"/>
+ <!-- more colors -->
+ </forrest:property>
+ </forrest:properties>
+</forrest:contract>]]></usage>
+ <forrest:template xmlns:forrest="http://apache.org/forrest/templates/1.0"
+ format="html" name="branding-theme-profiler" inputFormat="xsl" body="false" head="true">
+ <xsl:stylesheet version="1.1"
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+ <xsl:template name="branding-theme-profiler-head">
+ <xsl:param name="branding-theme-profiler"/>
+ <xsl:param name="branding-theme-profiler-theme"/>
+ <style type="text/css" media="screen" title="{$branding-theme-profiler-theme}">
+ <xsl:apply-templates select="$branding-theme-profiler/color"/>
+ </style>
+ </xsl:template>
+ <!-- ==================== main block colors ============================ -->
+<xsl:template match="color[@name='header']">
+#container { background-color: <xsl:value-of select="@value"/>;}
+</xsl:template>
+
+<xsl:template match="color[@name='tab-selected']">
+#nav-main .current { background-color: <xsl:value-of select="@value"/>;}
+#nav-main .current a:link { color: <xsl:value-of select="@link"/>; }
+#nav-main .current a:visited { color: <xsl:value-of select="@vlink"/>; }
+#nav-main .current a:hover { color: <xsl:value-of select="@hlink"/>; }
+</xsl:template>
+
+<xsl:template match="color[@name='tab-unselected']">
+#nav-main li { background-color: <xsl:value-of select="@value"/> ;}
+#nav-main li a:link { color: <xsl:value-of select="@link"/>; }
+#nav-main li a:visited { color: <xsl:value-of select="@vlink"/>; }
+#nav-main li a:hover { color: <xsl:value-of select="@hlink"/>; }
+</xsl:template>
+
+<xsl:template match="color[@name='subtab-selected']">
+#level2tabs { background-color: <xsl:value-of select="@value"/> ;}
+#level2tabs a:link { color: <xsl:value-of select="@link"/>; }
+#level2tabs a:visited { color: <xsl:value-of select="@vlink"/>; }
+#level2tabs a:hover { color: <xsl:value-of select="@hlink"/>; }
+</xsl:template>
+
+<!--xsl:template match="color[@name='subtab-unselected']">
+.level2tabstrip { background-color: <xsl:value-of select="@value"/>;}
+.datenote { background-color: <xsl:value-of select="@value"/>;}
+.level2tabstrip.unselected a:link { color: <xsl:value-of select="@link"/>; }
+.level2tabstrip.unselected a:visited { color: <xsl:value-of select="@vlink"/>; }
+.level2tabstrip.unselected a:hover { color: <xsl:value-of select="@hlink"/>; }
+</xsl:template-->
+
+<xsl:template match="color[@name='heading']">
+.heading { background-color: <xsl:value-of select="@value"/>;}
+</xsl:template>
+
+<xsl:template match="color[@name='subheading']">
+.boxed { background-color: <xsl:value-of select="@value"/>;}
+.underlined_5 {border-bottom: solid 5px <xsl:value-of select="@value"/>;}
+.underlined_10 {border-bottom: solid 10px <xsl:value-of select="@value"/>;}
+table caption {
+background-color: <xsl:value-of select="@value"/>;
+color: <xsl:value-of select="@font"/>;
+}
+</xsl:template>
+<xsl:template match="color[@name='feedback']">
+#feedback {
+color: <xsl:value-of select="@font"/>;
+background: <xsl:value-of select="@value"/>;
+text-align: <xsl:value-of select="@align"/>;
+}
+#feedback #feedbackto {
+color: <xsl:value-of select="@font"/>;
+}
+</xsl:template>
+
+<xsl:template match="color[@name='breadtrail']">
+#page .breadtrail {
+background: <xsl:value-of select="@value"/>;
+color: <xsl:value-of select="@font"/>;
+}
+#page .breadtrail a:link { color: <xsl:value-of select="@link"/>; }
+#page .breadtrail a:visited { color: <xsl:value-of select="@vlink"/>; }
+#page .breadtrail a:hover { color: <xsl:value-of select="@hlink"/>; }
+#container .breadtrail {
+background: <xsl:value-of select="@value"/>;
+color: <xsl:value-of select="@font"/>;
+}
+#container .breadtrail a:link { color: <xsl:value-of select="@link"/>; }
+#container .breadtrail a:visited { color: <xsl:value-of select="@vlink"/>; }
+#container .breadtrail a:hover { color: <xsl:value-of select="@hlink"/>; }
+</xsl:template>
+<!--Fix for other (old) profiles-->
+<xsl:template match="color[@name='navstrip']">
+#publishedStrip {
+color: <xsl:value-of select="@font"/>;
+background: <xsl:value-of select="@value"/>;
+}
+</xsl:template>
+<!--has to go after the nav-strip (no 'navstrip')-->
+<xsl:template match="color[@name='published']">
+#publishedStrip {
+color: <xsl:value-of select="@font"/>;
+background: <xsl:value-of select="@value"/>;
+}
+</xsl:template>
+<xsl:template match="color[@name='toolbox']">
+#leftbar .menupagetitle { background-color: <xsl:value-of select="@value"/>}
+</xsl:template>
+
+<xsl:template match="color[@name='border']">
+#leftbar { border-color: <xsl:value-of select="@value"/>;}
+#leftbar .menupagetitle { border-color: <xsl:value-of select="@value"/>;}
+#leftbar .menupageitemgroup { border-color: <xsl:value-of select="@value"/>;}
+</xsl:template>
+
+<xsl:template match="color[@name='menu']">
+#leftbar { background-color: <xsl:value-of select="@value"/>;}
+#leftbar { color: <xsl:value-of select="@font"/>;}
+#leftbar a:link { color: <xsl:value-of select="@link"/>;}
+#leftbar a:visited { color: <xsl:value-of select="@vlink"/>;}
+#leftbar a:hover {
+background-color: <xsl:value-of select="@value"/>;
+color: <xsl:value-of select="@hlink"/>;}
+</xsl:template>
+<xsl:template match="color[@name='dialog']">
+#leftbar .menupagetitle { color: <xsl:value-of select="@font"/>;}
+#leftbar .menupageitemgroup {
+background-color: <xsl:value-of select="@value"/>;
+}
+#leftbar .menupageitem {
+color: <xsl:value-of select="@font"/>;
+}
+#leftbar .menupageitem a:link { color: <xsl:value-of select="@link"/>;}
+#leftbar .menupageitem a:visited { color: <xsl:value-of select="@vlink"/>;}
+#leftbar .menupageitem a:hover {
+background-color: <xsl:value-of select="@value"/>;
+color: <xsl:value-of select="@hlink"/>;
+}
+</xsl:template>
+<xsl:template match="color[@name='menuheading']">
+#leftbar h1 {
+color: <xsl:value-of select="@font"/>;
+background-color: <xsl:value-of select="@value"/>;
+}
+</xsl:template>
+<xsl:template match="color[@name='searchbox']">
+#header .searchbox {
+background-color: <xsl:value-of select="@value"/> ;
+color: <xsl:value-of select="@font"/>;
+}
+</xsl:template>
+
+<xsl:template match="color[@name='body']">
+body{
+background-color: <xsl:value-of select="@value"/>;
+color: <xsl:value-of select="@font"/>;
+}
+a:link { color:<xsl:value-of select="@link"/>}
+a:visited { color:<xsl:value-of select="@vlink"/>}
+a:hover { color:<xsl:value-of select="@hlink"/>}
+
+</xsl:template>
+
+<xsl:template match="color[@name='footer']">
+#footer { background-color: <xsl:value-of select="@value"/>;}
+</xsl:template>
+
+
+<!-- ==================== other colors ============================ -->
+<xsl:template match="color[@name='highlight']">
+.highlight { background-color: <xsl:value-of select="@value"/>;}
+</xsl:template>
+
+<xsl:template match="color[@name='fixme']">
+.fixme { border-color: <xsl:value-of select="@value"/>;}
+</xsl:template>
+
+<xsl:template match="color[@name='note']">
+.note { border-color: <xsl:value-of select="@value"/>;}
+</xsl:template>
+
+<xsl:template match="color[@name='warning']">
+.warning { border-color: <xsl:value-of select="@value"/>;}
+</xsl:template>
+
+<xsl:template match="color[@name='code']">
+.code { border-color: <xsl:value-of select="@value"/>;}
+</xsl:template>
+
+<xsl:template match="color[@name='table']">
+.ForrestTable { background-color: <xsl:value-of select="@value"/>;}
+</xsl:template>
+
+<xsl:template match="color[@name='table-cell']">
+.ForrestTable td { background-color: <xsl:value-of select="@value"/>;}
+</xsl:template>
+ </xsl:stylesheet>
+ </forrest:template>
+</forrest:contract>
\ No newline at end of file
Copied: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/themes/pelt/html/content-abstract.ft (from r327684, forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/templates/pelt/content-abstract.ft)
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/themes/pelt/html/content-abstract.ft?p2=forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/themes/pelt/html/content-abstract.ft&p1=forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/templates/pelt/content-abstract.ft&r1=327684&r2=328002&rev=328002&view=diff
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/templates/pelt/content-abstract.ft (original)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/themes/pelt/html/content-abstract.ft Mon Oct 24 02:10:23 2005
@@ -25,7 +25,7 @@
<usage><![CDATA[<forrest:contract name="content-abstract">
<forrest:properties contract="content-abstract">
<forrest:property name="content-abstract" nugget="get.abstract">
- <url>#{$cocoon/parameters/getRequest}.abstract.xml</url>
+ <jx:import uri="cocoon://#{$cocoon/parameters/getRequest}.abstract.xml"/>
</forrest:property>
</forrest:properties>
</forrest:contract>]]></usage>
Copied: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/themes/pelt/html/content-main.ft (from r327684, forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/templates/pelt/content-main.ft)
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/themes/pelt/html/content-main.ft?p2=forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/themes/pelt/html/content-main.ft&p1=forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/templates/pelt/content-main.ft&r1=327684&r2=328002&rev=328002&view=diff
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/templates/pelt/content-main.ft (original)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/themes/pelt/html/content-main.ft Mon Oct 24 02:10:23 2005
@@ -27,7 +27,7 @@
<usage><![CDATA[<forrest:contract name="content-main">
<forrest:properties contract="content-main">
<forrest:property name="content-main" nugget="get.body">
- <url>#{$cocoon/parameters/getRequest}.body.xml</url>
+ <jx:import uri="cocoon://#{$cocoon/parameters/getRequest}.body.xml"/>
</forrest:property>
<forrest:property name="content-main-conf">
<headings type="boxed"/>
Copied: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/themes/pelt/html/nav-main-sub.ft (from r327684, forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/templates/pelt/nav-main-sub.ft)
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/themes/pelt/html/nav-main-sub.ft?p2=forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/themes/pelt/html/nav-main-sub.ft&p1=forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/templates/pelt/nav-main-sub.ft&r1=327684&r2=328002&rev=328002&view=diff
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/templates/pelt/nav-main-sub.ft (original)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/themes/pelt/html/nav-main-sub.ft Mon Oct 24 02:10:23 2005
@@ -23,7 +23,7 @@
<usage><![CDATA[<forrest:contract name="nav-main-sub">
<forrest:properties contract="nav-main-sub">
<forrest:property name="nav-main-sub" nugget="get.navigation">
- <url>#{$cocoon/parameters/getRequest}.navigation.xml</url>
+ <jx:import uri="cocoon://#{$cocoon/parameters/getRequest}.navigation.xml"/>
</forrest:property>
</forrest:properties>
</forrest:contract>]]></usage>
Copied: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/themes/pelt/html/nav-section.ft (from r327684, forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/templates/pelt/nav-section.ft)
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/themes/pelt/html/nav-section.ft?p2=forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/themes/pelt/html/nav-section.ft&p1=forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/templates/pelt/nav-section.ft&r1=327684&r2=328002&rev=328002&view=diff
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/templates/pelt/nav-section.ft (original)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.themer/resources/themes/pelt/html/nav-section.ft Mon Oct 24 02:10:23 2005
@@ -23,7 +23,7 @@
<usage><![CDATA[<forrest:contract name="nav-section">
<forrest:properties contract="nav-section">
<forrest:property name="nav-section" nugget="get.navigation">
- <url>#{$cocoon/parameters/getRequest}.navigation.xml</url>
+ <jx:import uri="cocoon://#{$cocoon/parameters/getRequest}.navigation.xml"/>
</forrest:property>
</forrest:properties>
</forrest:contract>]]></usage>