cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject svn commit: r331766 - in /cocoon/blocks/portal-sample/trunk/samples: conf/ profiles/copletinstancedata/ profiles/layout/ skins/modern/ skins/modern/css/ skins/modern/images/ skins/modern/js/ skins/modern/styles/
Date Tue, 08 Nov 2005 09:58:12 GMT
Author: cziegeler
Date: Tue Nov  8 01:57:45 2005
New Revision: 331766

URL: http://svn.apache.org/viewcvs?rev=331766&view=rev
Log:
Provide new div based skin and enable ajax support
Split up profiles into smaller samples

Added:
    cocoon/blocks/portal-sample/trunk/samples/profiles/copletinstancedata/portal-user-cocoon.xml   (with props)
    cocoon/blocks/portal-sample/trunk/samples/profiles/layout/portal-user-cocoon.xml   (with props)
    cocoon/blocks/portal-sample/trunk/samples/skins/modern/
    cocoon/blocks/portal-sample/trunk/samples/skins/modern/css/
    cocoon/blocks/portal-sample/trunk/samples/skins/modern/css/forms-calendar.css   (with props)
    cocoon/blocks/portal-sample/trunk/samples/skins/modern/css/forms.css   (with props)
    cocoon/blocks/portal-sample/trunk/samples/skins/modern/css/page.css   (with props)
    cocoon/blocks/portal-sample/trunk/samples/skins/modern/css/wsrp.css   (with props)
    cocoon/blocks/portal-sample/trunk/samples/skins/modern/images/
    cocoon/blocks/portal-sample/trunk/samples/skins/modern/images/basket.gif   (with props)
    cocoon/blocks/portal-sample/trunk/samples/skins/modern/images/cal.gif   (with props)
    cocoon/blocks/portal-sample/trunk/samples/skins/modern/images/customize.gif   (with props)
    cocoon/blocks/portal-sample/trunk/samples/skins/modern/images/delete.gif   (with props)
    cocoon/blocks/portal-sample/trunk/samples/skins/modern/images/edit.gif   (with props)
    cocoon/blocks/portal-sample/trunk/samples/skins/modern/images/help.gif   (with props)
    cocoon/blocks/portal-sample/trunk/samples/skins/modern/images/logout-door.gif   (with props)
    cocoon/blocks/portal-sample/trunk/samples/skins/modern/images/maximize.gif   (with props)
    cocoon/blocks/portal-sample/trunk/samples/skins/modern/images/minimize.gif   (with props)
    cocoon/blocks/portal-sample/trunk/samples/skins/modern/images/portal-logo.gif   (with props)
    cocoon/blocks/portal-sample/trunk/samples/skins/modern/images/show.gif   (with props)
    cocoon/blocks/portal-sample/trunk/samples/skins/modern/images/space.gif   (with props)
    cocoon/blocks/portal-sample/trunk/samples/skins/modern/images/tab-left.gif   (with props)
    cocoon/blocks/portal-sample/trunk/samples/skins/modern/images/tab-right.gif   (with props)
    cocoon/blocks/portal-sample/trunk/samples/skins/modern/images/tabSel-left.gif   (with props)
    cocoon/blocks/portal-sample/trunk/samples/skins/modern/images/tabSel-right.gif   (with props)
    cocoon/blocks/portal-sample/trunk/samples/skins/modern/images/thumb.jpg   (with props)
    cocoon/blocks/portal-sample/trunk/samples/skins/modern/images/view.gif   (with props)
    cocoon/blocks/portal-sample/trunk/samples/skins/modern/images/window-border-bottom.gif   (with props)
    cocoon/blocks/portal-sample/trunk/samples/skins/modern/images/window-border-left.gif   (with props)
    cocoon/blocks/portal-sample/trunk/samples/skins/modern/images/window-border-right.gif   (with props)
    cocoon/blocks/portal-sample/trunk/samples/skins/modern/images/window-bottom-left.gif   (with props)
    cocoon/blocks/portal-sample/trunk/samples/skins/modern/images/window-bottom-right.gif   (with props)
    cocoon/blocks/portal-sample/trunk/samples/skins/modern/images/window-top-left.gif   (with props)
    cocoon/blocks/portal-sample/trunk/samples/skins/modern/images/window-top-right.gif   (with props)
    cocoon/blocks/portal-sample/trunk/samples/skins/modern/js/
    cocoon/blocks/portal-sample/trunk/samples/skins/modern/styles/
    cocoon/blocks/portal-sample/trunk/samples/skins/modern/styles/borderless-window.xsl   (with props)
    cocoon/blocks/portal-sample/trunk/samples/skins/modern/styles/column.xsl   (with props)
    cocoon/blocks/portal-sample/trunk/samples/skins/modern/styles/forms-styling.xsl   (with props)
    cocoon/blocks/portal-sample/trunk/samples/skins/modern/styles/linktab.xsl   (with props)
    cocoon/blocks/portal-sample/trunk/samples/skins/modern/styles/login-html.xsl   (with props)
    cocoon/blocks/portal-sample/trunk/samples/skins/modern/styles/portal-page.xsl   (with props)
    cocoon/blocks/portal-sample/trunk/samples/skins/modern/styles/row.xsl   (with props)
    cocoon/blocks/portal-sample/trunk/samples/skins/modern/styles/tab.xsl   (with props)
    cocoon/blocks/portal-sample/trunk/samples/skins/modern/styles/window.xsl   (with props)
Modified:
    cocoon/blocks/portal-sample/trunk/samples/conf/cocoon-portal-sample.xconf
    cocoon/blocks/portal-sample/trunk/samples/profiles/copletinstancedata/portal.xml
    cocoon/blocks/portal-sample/trunk/samples/profiles/layout/portal.xml

Modified: cocoon/blocks/portal-sample/trunk/samples/conf/cocoon-portal-sample.xconf
URL: http://svn.apache.org/viewcvs/cocoon/blocks/portal-sample/trunk/samples/conf/cocoon-portal-sample.xconf?rev=331766&r1=331765&r2=331766&view=diff
==============================================================================
--- cocoon/blocks/portal-sample/trunk/samples/conf/cocoon-portal-sample.xconf (original)
+++ cocoon/blocks/portal-sample/trunk/samples/conf/cocoon-portal-sample.xconf Tue Nov  8 01:57:45 2005
@@ -64,11 +64,11 @@
           <thumbnail-path>images/thumb.jpg</thumbnail-path>
         </skin>
       </skins>
+      <!-- Configuration: -->
+      <configuration>
+        <use-ajax>true</use-ajax>
+      </configuration>
     </portal>
-    <!-- Configuration: -->
-    <configuration>
-      <use-ajax>true</use-ajax>
-    </configuration>
   </portal-service>
 
   <!--  This is the profile manager using pipelines to load the various parts. -->

Added: cocoon/blocks/portal-sample/trunk/samples/profiles/copletinstancedata/portal-user-cocoon.xml
URL: http://svn.apache.org/viewcvs/cocoon/blocks/portal-sample/trunk/samples/profiles/copletinstancedata/portal-user-cocoon.xml?rev=331766&view=auto
==============================================================================
--- cocoon/blocks/portal-sample/trunk/samples/profiles/copletinstancedata/portal-user-cocoon.xml (added)
+++ cocoon/blocks/portal-sample/trunk/samples/profiles/copletinstancedata/portal-user-cocoon.xml Tue Nov  8 01:57:45 2005
@@ -0,0 +1,81 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Copyright 1999-2005 The Apache Software Foundation
+
+  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.
+-->
+<!-- SVN $Id$ -->
+<coplets xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+   <coplet-instance-data id="Portal-Intro-1">
+      <coplet-data>Portal-Intro</coplet-data>
+   </coplet-instance-data>
+   <coplet-instance-data id="Portal-Right-1">
+      <coplet-data>Portal-Right</coplet-data>
+   </coplet-instance-data>
+   <coplet-instance-data id="Portal-Left-1">
+      <coplet-data>Portal-Left</coplet-data>
+   </coplet-instance-data>
+   <coplet-instance-data id="Portal-Bottom-1">
+      <coplet-data>Portal-Bottom</coplet-data>
+   </coplet-instance-data>
+   <coplet-instance-data id="Portal-Demo-1">
+      <coplet-data>Portal-Demo</coplet-data>
+   </coplet-instance-data>
+
+   <coplet-instance-data id="Gallery-Petstore">
+      <coplet-data>Gallery</coplet-data>
+   </coplet-instance-data>
+   <coplet-instance-data id="GalleryViewer-1">
+      <coplet-data>GalleryViewer</coplet-data>
+   </coplet-instance-data>
+
+   <coplet-instance-data id="Portlet-1">
+      <coplet-data>Portlet1</coplet-data>
+   </coplet-instance-data>
+
+   <coplet-instance-data id="Portlet-2">
+      <coplet-data>Portlet2</coplet-data>
+   </coplet-instance-data>
+
+   <coplet-instance-data id="TestPortlet-1">
+      <coplet-data>TestPortlet1</coplet-data>
+   </coplet-instance-data>
+   <coplet-instance-data id="CocoonPortlet">
+      <coplet-data>CocoonPortlet</coplet-data>
+   </coplet-instance-data>
+
+   <coplet-instance-data id="app-test-1">
+      <coplet-data>app-test-one</coplet-data>
+   </coplet-instance-data>
+   <coplet-instance-data id="app-test-2">
+      <coplet-data>app-test-one</coplet-data>
+   </coplet-instance-data>
+   <coplet-instance-data id="app-test-3">
+      <coplet-data>app-test-two</coplet-data>
+   </coplet-instance-data>
+   <coplet-instance-data id="app-test-4">
+      <coplet-data>app-test-two</coplet-data>
+   </coplet-instance-data>
+   <coplet-instance-data id="Google-1">
+      <coplet-data>Google</coplet-data>
+   </coplet-instance-data>
+
+   <!-- wsrp example -->
+   <coplet-instance-data id="WSRP-Calc-1">
+      <coplet-data>wsrp-calc-portlet</coplet-data>
+   </coplet-instance-data>
+   <coplet-instance-data id="WSRP-Test-1">
+      <coplet-data>wsrp-test-portlet</coplet-data>
+   </coplet-instance-data>
+
+</coplets>

