Author: thorsten
Date: Sun Feb 26 09:42:48 2006
New Revision: 381129
URL: http://svn.apache.org/viewcvs?rev=381129&view=rev
Log:
White noise - formating changes
Modified:
forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/pelt.fv
Modified:
forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/pelt.fv
URL:
http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/pelt.fv?rev=381129&r1=381128&r2=381129&view=diff
==============================================================================
---
forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/pelt.fv
(original)
+++
forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/pelt.fv
Sun Feb 26 09:42:48 2006
@@ -15,22 +15,20 @@
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"
+<forrest:views xmlns:forrest="http://apache.org/forrest/templates/1.0"
xmlns:jx="http://apache.org/cocoon/templates/jx/1.0">
-
<!-- The following variables are used to contact data models and/or
contracts. -->
<jx:set var="getRequest" value="#{$cocoon/parameters/getRequest}"/>
- <jx:set var="getRequestExstension"
value="#{$cocoon/parameters/getRequestExstension}" />
-
+ <jx:set var="getRequestExstension"
+ value="#{$cocoon/parameters/getRequestExstension}" />
<!-- CSS View of the request e.g. index.dispatcher.css -->
<forrest:view type="css" hooksXpath="/">
<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-theme">
+ Pelt</forrest:property>
<forrest:property name="branding-theme-profiler">
- <!-- These values are used for the generated CSS files.
+ <!-- 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.
@@ -40,8 +38,7 @@
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
+ <!-- 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.
@@ -85,9 +82,8 @@
<color name="code" value="#CFDCED"/>
<color name="footer" value="#cedfef"/>
-->
-
- <!-- Color group: Krysalis -->
-<!--
+ <!-- Color group: Krysalis -->
+ <!--
<color name="header" value="#FFFFFF"/>
<color name="tab-selected" value="#a5b6c6" link="#000000" vlink="#000000"
hlink="#000000"/>
@@ -117,9 +113,8 @@
<color name="footer" value="#a5b6c6"/>
-->
-
- <!-- Color group: Collabnet -->
-<!--
+ <!-- Color group: Collabnet -->
+ <!--
<color name="header" value="#003366"/>
<color name="tab-selected" value="#dddddd" link="#555555" vlink="#555555"
hlink="#555555"/>
@@ -149,10 +144,8 @@
<color name="footer" value="#ffffff"/>
-->
- <!-- Color group: Lenya using pelt-->
-
-
- <!--<color name="header" 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"/>
@@ -183,7 +176,6 @@
</forrest:properties>
</forrest:contract>
</forrest:view>
-
<!-- HTML View of the request (e.g. index.html)-->
<forrest:view type="html" hooksXpath="/html/body">
<!--
@@ -196,75 +188,83 @@
-->
<!--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="common.css" media="screen" rel="alternate stylesheet"
+ theme="common"/>
+ <css url="leather-dev.css" media="screen" rel="alternate stylesheet"
+ theme="common"/>
<css url="pelt.screen.css" media="screen" theme="Pelt"/>
<!-- You can request request specific css, but beware that you need to
use the *.dispatcher.css extension!!!-->
<!-- FIXME: that is not working ATM in forrest for subdir/bla needs
more testing -->
<!--<css url="#{$getRequest}.dispatcher.css" media="screen"
theme="Pelt"/>-->
<css url="pelt.print.css" media="print"/>
- <css>/* Extra css */
- p.quote {
- margin-left: 2em;
- padding: .5em;
- background-color: #f0f0f0;
- font-family: monospace;
- }</css>
+ <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:contract name="siteinfo-meta-navigation"
dataURI="cocoon://#{$getRequest}.navigation.xml"/>
+ <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:hook name="container">
<forrest:contract name="branding-breadcrumbs">
<forrest:property name="branding-breadcrumbs">
- <trail>
+ <trail>
<link1 name="Apache Forrest" href="http://forrest.apache.org/"/>
- <link2 name="Plugins"
href="http://forrest.apache.org/docs/plugins/"/>
- <link3 name="org.apache.forrest.plugin.output.themer"
href="http://forrest.apache.org/docs/plugins/org.apache.forrest.plugin.output.themer/"/>
+ <link2 name="Plugins"
+ href="http://forrest.apache.org/docs/plugins/"/>
+ <link3 name="org.apache.forrest.plugin.output.themer"
+
href="http://forrest.apache.org/docs/plugins/org.apache.forrest.plugin.output.themer/"/>
</trail>
</forrest:property>
</forrest:contract>
-
<forrest:hook name="header">
- <forrest:contract name="branding-tagline">
+ <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: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>
-<!-- FIXME - Problem chaining two hooks with the same name (FOR-788)... -->
+ <!-- FIXME - Problem chaining two hooks with the same name
(FOR-788)... -->
<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">images/project.png</forrest:property>
+ <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">
+ images/project.png</forrest:property>
</forrest:contract>
</forrest:hook>
-<!-- -->
+ <!-- -->
<forrest:contract name="search-input">
<forrest:property name="input-size">25</forrest:property>
<forrest:property name="search-input">
<search name="MyProject" domain="mydomain" provider="google"/>
</forrest:property>
</forrest:contract>
-
<forrest:hook name="nav-main-hook">
<forrest:contract name="nav-main"
dataURI="cocoon://#{$getRequest}.navigation.xml"/>
@@ -274,7 +274,6 @@
<forrest:contract name="siteinfo-current-time"/>
</forrest:hook>
</forrest:hook>
-
</forrest:hook>
<forrest:hook name="page">
<forrest:hook class="breadtrail" nbsp="true" />
@@ -287,21 +286,22 @@
</trail>
</forrest:property>
</forrest:contract>-->
-
<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">true</forrest:property>
- <!--<forrest:property name="toc" max-depth="2"/>-->
+ <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">true</forrest:property>
+ <!--<forrest:property name="toc" max-depth="2"/>-->
</forrest:contract>
- <!-- <forrest:contract name="genericMarkup">
+ <!-- <forrest:contract name="genericMarkup">
<forrest:property name="genericMarkup">
<hr/>
</forrest:property>
</forrest:contract>-->
- <!-- <forrest:contract name="search-input">
+ <!-- <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"/>
@@ -310,7 +310,7 @@
<forrest:contract name="siteinfo-credits">
<forrest:property name="box-location">credit</forrest:property>
<forrest:property name="top-separator">true</forrest:property>
- <!--<forrest:property name="siteinfo-credits">
+ <!--<forrest:property name="siteinfo-credits">
<credits>
<credit>
<name>Built with Apache Forrest</name>
@@ -322,18 +322,18 @@
</credits>
</forrest:property>-->
</forrest:contract>
- <!-- <forrest:contract name="genericMarkup">
+ <!-- <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
+ <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-option pattern="index.html">
<motd-title>sample</motd-title>
<motd-page location="page">
This is an example of a Message of the day (MOTD).
@@ -342,9 +342,8 @@
</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 location="both"> How to enable this MOTD is on
+ this page. </motd-page>
<motd-page-url>#motd</motd-page-url>
</motd-option>
</motd>
@@ -357,15 +356,20 @@
</forrest:hook>
<forrest:hook name="content">
<!-- FIXME - Problem with ndeSetTextSize() script from fontsize.js
not compliant between Pelt and Leather-dev... -->
- <!-- <forrest:hook class="trail">
+ <!-- <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 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:contract name="content-main"
+ dataURI="cocoon://#{$getRequest}.body.xml">
<forrest:property name="content-main-conf">
<headings type="underlined"/>
</forrest:property>
@@ -378,7 +382,6 @@
</forrest:contract>
-->
</forrest:hook>
-
</forrest:hook>
<forrest:hook name="footer">
<forrest:hook class="lastmodified">
@@ -394,13 +397,13 @@
</copyright>
</forrest:property>
</forrest:contract>
- </forrest:hook>
- <forrest:contract name="siteinfo-compliance-links"/>
+ </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">
+ <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>
@@ -412,12 +415,13 @@
<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>
+ <image>
+
http://forrest.apache.org/images/built-with-cocoon.gif</image>
</credit>
</credits>
</forrest:property>
- </forrest:contract>
- <!-- <forrest:contract name="siteinfo-feedback">
+ </forrest:contract>
+ <!-- <forrest:contract name="siteinfo-feedback">
<forrest:properties contract="siteinfo-feedback">
<forrest:property name="siteinfo-feedback">
<feedback to="the Webmaster"
@@ -427,12 +431,7 @@
</forrest:property>
</forrest:properties>
</forrest:contract>-->
-
</forrest:hook>
-
</forrest:hook>
-
</forrest:view>
-</forrest:views>
-
-
+</forrest:views>
\ No newline at end of file