You are viewing a plain text version of this content. The canonical link for it is here.
Posted to svn@forrest.apache.org by gm...@apache.org on 2008/09/22 05:46:01 UTC

svn commit: r697661 [1/2] - in /forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes: ./ maven/ maven/css/ maven/html/ maven/images/ maven/js/ maven/panels/

Author: gmcdonald
Date: Sun Sep 21 20:46:00 2008
New Revision: 697661

URL: http://svn.apache.org/viewvc?rev=697661&view=rev
Log:
A maven theme, for that like the look but still like to build with forrest

Added:
    forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/maven/
    forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/maven.fv   (with props)
    forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/maven/css/
    forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/maven/css/leather-dev.css   (with props)
    forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/maven/css/maven.basic.css   (with props)
    forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/maven/css/maven.print.css   (with props)
    forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/maven/css/maven.screen.css   (with props)
    forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/maven/html/
    forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/maven/html/branding-logo.ft   (with props)
    forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/maven/html/content-main.ft   (with props)
    forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/maven/html/nav-main-sub.ft   (with props)
    forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/maven/html/nav-section-round-bottom.ft   (with props)
    forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/maven/html/search-input.ft   (with props)
    forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/maven/html/siteinfo-credits.ft   (with props)
    forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/maven/html/siteinfo-last-published.ft   (with props)
    forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/maven/images/
    forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/maven/js/
    forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/maven/panels/
    forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/maven/panels/maven-css.panel.xml   (with props)
    forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/maven/panels/maven-html.content.panel.xml   (with props)
    forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/maven/panels/maven-html.footer.panel.xml   (with props)
    forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/maven/panels/maven-html.head.panel.xml   (with props)
    forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/maven/panels/maven-html.header.panel.xml   (with props)
    forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/maven/panels/maven-html.leftbar.panel.xml   (with props)
    forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/maven/panels/maven-html.nav-main.panel.xml   (with props)

Added: forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/maven.fv
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/maven.fv?rev=697661&view=auto
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/maven.fv (added)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/maven.fv Sun Sep 21 20:46:00 2008
@@ -0,0 +1,46 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You 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:views xmlns:forrest="http://apache.org/forrest/templates/1.0" 
+  xmlns:jx="http://apache.org/cocoon/templates/jx/1.0"
+  jx:cache-key="#{$cocoon/parameters/getRequest}" 
+  jx:cache-validity="${Packages.org.apache.excalibur.source.impl.validity.NOPValidity()}">
+<!-- The following variables are used to contact data models and/or contracts. -->
+  <jx:set var="contextPath" value="#{$cocoon/parameters/contextPath}"/>
+  <jx:set var="getRequest" value="#{$cocoon/parameters/getRequest}"/>
+  <jx:set var="getRequestExtension" value="#{$cocoon/parameters/getRequestExtension}" />
+<!-- FO View of the request (e.g. index.fo, usually further processed to pdf)-->
+  <forrest:view type="fo" hooksXpath="/">
+    <jx:import uri="cocoon://prepare.panels.common-fo"/>
+  </forrest:view>
+<!-- CSS View of the request e.g. index.dispatcher.css -->
+  <forrest:view type="css" hooksXpath="/">
+    <jx:import uri="cocoon://prepare.panels.maven-css"/>
+  </forrest:view>
+<!-- HTML View of the request (e.g. index.html)-->
+  <forrest:view type="html" hooksXpath="/html/body">
+    <jx:import uri="cocoon://prepare.panels.maven-html.head"/>
+    <forrest:hook name="container">
+      <jx:import uri="cocoon://prepare.panels.maven-html.header"/>
+      <forrest:hook name="page">
+        <jx:import uri="cocoon://prepare.panels.maven-html.leftbar"/>
+        <jx:import uri="cocoon://prepare.panels.maven-html.content"/>
+      </forrest:hook>
+      <jx:import uri="cocoon://prepare.panels.maven-html.footer"/>
+    </forrest:hook>
+  </forrest:view>
+</forrest:views>

Propchange: forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/maven.fv
------------------------------------------------------------------------------
    svn:eol-style = native

Added: forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/maven/css/leather-dev.css
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/maven/css/leather-dev.css?rev=697661&view=auto
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/maven/css/leather-dev.css (added)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/maven/css/leather-dev.css Sun Sep 21 20:46:00 2008
@@ -0,0 +1,50 @@
+/*
+* Licensed to the Apache Software Foundation (ASF) under one or more
+* contributor license agreements.  See the NOTICE file distributed with
+* this work for additional information regarding copyright ownership.
+* The ASF licenses this file to You 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.
+*/
+
+#container .breadtrail {
+    display: none;
+}
+
+#container .logo {
+    display: none;
+}
+
+#header .searchbox {
+    display: none;
+}
+#header .lastmodified {
+    display: none;
+}
+#leftbar #credit {
+    display: none;
+}
+
+#leftbar hr {
+    display: none;
+}
+
+#leftbar #credit2 {
+    display: none;
+}
+
+.trail {
+    display: none;
+}
+
+.motd-area {
+    display: none;
+}
\ No newline at end of file

Propchange: forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/maven/css/leather-dev.css
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/maven/css/leather-dev.css
------------------------------------------------------------------------------
    svn:mime-type = text/css

Added: forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/maven/css/maven.basic.css
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/maven/css/maven.basic.css?rev=697661&view=auto
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/maven/css/maven.basic.css (added)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/maven/css/maven.basic.css Sun Sep 21 20:46:00 2008
@@ -0,0 +1,184 @@
+/*
+* Licensed to the Apache Software Foundation (ASF) under one or more
+* contributor license agreements.  See the NOTICE file distributed with
+* this work for additional information regarding copyright ownership.
+* The ASF licenses this file to You 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.
+*/
+/**
+ * General
+ */
+
+img { border: 0; }
+
+#content table {
+  border: 0;
+  width: 100%;
+}
+/*Hack to get IE to render the table at 100%*/
+* html #content table { margin-left: -3px; }
+
+#content th,
+#content td {
+  margin: 0;
+  padding: 0;
+  vertical-align: top;
+}
+
+.clearboth {
+  clear: both;
+}
+
+/*
+ * Notes, Warnings, Fixme ...
+ */
+.note, .warning, .fixme {
+  border: solid black 1px;
+  margin: 1em 3em;
+}
+.fixme    { border-color: #CC6600;} 
+.note     { border-color: #006699;} 
+.warning  { border-color: #990000;} 
+
+/* Label */
+.note    .label { background: #336699; }
+.warning .label { background: #CC0000; }
+.fixme   .label { background: #C6C600; }
+
+.note .label, .warning .label, .fixme .label {
+  color: white;
+  font-weight: bold;
+  padding: 5px 10px;
+}
+
+/* Content */
+.note    .content { background: #F0F0FF; }
+.warning .content { background: #FFF0F0; }
+.fixme   .content { background: #FFFFBF; }
+
+.note .content, .warning .content, .fixme .content {
+  color: black;
+  line-height: 120%;
+  font-size: 90%;
+  padding: 5px 10px;
+}
+
+/**
+ * Typography
+ */
+
+body {
+  font-family: verdana, "Trebuchet MS", arial, helvetica, sans-serif;
+  font-size: 100%;
+}
+
+#content {
+  font-family: Georgia, Palatino, Times, serif;
+  font-size: 95%;
+}
+#nav-main {
+  font-size: 70%;
+}
+#menu {
+  font-size: 80%;
+}
+#footer {
+  font-size: 70%;
+}
+
+h1, h2, h3, h4, h5, h6 {
+  font-family: "Trebuchet MS", verdana, arial, helvetica, sans-serif;
+  font-weight: bold;
+  margin-top: 1em;
+  margin-bottom: .5em;
+}
+
+h1 {
+    margin-top: 0;
+    margin-bottom: 1em;
+  font-size: 1.4em;
+}
+#content h1 {
+  font-size: 160%;
+  margin-bottom: .5em;
+}
+#menu h1 {
+  margin: 0;
+  padding: 10px;
+  background: #336699;
+  color: white;
+}
+h2 { font-size: 120%; }
+h3 { font-size: 100%; }
+h4 { font-size: 90%; }
+h5 { font-size: 80%; }
+h6 { font-size: 75%; }
+
+p {
+  line-height: 120%;
+  text-align: left;
+  margin-top: .5em;
+  margin-bottom: 1em;
+}
+
+#content li,
+#content th,
+#content td,
+#content li ul,
+#content li ol{
+  margin-top: .5em;
+  margin-bottom: .5em;
+}
+
+
+#content li li,
+#minitoc-area li{
+  margin-top: 0em;
+  margin-bottom: 0em;
+/**	
+  line-height: 110%;  
+  margin-top: .1em;
+  margin-bottom: .1em;
+  **/
+}
+
+#content .attribution {
+  text-align: right;
+  font-style: italic;
+  font-size: 85%;
+  margin-top: 1em;
+}
+
+.codefrag {
+  font-family: "Courier New", Courier, monospace;
+  font-size: 110%;
+}
+
+/* FIXME - Not sure it is used somewhere ... */
+.frame {
+  border: solid black 1px;
+  margin: 1em 3em;
+}
+
+.frame .label {
+  background: #369;
+  color: white;
+  font-weight: bold;
+  padding: 5px 10px;
+}
+.frame .content {
+  padding: 5px 10px;
+  background: #F0F0FF;
+  color: black;
+  line-height: 120%;
+  font-size: 90%;
+}