Propchange: cocoon/blocks/portal-sample/trunk/samples/profiles/copletinstancedata/portal-user-cocoon.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: cocoon/blocks/portal-sample/trunk/samples/profiles/copletinstancedata/portal-user-cocoon.xml
------------------------------------------------------------------------------
    svn:keywords = Id

Modified: cocoon/blocks/portal-sample/trunk/samples/profiles/copletinstancedata/portal.xml
URL: http://svn.apache.org/viewcvs/cocoon/blocks/portal-sample/trunk/samples/profiles/copletinstancedata/portal.xml?rev=331766&r1=331765&r2=331766&view=diff
==============================================================================
--- cocoon/blocks/portal-sample/trunk/samples/profiles/copletinstancedata/portal.xml (original)
+++ cocoon/blocks/portal-sample/trunk/samples/profiles/copletinstancedata/portal.xml Tue Nov  8 01:57:45 2005
@@ -72,25 +72,6 @@
       <coplet-data>Portal-Demo</coplet-data>
    </coplet-instance-data>
 
-   <coplet-instance-data id="Gallery-Petstore">
-      <coplet-data>Gallery</coplet-data>
-   </coplet-instance-data>
-   <coplet-instance-data id="GalleryViewer-1">
-      <coplet-data>GalleryViewer</coplet-data>
-   </coplet-instance-data>
-
-   <coplet-instance-data id="Login-1">
-      <coplet-data>Login</coplet-data>
-   </coplet-instance-data>
-
-   <coplet-instance-data id="Portlet-1">
-      <coplet-data>Portlet1</coplet-data>
-   </coplet-instance-data>
-
-   <coplet-instance-data id="Portlet-2">
-      <coplet-data>Portlet2</coplet-data>
-   </coplet-instance-data>
-
    <!-- This is the basket sample
    -->
    <coplet-instance-data id="basket">
@@ -170,36 +151,4 @@
    <coplet-instance-data id="basket-sample-8">
       <coplet-data>BasketSampleCopletList</coplet-data>
    </coplet-instance-data>
-
-   <coplet-instance-data id="TestPortlet-1">
-      <coplet-data>TestPortlet1</coplet-data>
-   </coplet-instance-data>
-   <coplet-instance-data id="CocoonPortlet">
-      <coplet-data>CocoonPortlet</coplet-data>
-   </coplet-instance-data>
-
-   <coplet-instance-data id="app-test-1">
-      <coplet-data>app-test-one</coplet-data>
-   </coplet-instance-data>
-   <coplet-instance-data id="app-test-2">
-      <coplet-data>app-test-one</coplet-data>
-   </coplet-instance-data>
-   <coplet-instance-data id="app-test-3">
-      <coplet-data>app-test-two</coplet-data>
-   </coplet-instance-data>
-   <coplet-instance-data id="app-test-4">
-      <coplet-data>app-test-two</coplet-data>
-   </coplet-instance-data>
-   <coplet-instance-data id="Google-1">
-      <coplet-data>Google</coplet-data>
-   </coplet-instance-data>
-
-   <!-- wsrp example -->
-   <coplet-instance-data id="WSRP-Calc-1">
-      <coplet-data>wsrp-calc-portlet</coplet-data>
-   </coplet-instance-data>
-   <coplet-instance-data id="WSRP-Test-1">
-      <coplet-data>wsrp-test-portlet</coplet-data>
-   </coplet-instance-data>
-
 </coplets>

Added: cocoon/blocks/portal-sample/trunk/samples/profiles/layout/portal-user-cocoon.xml
URL: http://svn.apache.org/viewcvs/cocoon/blocks/portal-sample/trunk/samples/profiles/layout/portal-user-cocoon.xml?rev=331766&view=auto
==============================================================================
--- cocoon/blocks/portal-sample/trunk/samples/profiles/layout/portal-user-cocoon.xml (added)
+++ cocoon/blocks/portal-sample/trunk/samples/profiles/layout/portal-user-cocoon.xml Tue Nov  8 01:57:45 2005
@@ -0,0 +1,127 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Copyright 1999-2005 The Apache Software Foundation
+
+  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.
+-->
+<!-- SVN $Id$ -->
+<composite-layout name="tab" id="maintab">
+
+  <named-item name="Main">
+    <coplet-layout name="coplet">
+      <coplet-instance-data>Portal-Demo-1</coplet-instance-data>
+    </coplet-layout>
+  </named-item>
+
+  <named-item name="Gallery">
+    <composite-layout name="column">
+      <item>
+        <coplet-layout name="coplet">
+          <coplet-instance-data>Gallery-Petstore</coplet-instance-data>
+        </coplet-layout>
+      </item>
+      <item>
+        <coplet-layout name="coplet">
+          <coplet-instance-data>GalleryViewer-1</coplet-instance-data>
+        </coplet-layout>
+      </item>
+    </composite-layout>
+  </named-item>
+
+  <named-item name="JSR-168">
+    <composite-layout name="row">
+      <item>
+        <coplet-layout name="coplet" layout-renderer-name="portlet-window">
+          <coplet-instance-data>TestPortlet-1</coplet-instance-data>
+        </coplet-layout>
+      </item>
+      <item>
+        <coplet-layout name="coplet" layout-renderer-name="portlet-window">
+          <coplet-instance-data>CocoonPortlet</coplet-instance-data>
+        </coplet-layout>
+      </item>
+      <item>
+        <composite-layout name="column">
+          <item>
+            <coplet-layout name="coplet" layout-renderer-name="portlet-window">
+              <coplet-instance-data>Portlet-1</coplet-instance-data>
+            </coplet-layout>
+          </item>
+          <item>
+            <coplet-layout name="coplet" layout-renderer-name="portlet-window">
+              <coplet-instance-data>Portlet-2</coplet-instance-data>
+            </coplet-layout>
+          </item>
+        </composite-layout>
+      </item>
+    </composite-layout>
+  </named-item>
+
+  <named-item name="WSRP">
+    <composite-layout name="column">
+      <item>
+        <coplet-layout name="coplet" layout-renderer-name="wsrp-window">
+          <coplet-instance-data>WSRP-Calc-1</coplet-instance-data>
+      </coplet-layout>
+      </item>
+      <item>
+        <coplet-layout name="coplet" layout-renderer-name="wsrp-window">
+          <coplet-instance-data>WSRP-Test-1</coplet-instance-data>
+      </coplet-layout>
+      </item>
+    </composite-layout>
+  </named-item>
+
+  <named-item name="Apps">
+    <composite-layout name="row">
+      <item>
+        <composite-layout name="column">
+          <item>
+            <parameter name="width" value="50%" />
+            <coplet-layout name="coplet" >
+              <coplet-instance-data>app-test-1</coplet-instance-data>
+            </coplet-layout>
+          </item>
+          <item>
+            <parameter name="width" value="50%" />
+            <coplet-layout name="coplet" >
+              <coplet-instance-data>app-test-2</coplet-instance-data>
+            </coplet-layout>
+          </item>
+        </composite-layout>
+      </item>
+      <item>
+        <composite-layout name="column">
+          <item>
+            <parameter name="width" value="50%" />
+            <coplet-layout name="coplet" >
+              <coplet-instance-data>app-test-3</coplet-instance-data>
+            </coplet-layout>
+          </item>
+          <item>
+            <parameter name="width" value="50%" />
+            <coplet-layout name="coplet" >
+              <coplet-instance-data>app-test-4</coplet-instance-data>
+            </coplet-layout>
+          </item>
+        </composite-layout>
+      </item>
+    </composite-layout>
+  </named-item>
+
+  <named-item name="AppCoplet">
+    <coplet-layout name="coplet">
+      <coplet-instance-data>Google-1</coplet-instance-data>
+    </coplet-layout>
+  </named-item>
+</composite-layout>

Propchange: cocoon/blocks/portal-sample/trunk/samples/profiles/layout/portal-user-cocoon.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: cocoon/blocks/portal-sample/trunk/samples/profiles/layout/portal-user-cocoon.xml
------------------------------------------------------------------------------
    svn:keywords = Id

Modified: cocoon/blocks/portal-sample/trunk/samples/profiles/layout/portal.xml
URL: http://svn.apache.org/viewcvs/cocoon/blocks/portal-sample/trunk/samples/profiles/layout/portal.xml?rev=331766&r1=331765&r2=331766&view=diff
==============================================================================
--- cocoon/blocks/portal-sample/trunk/samples/profiles/layout/portal.xml (original)
+++ cocoon/blocks/portal-sample/trunk/samples/profiles/layout/portal.xml Tue Nov  8 01:57:45 2005
@@ -211,65 +211,6 @@
     </composite-layout>
   </named-item>
     
