You are viewing a plain text version of this content. The canonical link for it is here.
Posted to svn@forrest.apache.org by tw...@apache.org on 2005/09/07 05:05:21 UTC

svn commit: r279223 - in /forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.xhtml2/resources/views: ./ default.fv default.scale-dev.fv pelt.fv

Author: twilliams
Date: Tue Sep  6 20:05:12 2005
New Revision: 279223

URL: http://svn.apache.org/viewcvs?rev=279223&view=rev
Log:
adding views

Added:
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.xhtml2/resources/views/
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.xhtml2/resources/views/default.fv   (with props)
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.xhtml2/resources/views/default.scale-dev.fv   (with props)
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.xhtml2/resources/views/pelt.fv   (with props)

Added: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.xhtml2/resources/views/default.fv
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.xhtml2/resources/views/default.fv?rev=279223&view=auto
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.xhtml2/resources/views/default.fv (added)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.xhtml2/resources/views/default.fv Tue Sep  6 20:05:12 2005
@@ -0,0 +1,65 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Copyright 2002-2005 The Apache Software Foundation or its licensors,
+as applicable.
+
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+-->
+
+<forrest:views xmlns:forrest="http://apache.org/forrest/templates/1.0" >
+    <forrest:view type="xhtml">
+        <forrest:css url="default.css"/>
+        <forrest:contract name="siteinfo-meta"/>
+        <forrest:hook name="container">
+            <forrest:hook name="header">
+              <forrest:contract name="branding-tagline">
+		            <forrest:properties contract="branding-tagline">
+								  <forrest:property name="branding-tagline-name">new seed</forrest:property>
+		              <forrest:property name="branding-tagline-tagline">powered by forrest:views</forrest:property>
+								 </forrest:properties>
+		          </forrest:contract>
+              <forrest:hook name="nav-main-hook">
+                <forrest:contract name="nav-main"/>
+              	<forrest:contract name="nav-main-sub"/>
+              </forrest:hook>
+            </forrest:hook>
+            <forrest:hook name="page">
+                <forrest:hook name="leftbar">
+                    <forrest:contract name="nav-section"/>
+                    <forrest:contract name="search-input"/>
+                </forrest:hook>
+                <!-- You can group elements to a template and call it from any view.
+	                e.g.
+	                <forrest:hook name="export-link">
+	                  <forrest:contract name="content-xml-link"/>
+	                  <forrest:contract name="content-pdf-link"/>
+	                </forrest:hook>
+	                can be called as <forrest:call-template name="export-link"/>
+	                when saved as {project:resources}/templates/export-link.vt.xml 
+	              -->
+                <forrest:call-template name="export-link"/>
+                
+                <forrest:hook name="content">
+                    <forrest:contract name="content-title"/>
+                    <forrest:contract name="content-abstract"/>
+                    <forrest:contract name="content-minitoc"/>
+                    <forrest:contract name="content-main"/>
+                </forrest:hook>
+            </forrest:hook>
+        </forrest:hook>
+        <forrest:hook name="footer">
+            <forrest:contract name="siteinfo-feedback"/>
+            <forrest:contract name="siteinfo-last-published"/>
+        </forrest:hook>
+    </forrest:view>
+</forrest:views>

Propchange: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.xhtml2/resources/views/default.fv
------------------------------------------------------------------------------
    svn:eol-style = native

Added: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.xhtml2/resources/views/default.scale-dev.fv
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.xhtml2/resources/views/default.scale-dev.fv?rev=279223&view=auto
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.xhtml2/resources/views/default.scale-dev.fv (added)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.xhtml2/resources/views/default.scale-dev.fv Tue Sep  6 20:05:12 2005
@@ -0,0 +1,46 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Copyright 2002-2005 The Apache Software Foundation or its licensors,
+  as applicable.
+
+  Licensed under the Apache License, Version 2.0 (the "License");
+  you may not use this file except in compliance with the License.
+  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+
+<forrest:views xmlns:forrest="http://apache.org/forrest/templates/1.0" >
+  <forrest:view type="xhtml">
+    <forrest:contract name="meta"/>
+    <forrest:hook name="container">
+      <forrest:hook name="branding">
+        <forrest:contract name="projectlogo"/>
+        <forrest:contract name="grouplogo"/>
+        <forrest:contract name="searchbox"/>
+        <forrest:contract name="nav-main"/>
+        <!--<forrest:contract name="nav-main-sub"/>-->
+      </forrest:hook>
+      <forrest:hook name="spacer" />
+      <forrest:contract name="nav"/>
+      <forrest:hook name="last-published-tagline">
+          <forrest:contract name="last-published"/>
+      </forrest:hook>
+      <forrest:contract name="content">
+        <forrest:contract name="fontsize"/>
+        <!--<forrest:hook name="export-link">
+	      <forrest:contract name="txt-link"/>
+		    <forrest:contract name="xml-link"/>
+			</forrest:hook>-->
+      </forrest:contract>
+    </forrest:hook>
+    <forrest:contract name="feedback"/>
+    <!--<forrest:contract name="last-published"/>-->
+  </forrest:view>
+</forrest:views>