Propchange: forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/maven/css/maven.basic.css
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/maven/css/maven.basic.css
------------------------------------------------------------------------------
    svn:mime-type = text/css

Added: forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/maven/css/maven.print.css
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/maven/css/maven.print.css?rev=697661&view=auto
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/maven/css/maven.print.css (added)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/maven/css/maven.print.css Sun Sep 21 20:46:00 2008
@@ -0,0 +1,45 @@
+/*
+* Licensed to the Apache Software Foundation (ASF) under one or more
+* contributor license agreements.  See the NOTICE file distributed with
+* this work for additional information regarding copyright ownership.
+* The ASF licenses this file to You 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.
+*/
+body {
+  font-family: Georgia, Palatino, serif;
+  font-size: 12pt;
+  background: white;
+}
+
+#header, #leftbar,#export-link, .breadtrail, #siteinfo-compliance-links { display: none; }
+
+#content {
+  width: auto;
+  padding: 0;
+  float: none !important;
+  color: black;
+  background: transparent;
+}
+
+a:link, a:visited {
+  color: #336699;
+  background: transparent;
+  text-decoration: underline;
+}
+
+#footer {
+  margin-top: 4em;
+}
+
+acronym {
+  border: 0;
+}

Propchange: forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/maven/css/maven.print.css
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/maven/css/maven.print.css
------------------------------------------------------------------------------
    svn:mime-type = text/css

