cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject svn commit: r345236 - in /cocoon/blocks/portal-sample/trunk/samples/skins/modern/styles: borderless-window.xsl tab.xsl window.xsl
Date Thu, 17 Nov 2005 12:24:21 GMT
Author: cziegeler
Date: Thu Nov 17 04:24:17 2005
New Revision: 345236

URL: http://svn.apache.org/viewcvs?rev=345236&view=rev
Log:
Fix layout problems

Modified:
    cocoon/blocks/portal-sample/trunk/samples/skins/modern/styles/borderless-window.xsl
    cocoon/blocks/portal-sample/trunk/samples/skins/modern/styles/tab.xsl
    cocoon/blocks/portal-sample/trunk/samples/skins/modern/styles/window.xsl

Modified: 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=345236&r1=345235&r2=345236&view=diff
==============================================================================
--- cocoon/blocks/portal-sample/trunk/samples/skins/modern/styles/borderless-window.xsl (original)
+++ cocoon/blocks/portal-sample/trunk/samples/skins/modern/styles/borderless-window.xsl Thu
Nov 17 04:24:17 2005
@@ -22,112 +22,112 @@
     <xsl:variable name="copletId"><xsl:value-of select="instance-id"/></xsl:variable>
     <div class="coplet-borderless" id="coplet-{$copletId}">
       <div class="innerbox">
-      <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 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 and not(normal-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}">
+                <xsl:choose>
+                  <xsl:when test="fullscreen-uri and maximize-uri">
+                    <a href="javascript:cocoon.portal.process('{normal-uri}');">
+                      <img src="images/maximize.gif" border="0" alt="Normal"/>
+                    </a>
+                  </xsl:when>
+                  <xsl:otherwise>
+                    <a href="{normal-uri}">
+                      <img src="images/maximize.gif" border="0" alt="Normal"/>
+                    </a>
+                  </xsl:otherwise>
+                </xsl:choose>
+              </div>
+            </xsl:if>
+            <xsl:if test="minimize-uri">
+              <div class="coplet-icon minimize-uri" id="coplet-icon-minimize-uri-{$copletId}">
+                <xsl:choose>
+                  <xsl:when test="fullscreen-uri and maximize-uri">
+                    <a href="javascript:cocoon.portal.process('{minimize-uri}');">
+                      <img src="images/minimize.gif" border="0" alt="Minimize"/>
+                    </a>
+                  </xsl:when>
+                  <xsl:otherwise>
+                    <a href="{minimize-uri}">
+                      <img src="images/minimize.gif" border="0" alt="Minimize"/>
+                    </a>
+                  </xsl:otherwise>
+                </xsl:choose>
+              </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-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 and not(normal-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}">
-              <xsl:choose>
-                <xsl:when test="fullscreen-uri and maximize-uri">
-                  <a href="javascript:cocoon.portal.process('{normal-uri}');">
-                    <img src="images/maximize.gif" border="0" alt="Normal"/>
-                  </a>
-                </xsl:when>
-                <xsl:otherwise>
-                  <a href="{normal-uri}">
-                    <img src="images/maximize.gif" border="0" alt="Normal"/>
-                  </a>
-                </xsl:otherwise>
-              </xsl:choose>
-            </div>
-          </xsl:if>
-          <xsl:if test="minimize-uri">
-            <div class="coplet-icon minimize-uri" id="coplet-icon-minimize-uri-{$copletId}">
-              <xsl:choose>
-                <xsl:when test="fullscreen-uri and maximize-uri">
-                  <a href="javascript:cocoon.portal.process('{minimize-uri}');">
-                    <img src="images/minimize.gif" border="0" alt="Minimize"/>
-                  </a>
-                </xsl:when>
-                <xsl:otherwise>
-                  <a href="{minimize-uri}">
-                    <img src="images/minimize.gif" border="0" alt="Minimize"/>
-                  </a>
-                </xsl:otherwise>
-              </xsl:choose>
-            </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 class="coplet-content" id="coplet-content-{$copletId}">
+          <xsl:apply-templates select="content"/>
         </div>
-        </div>
-      </div>
-      <div class="coplet-content" id="coplet-content-{$copletId}">
-        <xsl:apply-templates select="content"/>
       </div>
     </div>
   </xsl:template>