Propchange: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.xhtml2/resources/views/default.scale-dev.fv
------------------------------------------------------------------------------
    svn:eol-style = native

Added: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.xhtml2/resources/views/pelt.fv
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.xhtml2/resources/views/pelt.fv?rev=279223&view=auto
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.xhtml2/resources/views/pelt.fv (added)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.xhtml2/resources/views/pelt.fv Tue Sep  6 20:05:12 2005
@@ -0,0 +1,115 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Copyright 2002-2005 The Apache Software Foundation or its licensors,
+  as applicable.
+
+  Licensed under the Apache License, Version 2.0 (the "License");
+  you may not use this file except in compliance with the License.
+  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+
+<forrest:views xmlns:forrest="http://apache.org/forrest/templates/1.0" >
+  <forrest:view type="xhtml">
+    <forrest:css url="default.css" media="screen" rel="alternate stylesheet" title="leather-dev"/>
+    <forrest:css url="leather-dev.css" media="screen" rel="alternate stylesheet" title="leather-dev"/>
+    <forrest:css url="pelt.basic.css" media="screen" title="Pelt"/>
+    <forrest:css url="pelt.screen.css" media="screen" title="Pelt"/>
+    <forrest:css url="pelt.print.css" media="print"/>
+    <forrest:css url="profile.css" media="screen" title="Pelt"/>
+    <forrest:contract name="siteinfo-meta"/>
+    <forrest:contract name="siteinfo-meta-navigation"/>
+    <!-- FIXME - Cocoon problem with favicon.ico -->
+    <!-- forrest:contract name="siteinfo-meta-icon"/ -->
+
+    <forrest:hook name="container">
+      <forrest:contract name="branding-breadcrumbs"/>
+      <forrest:hook name="header">
+        <forrest:contract name="branding-tagline">
+          <forrest:properties contract="branding-tagline">
+            <forrest:property name="branding-tagline-name">new 
+              seed</forrest:property>
+            <forrest:property name="branding-tagline-tagline">powered by 
+              forrest:views</forrest:property>
+          </forrest:properties>
+        </forrest:contract>
+        <forrest:hook name="grouplogo">
+          <forrest:contract name="branding-grouplogo"/>
+        </forrest:hook>
+        <forrest:hook name="projectlogo">
+          <forrest:contract name="branding-projectlogo"/>
+        </forrest:hook>
+        <forrest:contract name="search-input">
+          <forrest:properties contract="search-input">
+            <forrest:property name="input-size">25</forrest:property>
+          </forrest:properties>
+        </forrest:contract>
+        <forrest:hook name="nav-main-hook">
+          <forrest:contract name="nav-main"/>
+          <forrest:hook name="publishedStrip">
+            <forrest:contract name="nav-main-sub"/>
+            <forrest:contract name="siteinfo-current-time"/>
+          </forrest:hook>
+        </forrest:hook>
+      </forrest:hook>
+      <forrest:hook name="page">
+        <forrest:contract name="branding-breadcrumbs"/>
+        <forrest:hook name="leftbar">
+          <forrest:contract name="nav-section"/>
+          <!-- FIXME - hr contract should disappear and be replaced by a top-separator contract argument just like
+                       siteinfo-credits -->
+          <forrest:contract name="hr"/>
+          <forrest:contract name="search-input">
+            <forrest:properties contract="search-input">
+              <forrest:property name="input-size">18</forrest:property>
+            </forrest:properties>
+          </forrest:contract>
+          <forrest:contract name="siteinfo-credits">
+            <forrest:properties contract="siteinfo-credits">
+              <forrest:property name="box-location">credit</forrest:property>
+              <forrest:property name="top-separator">true</forrest:property>
+            </forrest:properties>
+          </forrest:contract>
+          <!-- FIXME - hr contract should disappear and be replaced by a top-separator contract argument just like
+                       siteinfo-credits -->
+          <forrest:contract name="hr"/>
+          <forrest:contract name="content-motd-page"/>
+          <forrest:contract name="nav-section-round-bottom"/>
+          <forrest:contract name="siteinfo-credits">
+            <forrest:properties contract="siteinfo-credits">
+              <forrest:property name="box-location">credit2</forrest:property>
+            </forrest:properties>
+          </forrest:contract>
+        </forrest:hook>
+        <forrest:call-template name="export-link"/>
+        <forrest:hook name="content">
+          <!-- 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"/>
+          <forrest:contract name="content-abstract"/>
+          <forrest:contract name="content-motd-page"/>
+          <forrest:contract name="content-minitoc"/>
+          <forrest:contract name="content-main"/>
+          <forrest:contract name="content-author"/>
+        </forrest:hook>
+      </forrest:hook>
+      <forrest:hook name="footer">
+        <forrest:contract name="siteinfo-copyright"/>
+        <forrest:contract name="siteinfo-compliance-links"/>
+        <forrest:contract name="siteinfo-credits"/>
+        <forrest:contract name="siteinfo-last-published"/>
+        <forrest:contract name="siteinfo-feedback"/>
+      </forrest:hook>
+    </forrest:hook>
+  </forrest:view>
+</forrest:views>
+

Propchange: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.xhtml2/resources/views/pelt.fv
------------------------------------------------------------------------------
    svn:eol-style = native