You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by jo...@apache.org on 2004/01/22 17:03:17 UTC
cvs commit: cocoon-2.1/src/blocks/woody/samples/resources woody-field-styling.xsl woody.css
joerg 2004/01/22 08:03:17
Modified: src/blocks/woody/samples/resources woody-field-styling.xsl
woody.css
Log:
made the CSS style names more consistent
Revision Changes Path
1.33 +4 -4 cocoon-2.1/src/blocks/woody/samples/resources/woody-field-styling.xsl
Index: woody-field-styling.xsl
===================================================================
RCS file: /home/cvs/cocoon-2.1/src/blocks/woody/samples/resources/woody-field-styling.xsl,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -r1.32 -r1.33
--- woody-field-styling.xsl 22 Jan 2004 15:34:01 -0000 1.32
+++ woody-field-styling.xsl 22 Jan 2004 16:03:17 -0000 1.33
@@ -109,7 +109,7 @@
|
+-->
<xsl:template match="wi:validation-message">
- <a href="#" class="woody-validation-message-indicator" onclick="alert('{normalize-space(.)}');return false;"> ! </a>
+ <a href="#" class="woody-validation-message" onclick="alert('{normalize-space(.)}');return false;"> ! </a>
</xsl:template>
<!--+
@@ -457,7 +457,7 @@
<xsl:copy-of select="header"/>
</xsl:when>
<xsl:otherwise>
- <p class="validation-errors">The following errors have been detected (marked with !):</p>
+ <p class="woody-validation-errors">The following errors have been detected (marked with !):</p>
</xsl:otherwise>
</xsl:choose>
</xsl:variable>
@@ -467,7 +467,7 @@
<xsl:copy-of select="footer"/>
</xsl:when>
<xsl:otherwise>
- <p class="validation-errors">Please, correct them and re-submit the form.</p>
+ <p class="woody-validation-errors">Please, correct them and re-submit the form.</p>
</xsl:otherwise>
</xsl:choose>
</xsl:variable>
@@ -476,7 +476,7 @@
<xsl:copy-of select="$header"/>
<ul>
<xsl:for-each select="$frm//wi:validation-message">
- <li class="validation-error">
+ <li class="woody-validation-error">
<xsl:if test="../wi:label">
<xsl:value-of select="../wi:label"/><xsl:text>: </xsl:text>
</xsl:if>
1.7 +7 -1 cocoon-2.1/src/blocks/woody/samples/resources/woody.css
Index: woody.css
===================================================================
RCS file: /home/cvs/cocoon-2.1/src/blocks/woody/samples/resources/woody.css,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- woody.css 21 Nov 2003 20:12:55 -0000 1.6
+++ woody.css 22 Jan 2004 16:03:17 -0000 1.7
@@ -26,9 +26,15 @@
z-index: 2;
}
-.woody-validation-message-indicator:link {
+.woody-validation-message {
color: red;
font-weight: bold;
+}
+
+.woody-validation-errors {
+}
+
+.woody-validation-error {
}
.woody-field-required {