-  <named-item name="Gallery">
-    <composite-layout name="column">
-      <item>
-        <coplet-layout name="coplet">
-          <coplet-instance-data>Gallery-Petstore</coplet-instance-data>
-        </coplet-layout>
-      </item>
-      <item>
-        <coplet-layout name="coplet">
-          <coplet-instance-data>GalleryViewer-1</coplet-instance-data>
-        </coplet-layout>
-      </item>
-    </composite-layout>
-  </named-item>
-
-  <named-item name="JSR-168">
-    <composite-layout name="row">
-      <item>
-        <coplet-layout name="coplet" layout-renderer-name="portlet-window">
-          <coplet-instance-data>TestPortlet-1</coplet-instance-data>
-        </coplet-layout>
-      </item>
-      <item>
-        <coplet-layout name="coplet" layout-renderer-name="portlet-window">
-          <coplet-instance-data>CocoonPortlet</coplet-instance-data>
-        </coplet-layout>
-      </item>
-      <item>
-        <composite-layout name="column">
-          <item>
-            <coplet-layout name="coplet" layout-renderer-name="portlet-window">
-              <coplet-instance-data>Portlet-1</coplet-instance-data>
-            </coplet-layout>
-          </item>
-          <item>
-            <coplet-layout name="coplet" layout-renderer-name="portlet-window">
-              <coplet-instance-data>Portlet-2</coplet-instance-data>
-            </coplet-layout>
-          </item>
-        </composite-layout>
-      </item>
-    </composite-layout>
-  </named-item>
-
-  <named-item name="WSRP">
-    <composite-layout name="column">
-      <item>
-        <coplet-layout name="coplet" layout-renderer-name="wsrp-window">
-          <coplet-instance-data>WSRP-Calc-1</coplet-instance-data>
-      </coplet-layout>
-      </item>
-      <item>
-        <coplet-layout name="coplet" layout-renderer-name="wsrp-window">
-          <coplet-instance-data>WSRP-Test-1</coplet-instance-data>
-      </coplet-layout>
-      </item>
-    </composite-layout>
-  </named-item>
-
   <named-item name="Basket">
     <!-- This is the basket demo. Usually you would only have the user
     tab for users and the admin tab for the admin and not both at
@@ -406,47 +347,5 @@
         </composite-layout>
       </named-item>
     </composite-layout>
-  </named-item>
-
-  <named-item name="Apps">
-    <composite-layout name="row">
-      <item>
-        <composite-layout name="column">
-          <item>
-            <parameter name="width" value="50%" />
-            <coplet-layout name="coplet" >
-              <coplet-instance-data>app-test-1</coplet-instance-data>
-            </coplet-layout>
-          </item>
-          <item>
-            <parameter name="width" value="50%" />
-            <coplet-layout name="coplet" >
-              <coplet-instance-data>app-test-2</coplet-instance-data>
-            </coplet-layout>
-          </item>
-        </composite-layout>
-      </item>
-      <item>
-        <composite-layout name="column">
-          <item>
-            <parameter name="width" value="50%" />
-            <coplet-layout name="coplet" >
-              <coplet-instance-data>app-test-3</coplet-instance-data>
-            </coplet-layout>
-          </item>
-          <item>
-            <parameter name="width" value="50%" />
-            <coplet-layout name="coplet" >
-              <coplet-instance-data>app-test-4</coplet-instance-data>
-            </coplet-layout>
-          </item>
-        </composite-layout>
-      </item>
-    </composite-layout>
-  </named-item>
-  <named-item name="AppCoplet">
-    <coplet-layout name="coplet">
-      <coplet-instance-data>Google-1</coplet-instance-data>
-    </coplet-layout>
   </named-item>
 </composite-layout>

Added: cocoon/blocks/portal-sample/trunk/samples/skins/modern/css/forms-calendar.css
URL: http://svn.apache.org/viewcvs/cocoon/blocks/portal-sample/trunk/samples/skins/modern/css/forms-calendar.css?rev=331766&view=auto
==============================================================================
--- cocoon/blocks/portal-sample/trunk/samples/skins/modern/css/forms-calendar.css (added)
+++ cocoon/blocks/portal-sample/trunk/samples/skins/modern/css/forms-calendar.css Tue Nov  8 01:57:45 2005
@@ -0,0 +1,92 @@
+/*
+* Copyright 1999-2004 The Apache Software Foundation
+*
+* 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.
+*/
+#forms_calendarDiv {
+    position: absolute;
+    visibility: hidden;
+    background-color: white;
+    layer-background-color: white;
+}
+
+.forms_cpYearNavigation, .forms_cpMonthNavigation {
+    background-color:#C0C0C0;
+    text-align:center;
+    vertical-align:center;
+    text-decoration:none;
+    color:#000000;
+    font-weight:bold;
+}
+  
+.forms_cpDayColumnHeader, .forms_cpYearNavigation, .forms_cpMonthNavigation, .forms_cpCurrentMonthDate, .forms_cpCurrentMonthDateDisabled, .forms_cpOtherMonthDate, .forms_cpOtherMonthDateDisabled, .forms_cpCurrentDate, .forms_cpCurrentDateDisabled, .forms_cpTodayText, .forms_cpTodayTextDisabled, .forms_cpText {
+    font-family:arial;
+    font-size:8pt;
+}
+  
+TD.forms_cpDayColumnHeader {
+    text-align:right;
+    border:solid thin #C0C0C0;
+    border-width:0 0 19 0;
+}
+  
+.forms_cpCurrentMonthDate, .forms_cpOtherMonthDate, .forms_cpCurrentDate  {
+    text-align:right;
+    text-decoration:none;
+}
+  
+.forms_cpCurrentMonthDateDisabled, .forms_cpOtherMonthDateDisabled, .forms_cpCurrentDateDisabled {
+    color:#D0D0D0;
+    text-align:right;
+    text-decoration:line-through;
+}
+  
+.forms_cpCurrentMonthDate, .forms_cpCurrentDate {
+    color:#000000;
+}
+  
+.forms_cpOtherMonthDate {
+    color:#808080;
+}
+  
+TD.forms_cpCurrentDate {
+    color:white; background-color: #C0C0C0;
+    border-width:1;
+    border:solid thin #800000;
+}
+  
+TD.forms_cpCurrentDateDisabled {
+    border-width:1;
+    border:solid thin #FFAAAA;
+}
+  
+TD.forms_cpTodayText, TD.forms_cpTodayTextDisabled {
+    border:solid thin #C0C0C0;
+    border-width:1 0 0 0;
+}
+  
+A.forms_cpTodayText, SPAN.forms_cpTodayTextDisabled {
+    height:20px;
+}
+  
+A.forms_cpTodayText {
+    color:black;
+}
+  
+.forms_cpTodayTextDisabled {
+    color:#D0D0D0;
+}
+  
+.forms_cpBorder {
+    border:solid thin #808080;
+}

Propchange: cocoon/blocks/portal-sample/trunk/samples/skins/modern/css/forms-calendar.css
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: cocoon/blocks/portal-sample/trunk/samples/skins/modern/css/forms-calendar.css
------------------------------------------------------------------------------
    svn:keywords = Id

Added: cocoon/blocks/portal-sample/trunk/samples/skins/modern/css/forms.css
URL: http://svn.apache.org/viewcvs/cocoon/blocks/portal-sample/trunk/samples/skins/modern/css/forms.css?rev=331766&view=auto
==============================================================================
--- cocoon/blocks/portal-sample/trunk/samples/skins/modern/css/forms.css (added)
+++ cocoon/blocks/portal-sample/trunk/samples/skins/modern/css/forms.css Tue Nov  8 01:57:45 2005
@@ -0,0 +1,75 @@
+/*
+* Copyright 1999-2004 The Apache Software Foundation
+*
+* 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.
+*/
+.forms-tab {
+    background-color: white;
+    border: 1px solid black;
+    border-bottom-width: 0px;
+    padding: 2px 1em 2px 1em;
+    margin-right: 5px;
+    position: relative;
+    text-decoration: none;
+    top: -1px;
+    z-index: 1;
+    cursor: pointer;
+}
+
+.forms-tab.forms-activeTab {
+    font-weight: bold;
+    padding-top: 5px;
+    cursor: default;
+    z-index: 3;
+}
+
+.forms-tabContent {
+    background-color: white;
+    border: 1px solid black;
+    padding: 1em;
+    position: relative;
+    z-index: 2;
+}
+
+.forms-validation-message, a.forms-validation-message:link {
+    color: red;
+    font-weight: bold;
+}
+
+.forms-validation-errors {
+}
+
+.forms-validation-error {
+}
+
+.forms-field-required {
+	color:blue;
+    font-weight: bold;
+}
+
+.forms-help {
+    border-style: dotted;
+    border-width: 1px;
+    padding: 5px;
+    background-color:#FFFFC0; /* light yellow */
+    width: 200px; /* otherwise IE does a weird layout */
+    z-index:1000; /* must be higher than forms-tabContent */
+}
+
+.forms-doubleList select {
+    width: 150px;
+}
+
+.forms-doubleList input {
+    width: 40px;
+}

