You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by gr...@apache.org on 2004/03/11 19:30:07 UTC

cvs commit: cocoon-lenya/src/webapp/lenya/xslt/authoring/edit form-layout.xsl

gregor      2004/03/11 10:30:07

  Modified:    src/webapp/lenya/xslt/authoring/edit form-layout.xsl
  Log:
  form editor layout improvements. thanks to jan forrer for the patch.
  
  Revision  Changes    Path
  1.14      +5 -5      cocoon-lenya/src/webapp/lenya/xslt/authoring/edit/form-layout.xsl
  
  Index: form-layout.xsl
  ===================================================================
  RCS file: /home/cvs/cocoon-lenya/src/webapp/lenya/xslt/authoring/edit/form-layout.xsl,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -r1.13 -r1.14
  --- form-layout.xsl	4 Feb 2004 10:50:20 -0000	1.13
  +++ form-layout.xsl	11 Mar 2004 18:30:07 -0000	1.14
  @@ -91,14 +91,14 @@
   
   <xsl:template match="node" mode="nodes">
   <tr>
  -  <td valign="top"><xsl:apply-templates select="action"/><xsl:if test="not(action)">&#160;</xsl:if><xsl:apply-templates select="@select"/></td>
  +  <td valign="top" style="background-color: #BFBFA2"><xsl:apply-templates select="action"/><xsl:if test="not(action)">&#160;</xsl:if><xsl:apply-templates select="@select"/></td>
     <xsl:choose>
       <xsl:when test="content">
  -      <td valign="top"><xsl:apply-templates select="@name"/></td>
  +      <td valign="top" style="background-color:#DCDBBF"><xsl:apply-templates select="@name"/></td>
         <td valign="top"><xsl:apply-templates select="content"/></td>
       </xsl:when>
       <xsl:otherwise>
  -      <td colspan="2" valign="top"><xsl:apply-templates select="@name"/></td>
  +      <td colspan="2" valign="top" style="background-color:#DCDBBF"><xsl:apply-templates select="@name"/></td>
       </xsl:otherwise>
     </xsl:choose>
   </tr>
  @@ -106,8 +106,8 @@
   
   <xsl:template match="insert-after" mode="nodes">
       <tr>
  -      <td><input type="submit" value="INSERT" name="insert-after"/></td>
  -      <td colspan="2">
  +      <td style="background-color: #BFBFA2"><input type="submit" value="INSERT" name="insert-after"/></td>
  +      <td colspan="2" style="background-color: #DCDBBF">
           <select name="&lt;xupdate:insert-after select=&quot;{@select}&quot;/&gt;" size="1">
               <option value="null">Choose element ...</option>
             <xsl:for-each select="element">
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-cvs-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-cvs-help@cocoon.apache.org