Modified: 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=345236&r1=345235&r2=345236&view=diff
==============================================================================
--- cocoon/blocks/portal-sample/trunk/samples/skins/modern/styles/tab.xsl (original)
+++ cocoon/blocks/portal-sample/trunk/samples/skins/modern/styles/tab.xsl Thu Nov 17 04:24:17
2005
@@ -25,7 +25,7 @@
         <xsl:for-each select="named-item">
           <xsl:choose>
             <xsl:when test="@selected">
-              <li class="tab-selected"><xsl:value-of select="@name"/></li>
+              <li class="tab-selected"><a href="#"><xsl:value-of select="@name"/></a></li>
             </xsl:when>
             <xsl:otherwise>
               <li class="tab"><a href="{@parameter}"><xsl:value-of select="@name"/></a></li>

Modified: 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=345236&r1=345235&r2=345236&view=diff
==============================================================================
--- cocoon/blocks/portal-sample/trunk/samples/skins/modern/styles/window.xsl (original)
+++ cocoon/blocks/portal-sample/trunk/samples/skins/modern/styles/window.xsl Thu Nov 17 04:24:17
2005
@@ -22,113 +22,112 @@
     <xsl:variable name="copletId"><xsl:value-of select="instance-id"/></xsl:variable>
     <div class="coplet" id="coplet-{$copletId}">
       <div class="innerbox">
-      <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 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 and not(normal-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}">
+                <xsl:choose>
+                  <xsl:when test="fullscreen-uri and maximize-uri">
+                    <a href="javascript:cocoon.portal.process('{normal-uri}');">
+                      <img src="images/maximize.gif" border="0" alt="Normal"/>
+                    </a>
+                  </xsl:when>
+                  <xsl:otherwise>
+                    <a href="{normal-uri}">
+                      <img src="images/maximize.gif" border="0" alt="Normal"/>
+                    </a>
+                  </xsl:otherwise>
+                </xsl:choose>
+              </div>
+            </xsl:if>
+            <xsl:if test="minimize-uri">
+              <div class="coplet-icon minimize-uri" id="coplet-icon-minimize-uri-{$copletId}">
+                <xsl:choose>
+                  <xsl:when test="fullscreen-uri and maximize-uri">
+                    <a href="javascript:cocoon.portal.process('{minimize-uri}');">
+                      <img src="images/minimize.gif" border="0" alt="Minimize"/>
+                    </a>
+                  </xsl:when>
+                  <xsl:otherwise>
+                    <a href="{minimize-uri}">
+                      <img src="images/minimize.gif" border="0" alt="Minimize"/>
+                    </a>
+                  </xsl:otherwise>
+                </xsl:choose>
+              </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-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 and not(normal-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}">
-              <xsl:choose>
-                <xsl:when test="fullscreen-uri and maximize-uri">
-                  <a href="javascript:cocoon.portal.process('{normal-uri}');">
-                    <img src="images/maximize.gif" border="0" alt="Normal"/>
-                  </a>
-                </xsl:when>
-                <xsl:otherwise>
-                  <a href="{normal-uri}">
-                    <img src="images/maximize.gif" border="0" alt="Normal"/>
-                  </a>
-                </xsl:otherwise>
-              </xsl:choose>
-            </div>
-          </xsl:if>
-          <xsl:if test="minimize-uri">
-            <div class="coplet-icon minimize-uri" id="coplet-icon-minimize-uri-{$copletId}">
-              <xsl:choose>
-                <xsl:when test="fullscreen-uri and maximize-uri">
-                  <a href="javascript:cocoon.portal.process('{minimize-uri}');">
-                    <img src="images/minimize.gif" border="0" alt="Minimize"/>
-                  </a>
-                </xsl:when>
-                <xsl:otherwise>
-                  <a href="{minimize-uri}">
-                    <img src="images/minimize.gif" border="0" alt="Minimize"/>
-                  </a>
-                </xsl:otherwise>
-              </xsl:choose>
-            </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 class="coplet-content" id="coplet-content-{$copletId}">
+          <xsl:apply-templates select="content"/>
         </div>
-        </div>
-      </div>
-      <div class="coplet-content" id="coplet-content-{$copletId}">
-        <xsl:apply-templates select="content"/>
       </div>
     </div>
   </xsl:template>



Mime
View raw message