Propchange: cocoon/blocks/portal-sample/trunk/samples/skins/modern/css/forms.css
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: cocoon/blocks/portal-sample/trunk/samples/skins/modern/css/forms.css
------------------------------------------------------------------------------
    svn:keywords = Id

Added: cocoon/blocks/portal-sample/trunk/samples/skins/modern/css/page.css
URL: http://svn.apache.org/viewcvs/cocoon/blocks/portal-sample/trunk/samples/skins/modern/css/page.css?rev=331766&view=auto
==============================================================================
--- cocoon/blocks/portal-sample/trunk/samples/skins/modern/css/page.css (added)
+++ cocoon/blocks/portal-sample/trunk/samples/skins/modern/css/page.css Tue Nov  8 01:57:45 2005
@@ -0,0 +1,152 @@
+/*
+* Copyright 1999-2005 The Apache Software Foundation
+*
+* 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.
+*/
+body { 
+	background-color: #FFFFFF; 
+	margin: 0px 0px 0px 0px; 
+	font-family: Verdana, Helvetica, sans-serif;
+    font-size : 100%;
+}
+p,li  { font-size:10pt;
+        line-height:12pt;
+        font-family:Verdana, Helvetica, sans-serif;
+        letter-spacing:0.2mm;
+        word-spacing:0.8mm;
+        color:black;
+}
+.coplet {
+    border-width:2px;
+    border-color:#294563;
+    border-style:solid;
+}
+.borderless {
+    border-width:2px 0px 0px 0px;
+    border-color:#294563;
+    border-style:solid;
+}
+.coplet-header {
+    border-width:1px;
+    border-color:#294563;
+    border-style:solid;
+    background-color:#294563;
+    width:100%;
+}
+.coplet-title {
+    background-color: #294563;
+    color: #ffffff;
+    font-size:100%;
+    float:left;
+    padding-left: 0.2em;
+    padding-top: 0.2em;
+    padding-bottom: 0.2em;
+}
+.coplet-icons {
+    background-color:#294563;
+    float:right;
+    padding-top: 0.2em;
+    padding-right: 0.2em;
+}
+.coplet-icon {
+    background-color:#294563;
+    float:left;
+    padding-left:1px;
+}
+.cocoon-portal-columns {
+    clear: both;
+	width:100%;
+}
+.cocoon-portal-column {
+    float:left;
+    padding-left:3px;
+}
+.cocoon-portal-rows {
+    width:100%;
+    clear: both;
+}
+.cocoon-portal-row {
+    padding-top:3px;
+	padding-bottom:3px;
+    clear: both;
+}
+.tab-layout {
+  width:100%;
+  background-color: #294563;
+}
+.tab-layout ul {
+  display: block;
+  list-style: none outside;
+  padding: 0;
+  margin: 0 0 0 10px;
+  font-family: Verdana, sans-serif;
+  font-size : 100%;
+}
+.tab-layout li {
+  padding: 0.2em;
+  margin: 0 4px 0 0;
+  border-top: 1px solid #B2C4E0;
+  border-right: 1px solid #B2C4E0;
+  border-left: 1px solid #B2C4E0;
+  background-color: #B2C4E0;
+  color: #294563;
+  font-weight: bold;
+  /* the next 4 lines are magic */
+  display: block;
+  float: left;
+  position: relative;
+}
+.tab-layout a:link {
+  text-decoration: none;
+  padding-left: 1em;
+  padding-right: 1em;
+  color: #000000;
+}
+.tab-layout a:visited {
+  text-decoration: none;
+  padding-left: 1em;
+  padding-right: 1em;
+  color: #000000;
+}
+.tab-layout li.tab-selected {
+  padding: 0.2em;
+  margin: 0 4px 0 0;
+  border-top: 1px solid #ffffff;
+  border-right: 1px solid #ffffff;
+  border-left: 1px solid #ffffff;
+  background-color: #ffffff;
+  color: #000000;
+  font-weight: bold;
+  text-decoration: none;
+  padding-left: 1em;
+  padding-right: 1em;
+  /* the next 4 lines are magic */
+  display: block;
+  float: left;
+  position: relative;
+}
+.tab-layout-clear {
+  clear: both;
+}
+.cocoon-portal-header {
+    background-color: #294563;
+    color: #ffffff;
+    width: 100%;
+    height: 80px;
+}
+.cocoon-portal-footer {
+    background-color: #294563;
+    color: #ffffff;
+    width: 100%;
+    height: 10px;
+}
\ No newline at end of file

Propchange: cocoon/blocks/portal-sample/trunk/samples/skins/modern/css/page.css
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: cocoon/blocks/portal-sample/trunk/samples/skins/modern/css/page.css
------------------------------------------------------------------------------
    svn:keywords = Id

Added: cocoon/blocks/portal-sample/trunk/samples/skins/modern/css/wsrp.css
URL: http://svn.apache.org/viewcvs/cocoon/blocks/portal-sample/trunk/samples/skins/modern/css/wsrp.css?rev=331766&view=auto
==============================================================================
--- cocoon/blocks/portal-sample/trunk/samples/skins/modern/css/wsrp.css (added)
+++ cocoon/blocks/portal-sample/trunk/samples/skins/modern/css/wsrp.css Tue Nov  8 01:57:45 2005
@@ -0,0 +1,65 @@
+/*
+* Copyright 2005 The Apache Software Foundation
+*
+* 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.
+*/
+<!-- all css-specification of an (wsrp-)portlet -->
+
+<!-- Fonts -->
+portlet-font                { font-size:10pt;}
+portlet-font-dim            { }
+
+<!-- Messages -->
+portlet-msg-status          { }
+portlet-msg-info            { } 
+portlet-msg-error           { }
+portlet-msg-alert           { }
+portlet-msg-success         { }
+
+<!-- Sections -->
+portlet-section-header      { }
+portlet-section-body        { }
+portlet-section-alternate   { }
+portlet-section-selected    { }
+portlet-section-subheader   { }
+portlet-section-footer      { }
+portlet-section-text        { }
+
+<!-- Tables -->
+portlet-table-header        { }
+portlet-table-body          { }
+portlet-table-alternate     { }
+portlet-table-selected      { }
+portlet-table-subheader     { }
+portlet-table-footer        { }
+portlet-table-text          { }
+
+<!-- Forms -->
+portlet-form-label          { }
+portlet-form-input-field    { }
+portlet-form-button         { }
+portlet-icon-label          { }
+portlet-dlg-icon-label      { }
+portlet-form-field-label    { }
+portlet-form-field          { }
+
+<!-- Menus -->
+portlet-menu                { }
+portlet-menu-item           { }
+portlet-menu-item-selected  { }
+portlet-menu-item-hover     { }
+portlet-menu-item-hover-selected { }
+portlet-menu-cascade-item   { }
+portlet-menu-cascade-item-selected { }
+portlet-menu-description    { }
+portlet-menu-caption        { }
\ No newline at end of file

Propchange: cocoon/blocks/portal-sample/trunk/samples/skins/modern/css/wsrp.css
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: cocoon/blocks/portal-sample/trunk/samples/skins/modern/css/wsrp.css
------------------------------------------------------------------------------
    svn:keywords = Id

Added: cocoon/blocks/portal-sample/trunk/samples/skins/modern/images/basket.gif
URL: http://svn.apache.org/viewcvs/cocoon/blocks/portal-sample/trunk/samples/skins/modern/images/basket.gif?rev=331766&view=auto
==============================================================================
Binary file - no diff available.

Propchange: cocoon/blocks/portal-sample/trunk/samples/skins/modern/images/basket.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: cocoon/blocks/portal-sample/trunk/samples/skins/modern/images/cal.gif
URL: http://svn.apache.org/viewcvs/cocoon/blocks/portal-sample/trunk/samples/skins/modern/images/cal.gif?rev=331766&view=auto
==============================================================================
Binary file - no diff available.

Propchange: cocoon/blocks/portal-sample/trunk/samples/skins/modern/images/cal.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: cocoon/blocks/portal-sample/trunk/samples/skins/modern/images/customize.gif
URL: http://svn.apache.org/viewcvs/cocoon/blocks/portal-sample/trunk/samples/skins/modern/images/customize.gif?rev=331766&view=auto
==============================================================================
Binary file - no diff available.

Propchange: cocoon/blocks/portal-sample/trunk/samples/skins/modern/images/customize.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: cocoon/blocks/portal-sample/trunk/samples/skins/modern/images/delete.gif
URL: http://svn.apache.org/viewcvs/cocoon/blocks/portal-sample/trunk/samples/skins/modern/images/delete.gif?rev=331766&view=auto
==============================================================================
Binary file - no diff available.

Propchange: cocoon/blocks/portal-sample/trunk/samples/skins/modern/images/delete.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: cocoon/blocks/portal-sample/trunk/samples/skins/modern/images/edit.gif
URL: http://svn.apache.org/viewcvs/cocoon/blocks/portal-sample/trunk/samples/skins/modern/images/edit.gif?rev=331766&view=auto
==============================================================================
Binary file - no diff available.