Added: forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/maven/css/maven.screen.css
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/maven/css/maven.screen.css?rev=697661&view=auto
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/maven/css/maven.screen.css (added)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/maven/css/maven.screen.css Sun Sep 21 20:46:00 2008
@@ -0,0 +1,765 @@
+/*
+* Licensed to the Apache Software Foundation (ASF) under one or more
+* contributor license agreements.  See the NOTICE file distributed with
+* this work for additional information regarding copyright ownership.
+* The ASF licenses this file to You 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.
+*/
+
+body { 
+    margin: 0px 0px 0px 0px; font-family: Verdana, Helvetica, sans-serif;
+    background-color: White;
+    color: #000000;
+}
+
+p {
+  line-height: 120%;
+  text-align: left;
+  margin-top: .5em;
+  margin-bottom: 1em;
+}
+
+h1, h2, h3, h4, h5, h6 { font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif; }
+
+h1     { font-size : 1.6em; margin: 0px 0px 0px 0px;  padding: 0px; }
+h2     { font-size : 1.4em; margin: 0.9em 0px 0px 0px; padding: 0px; font-weight : bold;}
+h3     { font-size : 1.3em; margin: 0.8em 0px 0px 0px; padding: 0px; font-weight : bold; }
+.h3 { margin: 22px 0px 3px 0px; }
+h4     { font-size : 1.1em; margin: 0.7em 0px 0px 0px; padding: 0px; font-weight : normal; text-align: left; }
+.h4 { margin: 18px 0px 0px 0px; }
+h4.faq { font-size : 1.1em; margin: 18px 0px 0px 0px; padding: 0px; font-weight : bold;   text-align: left; }
+h5     { font-size : 0.9em; margin: 14px 0px 0px 0px; padding: 0px; font-weight : normal; text-align: left; }
+
+#content h1 { margin-bottom: .5em; }
+
+#menu h1 {
+  margin: 0;
+  padding: 10px;
+  background: #336699;
+  color: white;
+}
+
+#content {
+    padding: 20px 20px 20px 200px;
+    margin: 0;
+    font-family : Verdana, Helvetica, sans-serif;
+    font-size: 0.75em;
+}
+
+#content ul {
+    margin: 0;
+    padding: 0 25px;
+}
+#content li {
+    padding: 0 5px;
+}
+#content li, #content th, #content td {
+  line-height: 110%;  
+  margin-top: .1em;
+  margin-bottom: .1em;
+}
+
+#content .attribution {
+  text-align: right;
+  font-style: italic;
+  font-size: 0.75em;
+  margin-top: 1em;
+}
+
+/**
+* Content table related
+*/
+
+#content table {
+	border: 0;
+	width: 100%;
+}
+
+* html #content table { margin-left: -3px; }
+
+#content th, #content td {
+  margin: 0;
+  padding: 0;
+  vertical-align: top;
+}
+
+.codefrag {
+  font-family: "Courier New", Courier, monospace;
+  font-size: 1.1em;
+}
+
+/* Table related generic */
+
+table .title { background-color: #000000; }
+.ForrestTable {
+    color: #ffffff;
+    background-color: #7099C5;
+    width: 100%;
+    font-size : 100%;
+    empty-cells: show;
+}
+table caption {
+    padding-left: 5px;
+    color: #000000;
+    text-align: left;
+    font-weight: bold;
+    background-color: #ccc;
+}
+.ForrestTable td {
+    color: black;
+    background-color: #F0F0FF;
+}
+.ForrestTable th { text-align: center; }
+
+/**
+ * Page Header
+ */
+
+#container {
+    position: relative;
+    float: left;
+    width: 100%;
+    background-color: #FFFFFF;
+}
+
+#container #header {
+    position: relative;
+    float: left;
+    width: 100%;
+    background-color: #FFFFFF;
+    background-image: url('../themes/images/header_white_line.gif');
+    /* % values for background position: 100% 85%
+    px is slightly more accurate */
+    background-position: 0px 107px;
+    background-repeat: repeat-x;
+}
+
+/* branding-logo Template */
+#header .logo {
+    padding: 7px 0px 10px 10px;
+    float: left;
+    text-align: left;
+}
+
+#header .searchbox {
+    position: absolute;
+    margin: 0;
+    right: 10px;
+    height: 42px;
+    white-space: nowrap;
+    text-align: right;
+    color: #000000;
+    background-color: #ccc;
+    z-index:0;
+    bottom: 18px; /* compensate for IE rendering issue */
+}
+/* DUC - Formerly searchbox */
+#header .search-input {
+    padding: 5px 10px;
+}
+
+#header .round-top-left-small {
+  background-repeat: no-repeat;
+  background-position: top left;
+  background-image: url(../themes/images/roundcorner-t-l-5-bgccc-strokccce-fgccc.png);
+  } 
+#header .round-top-right-small {
+  background-repeat: no-repeat;
+  background-position: top right;
+  background-image: url(../themes/images/roundcorner-t-r-5-bgccc-strokccce-fgccc.png);
+  }
+.round-bottom-left-small {
+  background-repeat: no-repeat;
+  background-position: bottom left;
+  background-image: url(../themes/images/roundcorner-b-l-5-bgccc-strokccce-fgccc.png);
+  } 
+.round-bottom-right-small {
+  background-repeat: no-repeat;
+  background-position: bottom right;
+  background-image: url(../themes/images/roundcorner-b-r-5-bgccc-strokccce-fgccc.png);
+  }
+.round-bottom-left-big {
+  background-repeat: no-repeat;
+  background-position: bottom left;
+  background-image: url(../themes/images/roundcorner-b-l-15-bgccc-strokccce-fgccc.png);
+  } 
+.round-bottom-right-big {
+  background-repeat: no-repeat;
+  background-position: bottom right;
+  background-image: url(../themes/images/roundcorner-b-r-15-bgccc-strokccce-fgccc.png);
+  }
+
+#header .search-field {
+    float: left;
+}
+
+/* Navigation - Top Horizontal Tabbed Navigation */
+
+#nav-main {
+    font-size: 0.7em;
+    clear: both;
+    padding-left: 10px;
+    margin: 0;
+    list-style: none;
+}
+
+#nav-main li {
+    float: left;
+    background-image: url(../themes/images/roundcorner-t-r-5-bgccc-strokeB5C7E7-fgB5C7E7.png);
+    background-repeat: no-repeat;
+    background-position: top right;
+    background-color: #ACC5C6;
+    margin: 0 3px 0 0;
+    padding: 0;
+}
+
+#nav-main li a {
+    float: left;
+    display: block;
+    font-family: verdana, arial, sans-serif;
+    text-decoration: none;
+    color: black;
+    white-space: nowrap;
+    background-image: url(../themes/images/roundcorner-t-l-5-bgccc-strokeB5C7E7-fgB5C7E7.png);
+    background-repeat: no-repeat;
+    background-position: top left;
+    padding: 5px 15px 4px;
+    width: .1em; /* IE/Win fix */
+}
+#nav-main li a:link {  color: #0F3660; }
+#nav-main li a:visited { color: #0F3660; }
+#nav-main li a:hover { color: #0F3660; }
+
+#nav-main > li a { width: auto; } /* Rest of IE/Win fix */
+
+/* Commented Backslash Hack hides rule from IE5-Mac \*/
+#nav-main a { float: none; }
+/* End IE5-Mac hack */
+
+#nav-main .current {
+    background-color: #ccc;
+    background-image: url(../themes/images/roundcorner-t-r-5-bgccc-strokccce-fgccc.png);
+    background-repeat: no-repeat;
+    background-position: top right;
+}
+#nav-main .current a {
+    font-weight: bold;
+    padding-bottom: 5px;
+    color: #CFDCED;
+    background-image: url(../themes/images/roundcorner-t-l-5-bgccc-strokccce-fgccc.png);
+    background-repeat: no-repeat;
+    background-position: top left;
+}
+
+#nav-main .current a:link {  color: #CFDCED;  }
+#nav-main .current a:visited { color: #CFDCED; }
+#nav-main .current a:hover { color: #CFDCED; }
+
+#publishedStrip {
+    position: relative;
+    background: #ccc;
+    clear:both;
+    padding-right: 10px;
+    padding-left: 3px;
+    padding-top: 3px;
+    padding-bottom:3px;
+    color: #000;
+    font-size : 0.6em;
+    font-weight: normal;
+    text-align:left;
+    min-height:10px;
+	font-size: 10px;
+}
+
+#level2tabs {
+  /*  color: #000000;
+    margin: 0;
+    float:left;
+    position:relative;
+    background-color: #ccc ;*/
+	display: none;
+}
+#level2tabs a {padding-right: 5px;
+/*background-color: #CFDCED;
+text-decoration:none;
+cursor: pointer;
+background-image: url('../themes/images/chapter.gif');
+background-repeat: no-repeat;
+background-position: center left;
+margin-left: 6px;
+padding-left : 6px;*/
+display:none;
+}
+#/*level2tabs a:link {  color: #000066; }
+#level2tabs a:visited {  color: #000066; }
+#level2tabs a:hover { color: #000066; text-decoration:underline; }
+#level2tabs a:selected {background-color: #ccc; color: #CFDCED;}*/
+/*
+*    border-top: solid #ccc 15px;
+*/
+#page {
+    position: relative;
+    background: white;
+    clear:both;
+}
+
+/**
+* Round corner
+*/
+#roundtop {
+    background-image: url(../themes/images/roundcorner-t-r-15-bgFFFFFF-strokccce-fgccc.png);
+    background-repeat: no-repeat;
+    background-position: top right;
+}
+
+#roundbottom {
+    background-image: url(../themes/images/roundcorner-b-r-15-bgFFFFFF-strokccce-fgccc.png);
+    background-repeat: no-repeat;
+    background-position: top right;
+}
+
+#roundbottomLeft {
+    background-image: url(../themes/images/roundcorner-b-l-15-bgFFFFFF-strokccce-fgccc.png);
+    background-repeat: no-repeat;
+    background-position: bottom left;
+}
+
+img.corner {
+   width: 15px;
+   height: 15px;
+   border: none;
+   display: block !important;
+}
+
+.roundtopsmall {
+    background-image: url(../themes/images/roundcorner-t-r-5-bgFFFFFF-strokccce-fgccc.png);
+    background-repeat: no-repeat;
+    background-position: top right;
+}
+
+#roundbottomsmall {
+    background-image: url(../themes/images/roundcorner-b-r-5-bgFFFFFF-strokccce-fgccc.png);
+    background-repeat: no-repeat;
+    background-position: top right;
+}
+
+img.cornersmall {
+   width: 5px;
+   height: 5px;
+   border: none;
+   display: block !important;
+}
+
+/* Navigation - Left Side Vertical Navigation */
+
+#nav-section ul {
+    list-style: none;
+    margin: 0px;
+    padding: 0px;
+}
+
+#leftbar a {  font-weight: normal; text-decoration: none;}
+#leftbar a:link { color: #36a; }
+#leftbar a:visited { color: #47a; }
+#leftbar a:active { color: #69c; }
+#leftbar a:hover { color: #69c; text-decoration: underline; }
+
+#menuarea { width:10em;}
+
+#leftbar {
+    position: relative;
+    float: left;
+    width: 180px;
+    padding-top: 0px;
+    top:10px;
+    left:5px;
+    z-index: 20;
+	border: 1px solid #999;;
+    background-color: #eee;
+    font-size: 0.75em;
+    color: #000000;
+}
+
+
+.pagegroup ul {
+    list-style: none;
+}
+
+.pagegroup {
+        display: block;
+        cursor:pointer;
+}
+
+#nav-section span {
+        background-repeat: no-repeat;
+        background-position: center left;
+        margin-left: 10px;
+        padding: 3px 12px;
+        font-weight : bold;
+}
+#nav-section .pagegroup span {
+        /*background-image: url('../themes/images/chapter.gif');*/
+        color: #000;
+		border-bottom: 1px solid #aaa;
+}
+.pagegroupselected span {
+        /*background-image: url('../themes/images/chapter_open.gif');*/
+        color: #000;
+		border-bottom: 1px solid #aaa;
+}
+.pagegroupopen span {
+       /* background-image: url('../themes/images/chapter_open.gif');*/
+        color: #000;
+}
+
+.pagegroupselected {
+        display: block;
+        cursor:pointer;
+}
+
+.pagegroupopen {
+        display: block;
+        cursor:pointer;
+}
+#nav-section .menuitemgroup {
+        margin: 0px 0px 6px 8px;
+        padding: 0px;
+        font-weight : bold; }
+
+#nav-section .selectedmenuitemgroup{
+        margin: 0px 0px 6px 8px;
+        padding: 0px;
+        font-weight : bold; }
+
+#nav-section .menuitem {
+        padding: 0px 0px 2px 12px;
+        /*background-image: url('../themes/images/page.gif');
+        background-repeat: no-repeat;
+        background-position: center left;*/
+        font-weight : normal;
+       margin-left: 10px;
+        font-size: 0.9em;
+}
+
+#nav-section .menupage {
+        margin: 5px 0px 5px 10px;
+        padding: 0px 3px 0px 8px;
+        /*background-image: url('../themes/images/current.gif');
+        background-repeat: no-repeat;
+        background-position: top left;*/
+        font-style : normal;
+}
+
+#nav-section .menupagetitle {
+        color: #000000;
+        padding: 0px 0px 0px 6px;
+        font-style : normal;
+        font-weight : normal;
+       /* border-style: solid;
+        border-width: 1px;*/
+        margin-right: 10px;
+        /*border-color: #cccccc;
+        background-color: #CFDCED;*/
+        font-size: 0.9em;
+}
+
+#nav-section .menupageitemgroup {
+        padding: 3px 0px 4px 6px;
+        font-style : normal;
+        border-bottom: 1px solid ;
+        border-left: 1px solid ;
+        border-right: 1px solid ;
+        margin-right: 10px;
+        border-color: #cccccc;
+        background-color: #CFDCED;
+}
+
+#nav-section .menupageitem {
+        color: #000000;
+        font-style : normal;
+        font-weight : normal;
+        border-width: 0px;
+        font-size: 0.75em;
+}
+#nav-section .menupageitem a:link { color: #000000;}
+#nav-section .menupageitem a:visited { color: #000000;}
+#nav-section .menupageitem a:hover {
+        background-color: #ccc;
+        color: #000000;
+}
+
+#leftbar #credit {
+    text-align: center;
+}
+
+#leftbar #credit2 {
+    text-align: center;
+    padding: 3px 3px 3px 3px;
+    background-color: #ffffff;
+}
+
+#leftbar #credit2 a:hover {
+  background-color: #FFFFFF;
+}
+
+/* DUC - Formerly searchbox */
+#leftbar .searchbox {
+    text-align: center;  
+}
+#leftbar .search-input {
+    padding: 3px 3px;
+    margin: 0;
+}
+
+#feedback {
+    color: black;
+    background: #CFDCED;
+    text-align:center;
+    margin-top: 5px;
+}
+#feedback #feedbackto {
+    font-size: 0.75em;
+    color: black;
+}
+#footer {
+    font-size: x-small;
+    clear: both;
+    position: relative; /* IE bugfix (http://www.dracos.co.uk/web/css/ie6floatbug/) */
+    width: 100%;
+    background-color: #FFF;
+    border-top: solid 1px #CCC;
+    color: black;
+}
+#footer .copyright {
+    position: relative; /* IE bugfix cont'd */
+    padding: 5px;
+    margin: 0;
+    width: 75%;
+	float:right;
+	text-align:right;
+}
+#footer .lastmodified {
+    position: relative; /* IE bugfix cont'd */
+    float: right;
+    width: 35%;
+    padding: 5px;
+    margin: 0;
+    text-align: right;
+}
+
+#footer #siteinfo-compliance-links {
+    text-align: left;
+    float:left;
+	clear:both;
+}
+
+
+/**
+ * Misc Styles
+ */
+
+acronym { cursor: help; }
+.boxed          { background-color: #ccc;}
+.underlined_5   { border-bottom: solid 5px #ccc;}
+.underlined_10  { border-bottom: solid 10px #ccc;}
+.code           { border-color: #CFDCED;} 
+
+
+/* ==================== snail trail ============================ */
+
+.trail {
+  position: relative; /* IE bugfix cont'd */
+  font-size: 75%;
+  text-align: right;
+  float: right;
+  margin: -10px 5px 0px 5px;
+  padding: 0;
+  /* Workaround, remong text-size from panels messes up layout */
+  display:none;
+}
+
+#content .motd-area {
+    position: relative; /* IE bugfix cont'd */
+    float: right;
+    width: 35%;
+    background-color: #f0f0ff;
+    border-top: 1px solid #ccc;
+    border-bottom: solid 1px #ccc;
+    margin-bottom: 15px;
+    margin-left: 15px;
+    margin-right: 10%;
+    padding-bottom: 5px;
+    padding-top: 5px;
+}
+
+#content-minitoc-area {
+    border-top: solid 1px #ccc;
+    border-bottom: solid 1px #ccc;
+    margin-bottom: 15px;
+    margin-left: 15px;
+    margin-right: 10%;
+    padding-bottom: 5px;
+    padding-top: 5px;
+}
+/*** CD : Lien en bleu lors du survol de la souris... **/
+#content-minitoc-area a:hover   { border: 0px solid #a5b6c6; background: #CFDCED; }
+
+.minitoc {
+    list-style-image: url('../themes/images/current.gif');
+    font-weight: normal;
+}
+
+li p {
+    margin: 0;
+    padding: 0;
+}
+
+#export-link {
+    position: relative; /* IE bugfix cont'd */
+    float: right;
+    margin: 5px 5px;
+    padding: 0;
+}
+#export-link .caption {
+    display: block;
+    font-size: 0.7em;
+    padding-left: 1px;
+}
+#export-link .format {
+    display: block;
+    text-align: center;
+    text-decoration: none;
+}
+
+.printlink {
+    position: relative; /* IE bugfix cont'd */
+    float: right;
+}
+.printlink br {
+    margin-top: -10px;
+    padding-left: 1px;
+}
+.printlink a {
+    display: block;
+    font-size: 0.7em;
+    text-align: center;
+    margin: 0;
+    padding: 0;
+}
+.printlink img {
+    display: block;
+    height: 16px;
+    width: 16px;
+}
+
+p.instruction {
+  display: list-item;
+  list-style-image: url('../themes/images/instruction_arrow.png');
+  list-style-position: outside;
+  margin-left: 2em;
+} 
+
+.breadtrail {
+    background: #ccc;
+    color: #0F3660;
+    border-bottom: solid 1px white;
+    padding: 3px 10px;
+    font-size: 0.75em;
+    min-height:12px;
+}
+.breadtrail a:link { color: black; }
+.breadtrail a:visited { color: black; }
+.breadtrail a:hover { color: black; }
+
+#page .breadtrail {
+    clear:both;
+    position: relative;
+    border-bottom: solid 1px black;
+    border-top: solid 1px black;
+    padding: 0px 200px;
+    z-index:10;
+}
+
+#branding-tagline-name {
+    display: none;
+}
+
+#branding-tagline-tagline {
+    display: none;
+}
+
+a:link { color: #0F3660; } 
+a:visited { color: #00ccc9; } 
+a:hover { color: #000066; }
+
+/* This stuff was in pelt.basic.css. Any duplicate code or other code that
+could be combined have been added above */
+
+img { border: 0; }
+
+.clearboth {
+  clear: both;
+}
+
+.frame {
+  border: solid black 1px;
+  margin: 1em 3em;
+}
+
+.frame .label {
+  background: #369;
+  color: white;
+  font-weight: bold;
+  padding: 5px 10px;
+}
+.frame .content {
+  padding: 5px 10px;
+  background: #F0F0FF;
+  color: black;
+  line-height: 120%;
+  font-size: 0.75em;
+}
+/*
+ * Notes, Warnings, Fixme ...
+ */
+.note, .warning, .fixme {
+  border: solid black 1px;
+  margin: 1em 3em;
+}
+.fixme    { border-color: #CC6600;} 
+.note     { border-color: #006699;} 
+.warning  { border-color: #990000;} 
+
+/* Label */
+.note    .label { background: #336699; }
+.warning .label { background: #CC0000; }
+.fixme   .label { background: #C6C600; }
+
+.note .label, .warning .label, .fixme .label {
+  color: white;
+  font-weight: bold;
+  padding: 5px 10px;
+}
+
+/* Content */
+.note    .content { background: #F0F0FF; }
+.warning .content { background: #FFF0F0; }
+.fixme   .content { background: #FFFFBF; }
+
+.note .content, .warning .content, .fixme .content {
+  color: black;
+  line-height: 120%;
+  font-size: 0.9em;
+  padding: 5px 10px;
+}
+
+

Propchange: forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/maven/css/maven.screen.css
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/maven/css/maven.screen.css
------------------------------------------------------------------------------
    svn:mime-type = text/css

Added: forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/maven/html/branding-logo.ft
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/maven/html/branding-logo.ft?rev=697661&view=auto
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/maven/html/branding-logo.ft (added)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/maven/html/branding-logo.ft Sun Sep 21 20:46:00 2008
@@ -0,0 +1,89 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You 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 name="branding-logo"
+  xmlns:forrest="http://apache.org/forrest/templates/1.0">
+  <description>
+    <p>This contract will output images. You can configure it like follow:</p>
+    <ul>
+          <li>branding-logo-name - will be used for @alt value of the &lt;img&gt; </li>
+          <li>branding-logo-description - will be used for @title value of the &lt;img&gt; </li>
+          <li>branding-logo-url - will be used for the @href location of a surrounding &lt;a&gt;  </li>
+          <li>branding-logo-logo - will be used for @src value of the &lt;img&gt; </li>
+          <li>branding-logo-over - if used then a javascript will be rendered which switches the images.
+             Will be used for @onmouseover image @src value of the &lt;img&gt; </li>
+           <li>branding-logo-width - will be used for @width value of the &lt;img&gt; </li>
+           <li>branding-logo-height - will be used for @height value of the &lt;img&gt; </li>
+        </ul>
+  </description>
+
+  <usage><![CDATA[<forrest:contract name="branding-logo">
+  <forrest:property name="branding-logo-name">Apache Forrest</forrest:property>
+  <forrest:property name="branding-logo-description">Apache Forrest</forrest:property>
+  <forrest:property name="branding-logo-url">http://forrest.apache.org/</forrest:property>
+  <forrest:property name="branding-logo-logo">images/project-logo.gif</forrest:property>
+  [<forrest:property name="branding-logo-over">images/project-logo_over.gif</forrest:property>]
+  [<forrest:property name="branding-logo-width">500</forrest:property>]
+  [<forrest:property name="branding-logo-height">490</forrest:property>]
+</forrest:contract>]]></usage>
+
+  <forrest:template
+  xmlns:forrest="http://apache.org/forrest/templates/1.0"
+  name="branding-logo" inputFormat="xsl">
+
+    <xsl:stylesheet version="1.1" 
+      xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+        <xsl:include href="cocoon://prepare.contract.html.helper-render-image"/>
+        <xsl:param name="defaultVariables" select="'test.html'"/>
+        <xsl:param name="branding-logo-name"/>
+        <xsl:param name="branding-logo-description"/>
+        <xsl:param name="branding-logo-url"/>
+        <xsl:param name="branding-logo-logo"/>
+        <xsl:param name="branding-logo-class"/>
+        <xsl:param name="branding-logo-over"/>
+        <xsl:param name="branding-logo-width"/>
+        <xsl:param name="branding-logo-height"/>
+        <xsl:variable name="root" select="$defaultVariables/*/*[@name='root']/@value"/>
+      <xsl:template match="/">
+        <forrest:content>
+          <forrest:part>
+<xsl:comment>+
+    |start Logo
+    +</xsl:comment> 
+            <xsl:call-template name="renderlogo">
+              <xsl:with-param name="name" select="normalize-space($branding-logo-name)"/>
+              <xsl:with-param name="url" select="normalize-space($branding-logo-url)"/>
+              <xsl:with-param name="logo" select="normalize-space($branding-logo-logo)"/>
+              <xsl:with-param name="class" select="normalize-space($branding-logo-class)"/>
+              <xsl:with-param name="rollover" select="normalize-space($branding-logo-over)"/>
+              <xsl:with-param name="width" select="normalize-space($branding-logo-width)"/>
+              <xsl:with-param name="height" select="normalize-space($branding-logo-height)"/>
+              <xsl:with-param name="root" select="$root"/>
+              <xsl:with-param name="description" 
+                select="normalize-space($branding-logo-description)"/>
+            </xsl:call-template>
+<xsl:comment>+
+    |end group Logo
+    +</xsl:comment> 
+          </forrest:part>
+        </forrest:content>
+      </xsl:template>
+
+    </xsl:stylesheet>
+
+  </forrest:template>
+</forrest:contract>

Propchange: forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/maven/html/branding-logo.ft
------------------------------------------------------------------------------
    svn:eol-style = native

Added: forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/maven/html/content-main.ft
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/maven/html/content-main.ft?rev=697661&view=auto
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/maven/html/content-main.ft (added)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/maven/html/content-main.ft Sun Sep 21 20:46:00 2008
@@ -0,0 +1,109 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You 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="content-main">
+  <description>
+    <p>
+      content-main
+      <br/>
+      Template will output the content-main.
+    </p>
+
+    <p>
+      properties:
+      <br/>
+      &lt;headings type="boxed"/> - Heading types can be clean|underlined|boxed
+    </p>
+  </description>
+  <usage>
+<![CDATA[<forrest:contract name="content-main" dataURI="cocoon://#{$getRequest}.body.xml"/>
+  </forrest:property>
+  <!-- Heading types can be clean|underlined|boxed  -->
+  <forrest:property name="content-main-conf">
+    <headings type="boxed"/>
+  </forrest:property>
+</forrest:contract>]]>
+  </usage>
+  <forrest:template xmlns:forrest="http://apache.org/forrest/templates/1.0"
+    name="content-main" inputFormat="xsl">
+    <xsl:stylesheet version="1.1" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+      <xsl:param name="content-main-conf" select='boxed'/>
+      <xsl:template match="/">
+        <forrest:content>
+          <forrest:part>
+            <xsl:comment>+ |start content-main +</xsl:comment>
+            <xsl:apply-templates
+              select="//div[@id='content']/div[@id='content-main']/*|//div[@id='content']/div[@id='content-main']/processing-instruction()"/>
+            <xsl:comment>+ |end content-main +</xsl:comment>
+          </forrest:part>
+        </forrest:content>
+      </xsl:template>
+<!--headings-->
+      <xsl:template match="div[@class = 'skinconf-heading-1']">
+        <xsl:choose>
+          <xsl:when test="$content-main-conf/headings/@type='underlined'">
+            <h2 class="underlined_10">
+              <xsl:value-of select="h1"/>
+            </h2>
+          </xsl:when>
+          <xsl:when test="$content-main-conf/headings/@type='boxed'">
+            <h2 class="boxed">
+              <xsl:value-of select="h1"/>
+            </h2>
+          </xsl:when>
+          <xsl:otherwise>
+            <h2 class="h3">
+              <xsl:value-of select="h1"/>
+            </h2>
+          </xsl:otherwise>
+        </xsl:choose>
+      </xsl:template>
+      <xsl:template match="div[@class = 'section']">
+        <div class="section">
+          <xsl:apply-templates select="*|processing-instruction()"/>
+        </div>
+      </xsl:template>
+      <xsl:template match="div[@class = 'skinconf-heading-2']">
+        <xsl:choose>
+          <xsl:when test="$content-main-conf/headings/@type='underlined'">
+            <h3 class="underlined_5">
+              <xsl:value-of select="h2"/>
+            </h3>
+          </xsl:when>
+          <xsl:when test="$content-main-conf/headings/@type='boxed'">
+            <h3 class="boxed">
+              <xsl:value-of select="h2"/>
+            </h3>
+          </xsl:when>
+          <xsl:otherwise>
+            <h3 class="h3">
+              <xsl:value-of select="h2"/>
+            </h3>
+          </xsl:otherwise>
+        </xsl:choose>
+      </xsl:template>
+      <xsl:template match="@*|*|text()|processing-instruction()" priority="-1">
+        <xsl:copy>
+          <xsl:apply-templates select="@*|*|text()|processing-instruction()"/>
+        </xsl:copy>
+      </xsl:template>
+    </xsl:stylesheet>
+  </forrest:template>
+</forrest:contract>

Propchange: forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/maven/html/content-main.ft
------------------------------------------------------------------------------
    svn:eol-style = native

Added: forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/maven/html/nav-main-sub.ft
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/maven/html/nav-main-sub.ft?rev=697661&view=auto
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/maven/html/nav-main-sub.ft (added)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/maven/html/nav-main-sub.ft Sun Sep 21 20:46:00 2008
@@ -0,0 +1,52 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You 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 name="nav-main-sub"
+  xmlns:forrest="http://apache.org/forrest/templates/1.0">
+  <description>
+    nav-main-sub will output the secondary navigation AKA level2.
+  </description>
+  <usage>
+<![CDATA[<forrest:contract name="nav-main-sub" dataURI="cocoon://#{$cocoon/parameters/getRequest}.navigation.xml"/>]]>
+  </usage>
+  <forrest:template
+  xmlns:forrest="http://apache.org/forrest/templates/1.0"
+  name="nav-main-sub" inputFormat="xsl">
+    <xsl:stylesheet version="1.1" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+      <xsl:template match="/" >
+        <forrest:content>
+          <forrest:part>
+            <xsl:comment>+
+    |start nav-main-sub
+    +</xsl:comment>
+<!-- FIXME - Suppress the following test when empty div problem is solved -->
+<!-- FIXME - With a little css work, we should use the common contract and suppress this one (no need of level2tabs) -->
+            <xsl:if test="navigation/tab/div[@id='nav-main-sub']/*">
+              <div id="level2tabs">
+                <xsl:copy-of
+                  select="navigation/tab/div[@id='nav-main-sub']/*"/>
+              </div>
+            </xsl:if>
+            <xsl:comment>+
+    |end Endtabs
+    +</xsl:comment>
+          </forrest:part>
+        </forrest:content>
+      </xsl:template>
+    </xsl:stylesheet>
+  </forrest:template>
+</forrest:contract>

Propchange: forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/maven/html/nav-main-sub.ft
------------------------------------------------------------------------------
    svn:eol-style = native

Added: forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/maven/html/nav-section-round-bottom.ft
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/maven/html/nav-section-round-bottom.ft?rev=697661&view=auto
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/maven/html/nav-section-round-bottom.ft (added)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/maven/html/nav-section-round-bottom.ft Sun Sep 21 20:46:00 2008
@@ -0,0 +1,46 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You 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 name="nav-section-round-bottom"
+  xmlns:forrest="http://apache.org/forrest/templates/1.0">
+  <description>
+    nav-section-round-bottom will output the round bottom of the navigation
+    menues
+  </description>
+  <usage>
+<![CDATA[<forrest:contract name="nav-section-round-bottom"/>]]>
+  </usage>
+  <forrest:template
+    xmlns:forrest="http://apache.org/forrest/templates/1.0"
+    name="nav-section-round-bottom" inputFormat="xsl">
+    <xsl:stylesheet version="1.1" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+      <xsl:param name="defaultVariables" select="'test.html'"/>
+      <xsl:variable name="skin-img-dir" select="$defaultVariables/*/*[@name='skin-img-dir']/@value"/>
+      <xsl:template match="/">
+        <forrest:content>
+          <forrest:part>
+            <div id="roundbottom">
+              <div id="roundbottomLeft">
+                <img class="corner" src="{$skin-img-dir}/spacer.gif" alt="spacer" />
+              </div>
+            </div>
+          </forrest:part>
+        </forrest:content>
+      </xsl:template>
+    </xsl:stylesheet>
+  </forrest:template>
+</forrest:contract>

Propchange: forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/maven/html/nav-section-round-bottom.ft
------------------------------------------------------------------------------
    svn:eol-style = native

Added: forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/maven/html/search-input.ft
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/maven/html/search-input.ft?rev=697661&view=auto
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/maven/html/search-input.ft (added)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/maven/html/search-input.ft Sun Sep 21 20:46:00 2008
@@ -0,0 +1,121 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You 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 name="search-input"
+  xmlns:forrest="http://apache.org/forrest/templates/1.0">
+  <description>
+    <p>
+      search-input will output the default search form.
+    </p>
+
+    <p>
+      To enable lucene search add provider="lucene" (default is google). @domain
+      will enable sitesearch for the specific domain with google. In other words
+      google will search the @domain for the query string.
+    </p>
+    <div class="warning">
+      <div class="label">Warning</div>
+      <div class="content">You need to include <![CDATA[<forrest:contract name="helper-form-blank"/>]]>
+        in your view!!! If you are not, the contract will not work correctly.</div>
+    </div>
+  </description>
+  <usage>
+<![CDATA[<forrest:contract name="search-input">
+   [<forrest:property name="search-lucene">lucene-search.html</forrest:property>]
+   [<forrest:property name="input-size">25</forrest:property>]
+   <forrest:property name="search-input">
+      <search name="MyProject" domain="mydomain" provider="google"/>
+    </forrest:property>
+</forrest:contract>]]>
+  </usage>
+  <forrest:template
+  xmlns:i18n="http://apache.org/cocoon/i18n/2.1"
+  xmlns:forrest="http://apache.org/forrest/templates/1.0"
+  name="search-input" inputFormat="xsl">
+    <xsl:stylesheet version="1.1" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+<!--FIXME: IMO each search provider should provide a form. This form should be refactored into
+        a meta-search from-->
+      <xsl:param name="search-lucene" select="'lucene-search.html'"/>
+      <xsl:param name="input-size"/>
+      <xsl:param name="search-input"/>
+      <xsl:param name="defaultVariables" select="'test.html'"/>
+      <xsl:variable name="root" select="$defaultVariables/*/*[@name='root']/@value"/>
+      <xsl:template match="/">
+        <forrest:content>
+          <forrest:part>
+            <xsl:comment>+
+  |start Search
+  +</xsl:comment>
+            <div class="searchbox">
+              <div class="round-top-left-small">
+                <div class="round-top-right-small">
+                  <div class="search-input">
+<!-- Form prompt -->
+                    <xsl:variable name="search-prompt">
+                      <i18n:translate>
+                        <i18n:text i18n:key="Search the site with">Search the site with {0}</i18n:text>
+                        <i18n:param>
+                          <xsl:value-of select="$search-input/search/@provider"/>
+                        </i18n:param>
+                      </i18n:translate>
+                    </xsl:variable>
+<!-- Form action -->
+                    <xsl:variable name="search-action">
+                      <xsl:choose>
+                        <xsl:when test="$search-input/search/@provider = 'lucene'">
+                          <xsl:value-of select="$root"/>
+                          <xsl:value-of select="$search-lucene"/>
+                        </xsl:when>
+                        <xsl:otherwise>http://www.google.com/search</xsl:otherwise>
+                      </xsl:choose>
+                    </xsl:variable>
+<!-- Form query field -->
+                    <xsl:variable name="search-query">
+                      <xsl:choose>
+                        <xsl:when test="$search-input/search/@provider = 'lucene'">
+                          queryString</xsl:when>
+                        <xsl:otherwise>q</xsl:otherwise>
+                      </xsl:choose>
+                    </xsl:variable>
+<!-- Search form generation -->
+                    <form method="get" action="{$search-action}">
+                      <div class="search-hidden">
+                        <input type="hidden" name="sitesearch"
+                          value="{$search-input/search/@domain}"/>
+                      </div>
+                      <div class="search-submit">
+                        <input type="submit" value="Search" name="Search"
+                          i18n:attr="value"/>
+                      </div>
+                      <div class="search-field">
+                        <input type="text" name="{$search-query}"
+                          size="{$input-size}" value="{normalize-space($search-prompt)}"
+                          onfocus="getBlank(this, '{normalize-space($search-prompt)}');"
+                          onblur="getPrompt(this, '{normalize-space($search-prompt)}');"/>
+                      </div>
+                    </form>
+                  </div>
+                </div>
+              </div>
+            </div>
+            <xsl:comment>+ |end search +</xsl:comment>
+          </forrest:part>
+        </forrest:content>
+      </xsl:template>
+    </xsl:stylesheet>
+  </forrest:template>
+</forrest:contract>

Propchange: forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/maven/html/search-input.ft
------------------------------------------------------------------------------
    svn:eol-style = native

Added: forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/maven/html/siteinfo-credits.ft
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/maven/html/siteinfo-credits.ft?rev=697661&view=auto
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/maven/html/siteinfo-credits.ft (added)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/maven/html/siteinfo-credits.ft Sun Sep 21 20:46:00 2008
@@ -0,0 +1,99 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You 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:forrest="http://apache.org/forrest/templates/1.0"
+  name="siteinfo-credits">
+  <description>
+    siteinfo-credits - Template will output the siteinfo-credits with pelt
+    look'n feel.
+  </description>
+  <usage>
+<![CDATA[<forrest:contract name="siteinfo-credits">
+    [<forrest:property name="box-location"></forrest:property>
+     <forrest:property name="top-separator">[true|<strong>false</strong>]</forrest:property>
+     <forrest:property name="use-role-as-prefix">[true|<strong>false</strong>]</forrest:property>
+     <forrest:property name="siteinfo-credits">
+      <credits>
+        <credit>
+          <name>Built with Apache Forrest</name>
+          <url>http://forrest.apache.org/</url>
+          <image>images/built-with-forrest-button.png</image>
+          <width>88</width>
+          <height>31</height>
+        </credit>
+      </credits>
+    </forrest:property>]
+  </forrest:contract>]]>
+  </usage>
+  <forrest:template xmlns:forrest="http://apache.org/forrest/templates/1.0"
+    name="siteinfo-credits" inputFormat="xsl">
+    <xsl:stylesheet version="1.1"
+      xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+      <xsl:param name="defaultVariables" select="'test.html'"/>
+      <xsl:param name="siteinfo-credits"/>
+      <xsl:param name="box-location"></xsl:param>
+      <xsl:param name="top-separator">false</xsl:param>
+      <xsl:param name="use-role-as-prefix">false</xsl:param>
+      <xsl:param name="use-br">false</xsl:param>
+      <xsl:variable name="filename" select="$defaultVariables/*/*[@name='filename']/@value"/>
+      <xsl:variable name="root" select="$defaultVariables/*/*[@name='root']/@value"/>
+      <xsl:template match="/">
+        <forrest:content>
+          <forrest:part>
+            <xsl:if test="$siteinfo-credits">
+              <xsl:variable name="credit" 
+                select="$siteinfo-credits/credits/credit[($use-role-as-prefix = 'true' and starts-with( $filename, concat( @role, '.') ) ) or starts-with( $filename, 'index') ]"/>
+              <xsl:if test="$credit">
+                <xsl:comment> |start siteinfo-credits </xsl:comment>
+                <div id="{$box-location}">
+                  <xsl:if test="$top-separator = 'true'">
+                    <hr/>
+                  </xsl:if>
+                  <xsl:for-each select="$credit">
+                    <xsl:if test="not( position()=1 ) and $use-br='true'">
+                      <br/>
+                    </xsl:if>
+                    <xsl:variable name="name" select="normalize-space(name)"/>
+                    <xsl:variable name="url" select="normalize-space(url)"/>
+                    <xsl:variable name="image" select="normalize-space(image)"/>
+                    <xsl:variable name="width" select="normalize-space(width)"/>
+                    <xsl:variable name="height" select="normalize-space(height)"/><a href="{$url}">
+                    <img alt="{$name} - logo" title="{$name}">
+                      <xsl:attribute name="src">
+                        <xsl:if test="not(starts-with($image, 'http://'))">
+                          <xsl:value-of select="$root"/>
+                        </xsl:if>
+                        <xsl:value-of select="$image"/>
+                      </xsl:attribute>
+                      <xsl:attribute name="style">
+                        <xsl:if test="$width">width: <xsl:value-of 
+                            select="$width"/>px;</xsl:if>
+                        <xsl:if test="$height">height: <xsl:value-of 
+                            select="$height"/>px;</xsl:if>
+                      </xsl:attribute>
+                    </img></a>
+                  </xsl:for-each>
+                </div>
+                <xsl:comment>+ |end siteinfo-credits +</xsl:comment>
+              </xsl:if>
+            </xsl:if>
+          </forrest:part>
+        </forrest:content>
+      </xsl:template>
+    </xsl:stylesheet>
+  </forrest:template>
+</forrest:contract>

Propchange: forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/maven/html/siteinfo-credits.ft
------------------------------------------------------------------------------
    svn:eol-style = native

Added: forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/maven/html/siteinfo-last-published.ft
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/maven/html/siteinfo-last-published.ft?rev=697661&view=auto
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/maven/html/siteinfo-last-published.ft (added)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/maven/html/siteinfo-last-published.ft Sun Sep 21 20:46:00 2008
@@ -0,0 +1,44 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You 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:forrest="http://apache.org/forrest/templates/1.0"
+  name="siteinfo-last-published">
+  <description>
+    siteinfo-last-published will output the last published date of the site with
+    the help of javascript.
+  </description>
+  <usage>
+<![CDATA[<forrest:contract name="siteinfo-last-published"/>]]>
+  </usage>
+  <forrest:template 
+    xmlns:i18n="http://apache.org/cocoon/i18n/2.1"
+    xmlns:forrest="http://apache.org/forrest/templates/1.0"
+    name="siteinfo-last-published" inputFormat="xsl">
+    <xsl:stylesheet version="1.1" 
+		    xmlns:i18n="http://apache.org/cocoon/i18n/2.1"
+        xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+      <xsl:template match="/">
+        <forrest:content>
+<!-- fixme: the jscript does not get written-->
+          <forrest:part>
+<script type="text/javascript">document.write("<i18n:text >Last Published:</i18n:text>&#160;" + document.lastModified);</script>
+          </forrest:part>
+        </forrest:content>
+      </xsl:template>
+    </xsl:stylesheet>
+  </forrest:template>
+</forrest:contract>

Propchange: forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/maven/html/siteinfo-last-published.ft
------------------------------------------------------------------------------
    svn:eol-style = native

Added: forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/maven/panels/maven-css.panel.xml
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/maven/panels/maven-css.panel.xml?rev=697661&view=auto
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/maven/panels/maven-css.panel.xml (added)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/maven/panels/maven-css.panel.xml Sun Sep 21 20:46:00 2008
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements.  See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You 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:template xmlns:forrest="http://apache.org/forrest/templates/1.0"
+  xmlns:jx="http://apache.org/cocoon/templates/jx/1.0">
+  <forrest:contract name="branding-theme-profiler">
+    <forrest:properties contract="branding-theme-profiler">
+      <forrest:property name="branding-theme-profiler-theme">
+        Maven</forrest:property>
+      <forrest:property name="branding-theme-profiler">
+      </forrest:property>
+    </forrest:properties>
+  </forrest:contract>
+</forrest:template>

Propchange: forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/maven/panels/maven-css.panel.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/maven/panels/maven-html.content.panel.xml
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/maven/panels/maven-html.content.panel.xml?rev=697661&view=auto
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/maven/panels/maven-html.content.panel.xml (added)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/maven/panels/maven-html.content.panel.xml Sun Sep 21 20:46:00 2008
@@ -0,0 +1,52 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You 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:template xmlns:forrest="http://apache.org/forrest/templates/1.0"
+  xmlns:jx="http://apache.org/cocoon/templates/jx/1.0">
+  <forrest:hook name="content">
+    <forrest:hook name="export-link">
+      <forrest:contract name="content-pdf-link"/>
+    </forrest:hook>
+    
+    <!-- FIXME - Problem with ndeSetTextSize() script from fontsize.js not compliant between Pelt and Leather-dev... -->
+    <forrest:hook class="trail">
+      <forrest:contract name="branding-fontsize"/>
+    </forrest:hook>
+    <forrest:contract name="content-title"
+      dataURI="cocoon://#{$getRequest}.title.xml"/>
+    <forrest:contract name="content-abstract"
+      dataURI="cocoon://#{$getRequest}.abstract.xml"/>
+    <forrest:contract name="content-minitoc"
+      dataURI="cocoon://#{$getRequest}.toc.xml">
+      <forrest:property name="content-minitoc-conf" max-depth="2" min-sections="1"
+        location="page"/>
+    </forrest:contract>
+    <forrest:contract name="content-main"
+      dataURI="cocoon://#{$getRequest}.body.xml">
+      <forrest:property name="content-main-conf">
+        <headings type="underlined"/>
+      </forrest:property>
+    </forrest:contract>
+    <!--
+    <forrest:contract name="content-authors">
+    <forrest:property name="content-authors" nugget="get.authors">
+    <jx:import uri="cocoon://#{$cocoon/parameters/getRequest}.authors.xml"/>
+    </forrest:property>
+    </forrest:contract>
+    -->
+  </forrest:hook>
+</forrest:template>

Propchange: forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/maven/panels/maven-html.content.panel.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/maven/panels/maven-html.footer.panel.xml
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/maven/panels/maven-html.footer.panel.xml?rev=697661&view=auto
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/maven/panels/maven-html.footer.panel.xml (added)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/maven/panels/maven-html.footer.panel.xml Sun Sep 21 20:46:00 2008
@@ -0,0 +1,70 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You 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:template xmlns:forrest="http://apache.org/forrest/templates/1.0"
+                  xmlns:jx="http://apache.org/cocoon/templates/jx/1.0">
+  <forrest:hook name="footer">
+          <!--  <forrest:hook class="lastmodified">
+      <forrest:contract name="siteinfo-last-published"/>
+    </forrest:hook>-->
+    <forrest:hook class="copyright">
+      <forrest:contract name="siteinfo-copyright">
+        <forrest:property name="siteinfo-copyright">
+          <copyright>
+            <year inception="true">2002</year>
+            <vendor>Apache Forrest</vendor>
+            <copyright-link>http://forrest.apache.org</copyright-link>
+          </copyright>
+        </forrest:property>
+      </forrest:contract>
+    </forrest:hook>
+    <!--<forrest:contract name="siteinfo-compliance-links"/>-->
+    <!-- <forrest:contract name="siteinfo-credits">
+      <forrest:property name="box-location">credit</forrest:property>
+      <forrest:property name="top-separator">false</forrest:property>
+      <forrest:property name="use-br">false</forrest:property>
+      <forrest:property name="siteinfo-credits">
+        <credits>
+          <credit>
+            <name>Built with Apache Forrest</name>
+            <url>http://forrest.apache.org/</url>
+            <image>images/built-with-forrest-button.png</image>
+            <width>88</width>
+            <height>31</height>
+          </credit>
+          <credit role="accueil">
+            <name>Built with Cocoon</name>
+            <url>http://cocoon.apache.org/</url>
+            <image>http://forrest.apache.org/images/built-with-cocoon.gif</image>
+          </credit>
+        </credits>
+      </forrest:property>
+    </forrest:contract>-->
+    <!-- 
+    <forrest:contract name="siteinfo-feedback">
+      <forrest:properties contract="siteinfo-feedback">
+        <forrest:property name="siteinfo-feedback">
+          <feedback to="the Webmaster"
+                    href="mailto:webmaster@foo.com?subject=Feedback&#160;">
+            Send feedback about the website to:
+          </feedback>
+        </forrest:property>
+      </forrest:properties>
+    </forrest:contract>
+    -->
+  </forrest:hook>
+</forrest:template>

Propchange: forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/maven/panels/maven-html.footer.panel.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/maven/panels/maven-html.head.panel.xml
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/maven/panels/maven-html.head.panel.xml?rev=697661&view=auto
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/maven/panels/maven-html.head.panel.xml (added)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/maven/panels/maven-html.head.panel.xml Sun Sep 21 20:46:00 2008
@@ -0,0 +1,64 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You 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:template xmlns:forrest="http://apache.org/forrest/templates/1.0"
+                  xmlns:jx="http://apache.org/cocoon/templates/jx/1.0">
+  <!-- 
+    @type defines this structurer to html.
+    @hooksXpath defines where all hooks will be injected (as prefix).
+  -->
+  <forrest:contract name="branding-css-links">
+  <!-- More information around this contract
+       http://marc.theaimsgroup.com/?l=forrest-dev&m=113473237805195&w=2
+  -->
+  <!--Note: The forrest:properties element does not exit anymore 
+            (in comparison to a previous versions) 
+  -->
+    <forrest:property name="branding-css-links-input">
+      <css url="common.css" media="screen" rel="alternate stylesheet" 
+           theme="common"/>
+      <css url="leather-dev.css" media="screen" rel="alternate stylesheet" 
+          theme="common"/>
+      <css url="maven.screen.css" media="screen" theme="Maven"/>
+      <!-- You can request url specific css as defined above, 
+           but beware that you need to use the *.dispatcher.css extension!!!
+      -->
+      <css prefix="" url="#{$getRequest}.dispatcher.css" media="screen" theme="Maven"/>
+      <css url="maven.print.css" media="print"/>
+      <css>/* Extra css */ 
+p.quote {
+ margin-left: 2em; 
+ padding: .5em; 
+ background-color: #f0f0f0; 
+ font-family: monospace; 
+}</css>
+    </forrest:property>
+  </forrest:contract>
+  <forrest:contract name="siteinfo-meta" dataURI="lm://project.build-info">
+    <forrest:property name="custom">
+      <meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
+    </forrest:property>
+    <forrest:property name="theme" value="maven"/>
+  </forrest:contract>
+  <forrest:contract name="siteinfo-meta-navigation" 
+      dataURI="cocoon://#{$getRequest}.navigation.xml"/>
+  <forrest:contract name="siteinfo-meta-icon">
+    <forrest:property name="siteinfo-meta-icon">
+      <favicon-url>favicon.ico</favicon-url>
+    </forrest:property>
+  </forrest:contract>
+</forrest:template>

Propchange: forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/maven/panels/maven-html.head.panel.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/maven/panels/maven-html.header.panel.xml
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/maven/panels/maven-html.header.panel.xml?rev=697661&view=auto
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/maven/panels/maven-html.header.panel.xml (added)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/maven/panels/maven-html.header.panel.xml Sun Sep 21 20:46:00 2008
@@ -0,0 +1,58 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You 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:template xmlns:forrest="http://apache.org/forrest/templates/1.0"
+  xmlns:jx="http://apache.org/cocoon/templates/jx/1.0">
+  <!-- <forrest:contract name="branding-breadcrumbs">
+    <forrest:property name="branding-breadcrumbs">
+      <trail>
+        <link1 name="MyGroup" href="http://www.apache.org/"/>
+        <link2 name="MyProject" href="http://forrest.apache.org/"/>
+      </trail>
+    </forrest:property>
+  </forrest:contract>-->
+  <forrest:hook name="header">
+    <forrest:contract name="branding-tagline">
+      <forrest:property name="branding-tagline-name">new seed</forrest:property>
+      <forrest:property name="branding-tagline-tagline">powered by the
+        dispatcher</forrest:property>
+    </forrest:contract>
+    <forrest:hook class="logo">
+      <forrest:contract name="branding-logo">
+        <forrest:property name="branding-logo-name"> MyGroup</forrest:property>
+        <forrest:property name="branding-logo-description">MyGroup
+          Description</forrest:property>
+        <forrest:property name="branding-logo-url">
+          http://mygroup.org/</forrest:property>
+        <forrest:property name="branding-logo-logo"> images/group.png
+          </forrest:property>
+      </forrest:contract>
+    </forrest:hook>
+    <!--<forrest:hook class="logo">
+      <forrest:contract name="branding-logo">
+        <forrest:property name="branding-logo-name"> MyProject</forrest:property>
+        <forrest:property name="branding-logo-description">MyProject
+          Description</forrest:property>
+        <forrest:property name="branding-logo-url">
+          http://myproj.mygroup.org/</forrest:property>
+        <forrest:property name="branding-logo-logo"> project-logo.png
+          </forrest:property>
+      </forrest:contract>
+    </forrest:hook>-->
+    <jx:import uri="cocoon://prepare.panels.maven-html.nav-main"/>
+  </forrest:hook>
+</forrest:template>

Propchange: forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/maven/panels/maven-html.header.panel.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/maven/panels/maven-html.leftbar.panel.xml
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/maven/panels/maven-html.leftbar.panel.xml?rev=697661&view=auto
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/maven/panels/maven-html.leftbar.panel.xml (added)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/maven/panels/maven-html.leftbar.panel.xml Sun Sep 21 20:46:00 2008
@@ -0,0 +1,124 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You 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:template xmlns:forrest="http://apache.org/forrest/templates/1.0"
+                  xmlns:jx="http://apache.org/cocoon/templates/jx/1.0">
+  <forrest:hook name="leftbar">
+    <forrest:contract name="nav-section" 
+                      dataURI="cocoon://#{$getRequest}.navigation.xml">
+      <forrest:property name="nav-section-toc" nugget="get.tov">
+        <jx:import uri="cocoon://#{$cocoon/parameters/getRequest}.toc.xml"/>
+      </forrest:property>
+      <forrest:property name="expanding">false</forrest:property>
+      <!--<forrest:property name="toc" max-depth="2"/>-->
+    </forrest:contract>
+    <!-- 
+      <forrest:contract name="genericMarkup">
+        <forrest:property name="genericMarkup">
+          <hr/>
+        </forrest:property>
+      </forrest:contract>
+    -->
+    <!-- 
+      <forrest:contract name="search-input">
+        <forrest:property name="input-size">18</forrest:property>
+        <forrest:property name="search-input">
+          <search name="MyProject" domain="mydomain" provider="google"/>
+        </forrest:property>
+      </forrest:contract>
+    -->
+    <forrest:contract name="siteinfo-credits">
+      <forrest:property name="box-location">credit</forrest:property>
+      <forrest:property name="top-separator">false</forrest:property>
+        <forrest:property name="siteinfo-credits">
+          <credits>
+            <credit>
+              <name>Built with Apache Forrest</name>
+              <url>http://forrest.apache.org/</url>
+              <image>images/built-with-forrest-button.png</image>
+              <width>88</width>
+              <height>31</height>
+            </credit>
+          </credits>
+        </forrest:property>
+    </forrest:contract>
+    <!-- 
+      <forrest:contract name="genericMarkup">
+        <forrest:property name="genericMarkup">
+          <hr/>
+        </forrest:property>
+      </forrest:contract>
+    -->
+    <forrest:contract name="content-motd-page">
+      <forrest:property name="content-motd-page">
+        <motd>
+        <!--FIXME: 
+	  motd-page location needs removing
+          These options are not effective anymore in dispatcher
+          Need to be removed in Structurer and contracts usage/decription
+        -->
+        <!--
+        <motd-option pattern="index.html">
+          <motd-title>sample</motd-title>
+          <motd-page location="page">
+            This is an example of a Message of the day (MOTD).
+          </motd-page>
+          <motd-page-url>index.html</motd-page-url>
+        </motd-option>
+        -->
+        <motd-option pattern="samples/faq.html">
+          <motd-title></motd-title>
+          <motd-page location="both">
+            How to enable this MOTD is on this page.
+          </motd-page>
+          <motd-page-url>#motd</motd-page-url>
+        </motd-option>
+      </motd>
+    </forrest:property>
+  </forrest:contract>
+  <!--<forrest:contract name="nav-section-round-bottom"/>-->
+  <!-- This content displays below the navigation. the below example displays
+  ApacheCon logos and links, but can be used for whatever, or commented out-->
+  <!--<forrest:hook name="below-nav">
+    <forrest:contract name="siteinfo-credits">
+      <forrest:property name="box-location">credit2</forrest:property>
+      <forrest:property name="top-separator">false</forrest:property>
+      <forrest:property name="use-br">false</forrest:property>
+      <forrest:property name="siteinfo-credits">
+        <credits>
+          <credit>
+            <name>ApacheCon Europe 2007</name>
+            <url>http://apachecon.com/2007/EU/</url>
+            <image>http://apache.org/ads/ApacheCon/2007-europe-125x125.png</image>
+            <width>125</width>
+            <height>125</height>
+          </credit>
+          <credit>
+            <name>ApacheCon US 2007</name>
+            <url>http://people.apache.org/calendar.html#200711</url>
+            <image>http://apache.org/ads/ApacheCon/2007-usa-125x125.png</image>
+            <width>125</width>
+            <height>125</height>
+          </credit>
+        </credits>
+      </forrest:property>
+    </forrest:contract>
+  </forrest:hook>
+  -->
+  <!-- end of below-nav content -->
+  </forrest:hook>
+</forrest:template>

Propchange: forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/maven/panels/maven-html.leftbar.panel.xml
------------------------------------------------------------------------------
    svn:eol-style = native



Themes should be copyless (was Re: svn commit: r697661)

Posted by Thorsten Scherler <th...@juntadeandalucia.es>.
On Mon, 2008-09-22 at 03:46 +0000, gmcdonald@apache.org wrote:
> Author: gmcdonald
> Date: Sun Sep 21 20:46:00 2008
> New Revision: 697661
> 
> URL: http://svn.apache.org/viewvc?rev=697661&view=rev
> Log:
> A maven theme, for that like the look but still like to build with forrest

This commit duplicated various resources. Further it seems that it is a exact 
copy of the pelt theme but it has not been done with "svn cp". This looses 
important information from where it is coming from.

I could find http://svn.apache.org/viewvc?rev=697836&view=rev and 
http://svn.apache.org/viewvc?rev=700349&view=rev where you modify some files:
maven.screen.css and maven-html.content.panel.xml

Meaning the rest of the files are duplication that we now need to maintain. 
The dispatcher has been written to actually overcome this kind of code duplications.

If you need to reuse contracts of pelt the best is to promote them to common and not 
copy them.

In this case it seems the most important changes has been done in the css and not in
the structurer. It may would be the best to incorporate the maven theme directly into pelt.

Are you aware of branding-theme-switcher?

salu2
-- 
Thorsten Scherler                                 thorsten.at.apache.org
Open Source Java                      consulting, training and solutions