Propchange: cocoon/blocks/portal-sample/trunk/samples/skins/modern/images/edit.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: cocoon/blocks/portal-sample/trunk/samples/skins/modern/images/help.gif
URL: http://svn.apache.org/viewcvs/cocoon/blocks/portal-sample/trunk/samples/skins/modern/images/help.gif?rev=331766&view=auto
==============================================================================
Binary file - no diff available.

Propchange: cocoon/blocks/portal-sample/trunk/samples/skins/modern/images/help.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: cocoon/blocks/portal-sample/trunk/samples/skins/modern/images/logout-door.gif
URL: http://svn.apache.org/viewcvs/cocoon/blocks/portal-sample/trunk/samples/skins/modern/images/logout-door.gif?rev=331766&view=auto
==============================================================================
Binary file - no diff available.

Propchange: cocoon/blocks/portal-sample/trunk/samples/skins/modern/images/logout-door.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: cocoon/blocks/portal-sample/trunk/samples/skins/modern/images/maximize.gif
URL: http://svn.apache.org/viewcvs/cocoon/blocks/portal-sample/trunk/samples/skins/modern/images/maximize.gif?rev=331766&view=auto
==============================================================================
Binary file - no diff available.

Propchange: cocoon/blocks/portal-sample/trunk/samples/skins/modern/images/maximize.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: cocoon/blocks/portal-sample/trunk/samples/skins/modern/images/minimize.gif
URL: http://svn.apache.org/viewcvs/cocoon/blocks/portal-sample/trunk/samples/skins/modern/images/minimize.gif?rev=331766&view=auto
==============================================================================
Binary file - no diff available.

Propchange: cocoon/blocks/portal-sample/trunk/samples/skins/modern/images/minimize.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: cocoon/blocks/portal-sample/trunk/samples/skins/modern/images/portal-logo.gif
URL: http://svn.apache.org/viewcvs/cocoon/blocks/portal-sample/trunk/samples/skins/modern/images/portal-logo.gif?rev=331766&view=auto
==============================================================================
Binary file - no diff available.

Propchange: cocoon/blocks/portal-sample/trunk/samples/skins/modern/images/portal-logo.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: cocoon/blocks/portal-sample/trunk/samples/skins/modern/images/show.gif
URL: http://svn.apache.org/viewcvs/cocoon/blocks/portal-sample/trunk/samples/skins/modern/images/show.gif?rev=331766&view=auto
==============================================================================
Binary file - no diff available.

Propchange: cocoon/blocks/portal-sample/trunk/samples/skins/modern/images/show.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: cocoon/blocks/portal-sample/trunk/samples/skins/modern/images/space.gif
URL: http://svn.apache.org/viewcvs/cocoon/blocks/portal-sample/trunk/samples/skins/modern/images/space.gif?rev=331766&view=auto
==============================================================================
Binary file - no diff available.

Propchange: cocoon/blocks/portal-sample/trunk/samples/skins/modern/images/space.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: cocoon/blocks/portal-sample/trunk/samples/skins/modern/images/tab-left.gif
URL: http://svn.apache.org/viewcvs/cocoon/blocks/portal-sample/trunk/samples/skins/modern/images/tab-left.gif?rev=331766&view=auto
==============================================================================
Binary file - no diff available.

Propchange: cocoon/blocks/portal-sample/trunk/samples/skins/modern/images/tab-left.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: cocoon/blocks/portal-sample/trunk/samples/skins/modern/images/tab-right.gif
URL: http://svn.apache.org/viewcvs/cocoon/blocks/portal-sample/trunk/samples/skins/modern/images/tab-right.gif?rev=331766&view=auto
==============================================================================
Binary file - no diff available.

Propchange: cocoon/blocks/portal-sample/trunk/samples/skins/modern/images/tab-right.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: cocoon/blocks/portal-sample/trunk/samples/skins/modern/images/tabSel-left.gif
URL: http://svn.apache.org/viewcvs/cocoon/blocks/portal-sample/trunk/samples/skins/modern/images/tabSel-left.gif?rev=331766&view=auto
==============================================================================
Binary file - no diff available.

Propchange: cocoon/blocks/portal-sample/trunk/samples/skins/modern/images/tabSel-left.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: cocoon/blocks/portal-sample/trunk/samples/skins/modern/images/tabSel-right.gif
URL: http://svn.apache.org/viewcvs/cocoon/blocks/portal-sample/trunk/samples/skins/modern/images/tabSel-right.gif?rev=331766&view=auto
==============================================================================
Binary file - no diff available.

Propchange: cocoon/blocks/portal-sample/trunk/samples/skins/modern/images/tabSel-right.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: cocoon/blocks/portal-sample/trunk/samples/skins/modern/images/thumb.jpg
URL: http://svn.apache.org/viewcvs/cocoon/blocks/portal-sample/trunk/samples/skins/modern/images/thumb.jpg?rev=331766&view=auto
==============================================================================
Binary file - no diff available.

Propchange: cocoon/blocks/portal-sample/trunk/samples/skins/modern/images/thumb.jpg
------------------------------------------------------------------------------
    svn:mime-type = image/jpeg

Added: cocoon/blocks/portal-sample/trunk/samples/skins/modern/images/view.gif
URL: http://svn.apache.org/viewcvs/cocoon/blocks/portal-sample/trunk/samples/skins/modern/images/view.gif?rev=331766&view=auto
==============================================================================
Binary file - no diff available.

Propchange: cocoon/blocks/portal-sample/trunk/samples/skins/modern/images/view.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: cocoon/blocks/portal-sample/trunk/samples/skins/modern/images/window-border-bottom.gif
URL: http://svn.apache.org/viewcvs/cocoon/blocks/portal-sample/trunk/samples/skins/modern/images/window-border-bottom.gif?rev=331766&view=auto
==============================================================================
Binary file - no diff available.

Propchange: cocoon/blocks/portal-sample/trunk/samples/skins/modern/images/window-border-bottom.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: cocoon/blocks/portal-sample/trunk/samples/skins/modern/images/window-border-left.gif
URL: http://svn.apache.org/viewcvs/cocoon/blocks/portal-sample/trunk/samples/skins/modern/images/window-border-left.gif?rev=331766&view=auto
==============================================================================
Binary file - no diff available.

Propchange: cocoon/blocks/portal-sample/trunk/samples/skins/modern/images/window-border-left.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: cocoon/blocks/portal-sample/trunk/samples/skins/modern/images/window-border-right.gif
URL: http://svn.apache.org/viewcvs/cocoon/blocks/portal-sample/trunk/samples/skins/modern/images/window-border-right.gif?rev=331766&view=auto
==============================================================================
Binary file - no diff available.

Propchange: cocoon/blocks/portal-sample/trunk/samples/skins/modern/images/window-border-right.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: cocoon/blocks/portal-sample/trunk/samples/skins/modern/images/window-bottom-left.gif
URL: http://svn.apache.org/viewcvs/cocoon/blocks/portal-sample/trunk/samples/skins/modern/images/window-bottom-left.gif?rev=331766&view=auto
==============================================================================
Binary file - no diff available.

Propchange: cocoon/blocks/portal-sample/trunk/samples/skins/modern/images/window-bottom-left.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: cocoon/blocks/portal-sample/trunk/samples/skins/modern/images/window-bottom-right.gif
URL: http://svn.apache.org/viewcvs/cocoon/blocks/portal-sample/trunk/samples/skins/modern/images/window-bottom-right.gif?rev=331766&view=auto
==============================================================================
Binary file - no diff available.

Propchange: cocoon/blocks/portal-sample/trunk/samples/skins/modern/images/window-bottom-right.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: cocoon/blocks/portal-sample/trunk/samples/skins/modern/images/window-top-left.gif
URL: http://svn.apache.org/viewcvs/cocoon/blocks/portal-sample/trunk/samples/skins/modern/images/window-top-left.gif?rev=331766&view=auto
==============================================================================
Binary file - no diff available.

Propchange: cocoon/blocks/portal-sample/trunk/samples/skins/modern/images/window-top-left.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: cocoon/blocks/portal-sample/trunk/samples/skins/modern/images/window-top-right.gif
URL: http://svn.apache.org/viewcvs/cocoon/blocks/portal-sample/trunk/samples/skins/modern/images/window-top-right.gif?rev=331766&view=auto
==============================================================================
Binary file - no diff available.

Propchange: cocoon/blocks/portal-sample/trunk/samples/skins/modern/images/window-top-right.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: cocoon/blocks/portal-sample/trunk/samples/skins/modern/styles/borderless-window.xsl
URL: http://svn.apache.org/viewcvs/cocoon/blocks/portal-sample/trunk/samples/skins/modern/styles/borderless-window.xsl?rev=331766&view=auto
==============================================================================
--- cocoon/blocks/portal-sample/trunk/samples/skins/modern/styles/borderless-window.xsl (added)
+++ cocoon/blocks/portal-sample/trunk/samples/skins/modern/styles/borderless-window.xsl Tue Nov  8 01:57:45 2005
@@ -0,0 +1,125 @@
+<?xml version="1.0"?>
+<!--
+  Copyright 1999-2005 The Apache Software Foundation
+
+  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.
+-->
+<!-- SVN $Id$ -->
+<xsl:stylesheet version="1.0" 
+                xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+
+  <xsl:template match="window">
+    <xsl:variable name="copletId"><xsl:value-of select="instance-id"/></xsl:variable>
+    <div class="coplet borderless" id="coplet-{$copletId}">
+      <div class="coplet-header" id="coplet-header-{$copletId}">
+        <div class="coplet-title" id="coplet-title-{$copletId}">
+          <xsl:choose>
+            <xsl:when test="@title">
+              <xsl:value-of select="@title"/>
+            </xsl:when>
+            <xsl:otherwise>
+              <xsl:value-of select="title"/>
+            </xsl:otherwise>
+          </xsl:choose> 
+        </div>
+        <div class="coplet-icons" id="coplet-icons-{$copletId}">
+          <xsl:variable name="copletSize"><xsl:value-of select="coplet-size"/></xsl:variable>
+          <xsl:if test="basket-add-link">
+            <div class="coplet-icon basket-add-link" id="coplet-icon-basket-add-link-{$copletId}">
+              <a href="{basket-add-link}">
+                <img src="images/basket.gif" border="0" alt="Add Link"/>
+              </a>
+            </div>
+          </xsl:if>
+          <xsl:if test="basket-add-content">
+            <div class="coplet-icon basket-add-content" id="coplet-icon-basket-add-content-{$copletId}">
+              <a href="{basket-add-content}">
+                <img src="images/basket.gif" border="0" alt="Add Content"/>
+              </a>
+            </div>
+          </xsl:if>
+          <xsl:if test="edit-uri">
+            <div class="coplet-icon edit-uri" id="coplet-icon-edit-uri-{$copletId}">
+              <a href="{edit-uri}">
+                <img src="images/edit.gif" border="0" alt="Edit"/>
+              </a>
+            </div>
+          </xsl:if>
+          <xsl:if test="help-uri">
+            <div class="coplet-icon help-uri" id="coplet-icon-help-uri-{$copletId}">
+              <a href="{help-uri}">
+                <img src="images/help.gif" border="0" alt="Help"/>
+              </a>
+            </div>
+          </xsl:if>
+          <xsl:if test="view-uri">
+            <div class="coplet-icon view-uri" id="coplet-icon-view-uri-{$copletId}">
+              <a href="{view-uri}">
+                <img src="images/view.gif" border="0" alt="View"/>
+              </a>
+            </div>
+          </xsl:if>
+          <xsl:if test="fullscreen-uri and not(normal-uri)">
+            <div class="coplet-icon fullscreen-uri" id="coplet-icon-fullscreen-uri-{$copletId}">
+              <a href="{fullscreen-uri}">
+                <img src="images/customize.gif" border="0" alt="Full Screen"/>
+              </a>
+            </div>
+          </xsl:if>
+          <xsl:if test="maximize-uri">
+            <div class="coplet-icon maximize-uri" id="coplet-icon-maximize-uri-{$copletId}">
+              <a href="{maximize-uri}">
+                <img src="images/show.gif" border="0" alt="Maximize"/>
+              </a>
+            </div>
+          </xsl:if>
+          <xsl:if test="normal-uri">
+            <div class="coplet-icon normal-uri" id="coplet-icon-normal-uri-{$copletId}">
+              <a href="javascript:cocoon.portal.process('{normal-uri}');">
+                <img src="images/maximize.gif" border="0" alt="Normal"/>
+              </a>
+            </div>
+          </xsl:if>
+          <xsl:if test="minimize-uri">
+            <div class="coplet-icon minimize-uri" id="coplet-icon-minimize-uri-{$copletId}">
+              <a href="javascript:cocoon.portal.process('{minimize-uri}');">
+                <img src="images/minimize.gif" border="0" alt="Minimize"/>
+              </a>
+            </div>
+          </xsl:if>
+          <xsl:if test="remove-uri">
+            <div class="coplet-icon remove-uri" id="coplet-icon-remove-uri-{$copletId}">
+              <a href="{remove-uri}">
+                <img src="images/delete.gif" border="0" alt="Delete"/>
+              </a>
+            </div>
+          </xsl:if>
+        </div>
+      </div>
+      <div class="coplet-content" id="coplet-content-{$copletId}">
+        <xsl:apply-templates select="content"/>
+      </div>
+    </div>
+  </xsl:template>
+
+  <!-- This is the content of the coplet. We just remove the surrounding tag. -->
+  <xsl:template match="content">
+    <xsl:copy-of select="*"/>
+  </xsl:template>
+
+  <!-- Copy all and apply templates -->
+  <xsl:template match="@*|node()">
+    <xsl:copy><xsl:apply-templates select="@*|node()" /></xsl:copy>
+  </xsl:template>
+
+</xsl:stylesheet>

Propchange: cocoon/blocks/portal-sample/trunk/samples/skins/modern/styles/borderless-window.xsl
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: cocoon/blocks/portal-sample/trunk/samples/skins/modern/styles/borderless-window.xsl
------------------------------------------------------------------------------
    svn:keywords = Id

Added: cocoon/blocks/portal-sample/trunk/samples/skins/modern/styles/column.xsl
URL: http://svn.apache.org/viewcvs/cocoon/blocks/portal-sample/trunk/samples/skins/modern/styles/column.xsl?rev=331766&view=auto
==============================================================================
--- cocoon/blocks/portal-sample/trunk/samples/skins/modern/styles/column.xsl (added)
+++ cocoon/blocks/portal-sample/trunk/samples/skins/modern/styles/column.xsl Tue Nov  8 01:57:45 2005
@@ -0,0 +1,48 @@
+<?xml version="1.0"?>
+<!--
+  Copyright 2005 The Apache Software Foundation
+
+  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.
+-->
+<!-- SVN $Id$ -->
+<xsl:stylesheet version="1.0" 
+                xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+
+  <!-- Process a Column  -->
+  <xsl:template match="column-layout">
+    <div class="cocoon-portal-columns">
+      <xsl:variable name="itemCount"><xsl:value-of select="item-count"/></xsl:variable>
+      <xsl:variable name="maxWidth"><xsl:value-of select="99 - number($itemCount)"/></xsl:variable>
+	  <xsl:variable name="defaultWidth"><xsl:value-of select="number($maxWidth) div number($itemCount)"/></xsl:variable>
+      <xsl:for-each select="item">
+	    <div style="width:{$defaultWidth}%" class="cocoon-portal-column">
+		  <!-- xsl:choose>
+		    <xsl:when test="@width">
+			  <xsl:attribute name="style">width:<xsl:value-of select="@width"/>;</xsl:attribute>
+			</xsl:when>
+			<xsl:otherwise>
+			  <xsl:attribute name="style">width:<xsl:value-of select="$defaultWidth"/>;</xsl:attribute>
+			</xsl:otherwise>
+          </xsl:choose -->
+          <xsl:copy-of select="*"/>
+        </div>
+      </xsl:for-each>
+    </div>
+  </xsl:template>
+
+  <!-- Copy all and apply templates -->
+  <xsl:template match="@*|node()">
+    <xsl:copy><xsl:apply-templates select="@*|node()"/></xsl:copy>
+  </xsl:template>
+
+</xsl:stylesheet>

Propchange: cocoon/blocks/portal-sample/trunk/samples/skins/modern/styles/column.xsl
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: cocoon/blocks/portal-sample/trunk/samples/skins/modern/styles/column.xsl
------------------------------------------------------------------------------
    svn:keywords = Id

Added: cocoon/blocks/portal-sample/trunk/samples/skins/modern/styles/forms-styling.xsl
URL: http://svn.apache.org/viewcvs/cocoon/blocks/portal-sample/trunk/samples/skins/modern/styles/forms-styling.xsl?rev=331766&view=auto
==============================================================================
--- cocoon/blocks/portal-sample/trunk/samples/skins/modern/styles/forms-styling.xsl (added)
+++ cocoon/blocks/portal-sample/trunk/samples/skins/modern/styles/forms-styling.xsl Tue Nov  8 01:57:45 2005
@@ -0,0 +1,50 @@
+<?xml version="1.0"?>
+<!--
+  Copyright 1999-2005 The Apache Software Foundation
+
+  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.
+-->
+<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+
+  <!--+ Include styling stylesheets, one for the widgets, the other one for the
+      | page. As 'forms-advanced-field-styling.xsl' is a specialization of
+      | 'forms-field-styling.xsl' the latter one is imported there. If you don't
+      | want advanced styling of widgets, change it here!
+      | See xsl:include as composition and xsl:import as extension/inheritance.
+      +-->
+  <xsl:include href="resource://org/apache/cocoon/forms/resources/forms-page-styling.xsl"/>
+  <xsl:include href="resource://org/apache/cocoon/forms/resources/forms-advanced-field-styling.xsl"/>
+
+  <!-- Location of the resources directory, where JS libs and icons are stored -->
+  <xsl:param name="resources-uri">resources</xsl:param>
+  
+  <xsl:template match="head">
+    <head>
+      <xsl:apply-templates/>
+      <xsl:apply-templates select="." mode="forms-page"/>
+      <xsl:apply-templates select="." mode="forms-field"/>
+    </head>
+  </xsl:template>
+
+  <xsl:template match="body">
+    <body>
+      <!--+ !!! If template with mode 'forms-page' adds text or elements
+          |        template with mode 'forms-field' can no longer add attributes!!!
+          +-->
+      <xsl:apply-templates select="." mode="forms-page"/>
+      <xsl:apply-templates select="." mode="forms-field"/>
+      <xsl:apply-templates/>
+    </body>
+  </xsl:template>
+
+</xsl:stylesheet>

Propchange: cocoon/blocks/portal-sample/trunk/samples/skins/modern/styles/forms-styling.xsl
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: cocoon/blocks/portal-sample/trunk/samples/skins/modern/styles/forms-styling.xsl
------------------------------------------------------------------------------
    svn:keywords = Id

Added: cocoon/blocks/portal-sample/trunk/samples/skins/modern/styles/linktab.xsl
URL: http://svn.apache.org/viewcvs/cocoon/blocks/portal-sample/trunk/samples/skins/modern/styles/linktab.xsl?rev=331766&view=auto
==============================================================================
--- cocoon/blocks/portal-sample/trunk/samples/skins/modern/styles/linktab.xsl (added)
+++ cocoon/blocks/portal-sample/trunk/samples/skins/modern/styles/linktab.xsl Tue Nov  8 01:57:45 2005
@@ -0,0 +1,62 @@
+<?xml version="1.0"?>
+<!--
+  Copyright 1999-2004 The Apache Software Foundation
+
+  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.
+-->
+<!-- SVN $Id$ -->
+<xsl:stylesheet version="1.0" 
+                xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+
+
+<!-- Process a tab  -->
+<xsl:template match="linktab-layout">
+<!-- ~~~~~ Begin body table ~~~~~ -->
+<table border="0" cellpadding="0" cellspacing="0" width="100%">
+  <!-- ~~~~~ Begin tab row ~~~~~ -->
+  <tr vAlign="top">
+  <td width="20%" align="top">
+  <br/>
+  &#160;Select:<br/><br/>
+     <xsl:for-each select="named-item">
+     
+      <xsl:choose>
+        <xsl:when test="not(@selected)">
+          &#160;&#160;&#160;<a href="{@parameter}"><xsl:value-of select="@name"/></a><br/><br/>
+        </xsl:when>
+        <xsl:otherwise>
+          &#160;&#160;&#160;<b><xsl:value-of select="@name"/></b><br/><br/>
+        </xsl:otherwise>
+      </xsl:choose> 
+      </xsl:for-each>
+  </td>
+				<td width="80%" align="top">
+					<xsl:apply-templates select="named-item"/>
+				</td>
+  </tr>
+</table>
+</xsl:template>
+
+<xsl:template match="named-item">
+  <xsl:apply-templates />
+</xsl:template>
+
+<!-- Copy all and apply templates -->
+
+<xsl:template match="@*|node()">
+  <xsl:copy>
+    <xsl:apply-templates select="@*|node()" />
+  </xsl:copy>
+</xsl:template>
+
+</xsl:stylesheet>

Propchange: cocoon/blocks/portal-sample/trunk/samples/skins/modern/styles/linktab.xsl
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: cocoon/blocks/portal-sample/trunk/samples/skins/modern/styles/linktab.xsl
------------------------------------------------------------------------------
    svn:keywords = Id

Added: cocoon/blocks/portal-sample/trunk/samples/skins/modern/styles/login-html.xsl
URL: http://svn.apache.org/viewcvs/cocoon/blocks/portal-sample/trunk/samples/skins/modern/styles/login-html.xsl?rev=331766&view=auto
==============================================================================
--- cocoon/blocks/portal-sample/trunk/samples/skins/modern/styles/login-html.xsl (added)
+++ cocoon/blocks/portal-sample/trunk/samples/skins/modern/styles/login-html.xsl Tue Nov  8 01:57:45 2005
@@ -0,0 +1,102 @@
+<?xml version="1.0"?>
+<!--
+  Copyright 1999-2005 The Apache Software Foundation
+
+  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.
+-->
+
+<!--+ $Id$ 
+    |
+    | Description: Login page to HTML
+    |
+    +-->
+
+<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+
+<xsl:param name="resource"/>
+
+<xsl:template match="content">
+<table bgColor="#ffffff" border="0" cellPadding="0" cellSpacing="0" width="100%"><tbody>
+  <tr>
+	<td bgColor="#ffffff" align="center">
+	  <br/>
+        <xsl:apply-templates/>
+      <br/>
+    </td>
+  </tr>
+  <tr>
+    <td bgColor="#ffffff" width="15">
+	  <img height="1" src="images/space.gif" width="15"/>
+    </td>
+  </tr>
+    <tr>
+      <td bgColor="#ffffff" align="center">
+      <br/>
+      <p>
+         If you are not already registered, use this guest login:
+		 <br/><br/>
+		 User:	<b>guest</b>
+		 Password:
+		 <b>guest</b>
+		 <br/><br/>Or use this administrator login:<br/>
+		 User:
+		 <b>cocoon</b>
+		 Password:
+		 <b>cocoon</b>
+	   <br/><br/>
+       </p>
+     </td>
+    </tr>
+  </tbody></table>
+</xsl:template>
+
+<xsl:template match="form">
+	<form method="post" target="_top">
+	    <xsl:choose>
+	        <xsl:when test="$resource=''">
+  		        <xsl:attribute name="action"><xsl:value-of select="normalize-space(url)"/>?resource=portal</xsl:attribute>
+	        </xsl:when>
+	        <xsl:otherwise>
+        		<xsl:attribute name="action"><xsl:value-of select="normalize-space(url)"/>?resource=<xsl:value-of select="$resource"/></xsl:attribute>
+	        </xsl:otherwise>
+	    </xsl:choose>
+		<table>
+		        <xsl:apply-templates select="field"/><br/>
+		</table>
+		<input type="submit" value="Login"></input>
+	</form>
+</xsl:template>
+
+<xsl:template match="field">
+	<tr>
+		<td align="left">
+			<p><xsl:value-of select="@description"/>:</p>
+		</td>
+		<td align="left">
+			<input>
+				<xsl:attribute name="name"><xsl:value-of select="@name"/></xsl:attribute>
+				<xsl:attribute name="type"><xsl:value-of select="@type"/></xsl:attribute>
+				<xsl:attribute name="size"><xsl:value-of select="@length"/></xsl:attribute>
+			</input>
+		</td>
+	</tr>
+</xsl:template>
+
+<!-- Copy all and apply templates -->
+<xsl:template match="@*|node()">
+	<xsl:copy>
+		<xsl:apply-templates select="@*|node()" />
+	</xsl:copy>
+</xsl:template>
+
+</xsl:stylesheet>

Propchange: cocoon/blocks/portal-sample/trunk/samples/skins/modern/styles/login-html.xsl
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: cocoon/blocks/portal-sample/trunk/samples/skins/modern/styles/login-html.xsl
------------------------------------------------------------------------------
    svn:keywords = Id

Added: cocoon/blocks/portal-sample/trunk/samples/skins/modern/styles/portal-page.xsl
URL: http://svn.apache.org/viewcvs/cocoon/blocks/portal-sample/trunk/samples/skins/modern/styles/portal-page.xsl?rev=331766&view=auto
==============================================================================
--- cocoon/blocks/portal-sample/trunk/samples/skins/modern/styles/portal-page.xsl (added)
+++ cocoon/blocks/portal-sample/trunk/samples/skins/modern/styles/portal-page.xsl Tue Nov  8 01:57:45 2005
@@ -0,0 +1,57 @@
+<?xml version="1.0"?>
+<!--
+  Copyright 1999-2005 The Apache Software Foundation
+
+  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.
+-->
+<!-- SVN $Id$ -->
+<xsl:stylesheet version="1.0" 
+                xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+
+  <xsl:param name="user"/>
+  <xsl:param name="title"/>
+  <xsl:param name="skin"/>
+
+  <xsl:template match="/">
+    <html>
+      <head>
+        <title><xsl:value-of select="$title"/></title>
+        <link type="text/css" rel="stylesheet" href="skin/{$skin}/css/page.css"/>
+        <link type="text/css" rel="stylesheet" href="skin/{$skin}/css/wsrp.css"/>
+        <script src="resources/ajax/js/cocoon-ajax.js" type="text/javascript"/>
+        <script src="resources/portal/js/cocoon-portal.js" type="text/javascript"/>
+      </head>
+      <body>
+        <div class="cocoon-portal-header">
+          <div id="cocoon-portal-header-logo">
+            <img src="skin/{$skin}/images/portal-logo.gif" width="250" height="90"/>
+          </div>
+          <xsl:if test="$user!='anonymous'">
+            <div id="cocoon-portal-header-logout">
+              <a href="logout"><img src="skin/{$skin}/images/logout-door.gif" width="18" height="22" border="0"/></a>
+              <a href="logout">Logout</a>
+              &#160;
+              <a href="tools/">Tools</a>
+            </div>
+          </xsl:if>
+	    </div>
+        <div class="cocoon-portal-content">
+          <xsl:copy-of select="*"/>
+	    </div>
+        <div class="cocoon-portal-footer">
+	    </div>
+      </body>
+    </html>
+  </xsl:template>
+
+</xsl:stylesheet>

Propchange: cocoon/blocks/portal-sample/trunk/samples/skins/modern/styles/portal-page.xsl
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: cocoon/blocks/portal-sample/trunk/samples/skins/modern/styles/portal-page.xsl
------------------------------------------------------------------------------
    svn:keywords = Id

Added: cocoon/blocks/portal-sample/trunk/samples/skins/modern/styles/row.xsl
URL: http://svn.apache.org/viewcvs/cocoon/blocks/portal-sample/trunk/samples/skins/modern/styles/row.xsl?rev=331766&view=auto
==============================================================================
--- cocoon/blocks/portal-sample/trunk/samples/skins/modern/styles/row.xsl (added)
+++ cocoon/blocks/portal-sample/trunk/samples/skins/modern/styles/row.xsl Tue Nov  8 01:57:45 2005
@@ -0,0 +1,37 @@
+<?xml version="1.0"?>
+<!--
+  Copyright 2005 The Apache Software Foundation
+
+  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.
+-->
+<!-- SVN $Id$ -->
+<xsl:stylesheet version="1.0" 
+                xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+
+  <!-- Process a row  -->
+  <xsl:template match="row-layout">
+    <div class="cocoon-portal-rows">
+      <xsl:for-each select="item">
+	    <div class="cocoon-portal-row">
+		  <xsl:copy-of select="*"/>
+		</div>
+      </xsl:for-each>
+	</div>
+  </xsl:template>
+
+  <!-- Copy all and apply templates -->
+  <xsl:template match="@*|node()">
+    <xsl:copy><xsl:apply-templates select="@*|node()"/></xsl:copy>
+  </xsl:template>
+
+</xsl:stylesheet>

Propchange: cocoon/blocks/portal-sample/trunk/samples/skins/modern/styles/row.xsl
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: cocoon/blocks/portal-sample/trunk/samples/skins/modern/styles/row.xsl
------------------------------------------------------------------------------
    svn:keywords = Id

Added: cocoon/blocks/portal-sample/trunk/samples/skins/modern/styles/tab.xsl
URL: http://svn.apache.org/viewcvs/cocoon/blocks/portal-sample/trunk/samples/skins/modern/styles/tab.xsl?rev=331766&view=auto
==============================================================================
--- cocoon/blocks/portal-sample/trunk/samples/skins/modern/styles/tab.xsl (added)
+++ cocoon/blocks/portal-sample/trunk/samples/skins/modern/styles/tab.xsl Tue Nov  8 01:57:45 2005
@@ -0,0 +1,50 @@
+<?xml version="1.0"?>
+<!--
+  Copyright 1999-2005 The Apache Software Foundation
+
+  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.
+-->
+<!-- SVN $Id$ -->
+<xsl:stylesheet version="1.0" 
+                xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+
+  <!-- Process a tab  -->
+  <xsl:template match="tab-layout">
+    <div class="tab-layout">
+      <ul>
+        <xsl:for-each select="named-item">
+          <xsl:choose>
+            <xsl:when test="@selected">
+              <li class="tab-selected"><xsl:value-of select="@name"/></li>
+            </xsl:when>
+            <xsl:otherwise>
+              <li class="tab"><a href="{@parameter}"><xsl:value-of select="@name"/></a></li>
+            </xsl:otherwise>
+          </xsl:choose>
+        </xsl:for-each>
+      </ul>
+    </div>
+    <div class="tab-layout-clear"/>
+    <xsl:apply-templates select="named-item"/>
+  </xsl:template>
+
+  <xsl:template match="named-item">
+    <xsl:copy-of select="*"/>
+  </xsl:template>
+
+  <!-- Copy all and apply templates -->
+  <xsl:template match="@*|node()">
+    <xsl:copy><xsl:apply-templates select="@*|node()"/></xsl:copy>
+  </xsl:template>
+
+</xsl:stylesheet>

Propchange: cocoon/blocks/portal-sample/trunk/samples/skins/modern/styles/tab.xsl
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: cocoon/blocks/portal-sample/trunk/samples/skins/modern/styles/tab.xsl
------------------------------------------------------------------------------
    svn:keywords = Id

Added: cocoon/blocks/portal-sample/trunk/samples/skins/modern/styles/window.xsl
URL: http://svn.apache.org/viewcvs/cocoon/blocks/portal-sample/trunk/samples/skins/modern/styles/window.xsl?rev=331766&view=auto
==============================================================================
--- cocoon/blocks/portal-sample/trunk/samples/skins/modern/styles/window.xsl (added)
+++ cocoon/blocks/portal-sample/trunk/samples/skins/modern/styles/window.xsl Tue Nov  8 01:57:45 2005
@@ -0,0 +1,125 @@
+<?xml version="1.0"?>
+<!--
+  Copyright 1999-2005 The Apache Software Foundation
+
+  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.
+-->
+<!-- SVN $Id$ -->
+<xsl:stylesheet version="1.0" 
+                xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+
+  <xsl:template match="window">
+    <xsl:variable name="copletId"><xsl:value-of select="instance-id"/></xsl:variable>
+    <div class="coplet" id="coplet-{$copletId}">
+      <div class="coplet-header" id="coplet-header-{$copletId}">
+        <div class="coplet-title" id="coplet-title-{$copletId}">
+          <xsl:choose>
+            <xsl:when test="@title">
+              <xsl:value-of select="@title"/>
+            </xsl:when>
+            <xsl:otherwise>
+              <xsl:value-of select="title"/>
+            </xsl:otherwise>
+          </xsl:choose> 
+        </div>
+        <div class="coplet-icons" id="coplet-icons-{$copletId}">
+          <xsl:variable name="copletSize"><xsl:value-of select="coplet-size"/></xsl:variable>
+          <xsl:if test="basket-add-link">
+            <div class="coplet-icon basket-add-link" id="coplet-icon-basket-add-link-{$copletId}">
+              <a href="{basket-add-link}">
+                <img src="images/basket.gif" border="0" alt="Add Link"/>
+              </a>
+            </div>
+          </xsl:if>
+          <xsl:if test="basket-add-content">
+            <div class="coplet-icon basket-add-content" id="coplet-icon-basket-add-content-{$copletId}">
+              <a href="{basket-add-content}">
+                <img src="images/basket.gif" border="0" alt="Add Content"/>
+              </a>
+            </div>
+          </xsl:if>
+          <xsl:if test="edit-uri">
+            <div class="coplet-icon edit-uri" id="coplet-icon-edit-uri-{$copletId}">
+              <a href="{edit-uri}">
+                <img src="images/edit.gif" border="0" alt="Edit"/>
+              </a>
+            </div>
+          </xsl:if>
+          <xsl:if test="help-uri">
+            <div class="coplet-icon help-uri" id="coplet-icon-help-uri-{$copletId}">
+              <a href="{help-uri}">
+                <img src="images/help.gif" border="0" alt="Help"/>
+              </a>
+            </div>
+          </xsl:if>
+          <xsl:if test="view-uri">
+            <div class="coplet-icon view-uri" id="coplet-icon-view-uri-{$copletId}">
+              <a href="{view-uri}">
+                <img src="images/view.gif" border="0" alt="View"/>
+              </a>
+            </div>
+          </xsl:if>
+          <xsl:if test="fullscreen-uri and not(normal-uri)">
+            <div class="coplet-icon fullscreen-uri" id="coplet-icon-fullscreen-uri-{$copletId}">
+              <a href="{fullscreen-uri}">
+                <img src="images/customize.gif" border="0" alt="Full Screen"/>
+              </a>
+            </div>
+          </xsl:if>
+          <xsl:if test="maximize-uri">
+            <div class="coplet-icon maximize-uri" id="coplet-icon-maximize-uri-{$copletId}">
+              <a href="{maximize-uri}">
+                <img src="images/show.gif" border="0" alt="Maximize"/>
+              </a>
+            </div>
+          </xsl:if>
+          <xsl:if test="normal-uri">
+            <div class="coplet-icon normal-uri" id="coplet-icon-normal-uri-{$copletId}">
+              <a href="javascript:cocoon.portal.process('{normal-uri}');">
+                <img src="images/maximize.gif" border="0" alt="Normal"/>
+              </a>
+            </div>
+          </xsl:if>
+          <xsl:if test="minimize-uri">
+            <div class="coplet-icon minimize-uri" id="coplet-icon-minimize-uri-{$copletId}">
+              <a href="javascript:cocoon.portal.process('{minimize-uri}');">
+                <img src="images/minimize.gif" border="0" alt="Minimize"/>
+              </a>
+            </div>
+          </xsl:if>
+          <xsl:if test="remove-uri">
+            <div class="coplet-icon remove-uri" id="coplet-icon-remove-uri-{$copletId}">
+              <a href="{remove-uri}">
+                <img src="images/delete.gif" border="0" alt="Delete"/>
+              </a>
+            </div>
+          </xsl:if>
+        </div>
+      </div>
+      <div class="coplet-content" id="coplet-content-{$copletId}">
+        <xsl:apply-templates select="content"/>
+      </div>
+    </div>
+  </xsl:template>
+
+  <!-- This is the content of the coplet. We just remove the surrounding tag. -->
+  <xsl:template match="content">
+    <xsl:copy-of select="*"/>
+  </xsl:template>
+
+  <!-- Copy all and apply templates -->
+  <xsl:template match="@*|node()">
+    <xsl:copy><xsl:apply-templates select="@*|node()" /></xsl:copy>
+  </xsl:template>
+
+</xsl:stylesheet>

Propchange: cocoon/blocks/portal-sample/trunk/samples/skins/modern/styles/window.xsl
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: cocoon/blocks/portal-sample/trunk/samples/skins/modern/styles/window.xsl
------------------------------------------------------------------------------
    svn:keywords = Id



Mime
View raw message