continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eveni...@apache.org
Subject svn commit: r366218 - in /maven/continuum/trunk/continuum-webapp/src/main: resources/template/default/controlheader.vm webapp/css/tigris.css webapp/login.jsp
Date Thu, 05 Jan 2006 16:49:33 GMT
Author: evenisse
Date: Thu Jan  5 08:49:29 2006
New Revision: 366218

URL: http://svn.apache.org/viewcvs?rev=366218&view=rev
Log:
Fix error rendering

Modified:
    maven/continuum/trunk/continuum-webapp/src/main/resources/template/default/controlheader.vm
    maven/continuum/trunk/continuum-webapp/src/main/webapp/css/tigris.css
    maven/continuum/trunk/continuum-webapp/src/main/webapp/login.jsp

Modified: maven/continuum/trunk/continuum-webapp/src/main/resources/template/default/controlheader.vm
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-webapp/src/main/resources/template/default/controlheader.vm?rev=366218&r1=366217&r2=366218&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-webapp/src/main/resources/template/default/controlheader.vm
(original)
+++ maven/continuum/trunk/continuum-webapp/src/main/resources/template/default/controlheader.vm
Thu Jan  5 08:49:29 2006
@@ -3,8 +3,8 @@
 #if( $fieldErrors.get($parameters.name) )
   #set ($hasFieldErrors = $fieldErrors.get($parameters.name))
   #foreach ($error in $fieldErrors.get($parameters.name))
-    <tr errorFor="$parameters.id">
-        #if ($parameters.labelposition == 'top')<td align="left" valign="top" colspan="2">#else<td
align="center" valign="top" colspan="2">#end<span class="errorMessage">$!webwork.htmlEncode($error)</span></td>
+    <tr class="b" errorFor="$parameters.id">
+        <th>&nbsp;</th><td><span class="fieldError">$!webwork.htmlEncode($error)</span></td>
     </tr>
   #end
 #end

Modified: maven/continuum/trunk/continuum-webapp/src/main/webapp/css/tigris.css
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-webapp/src/main/webapp/css/tigris.css?rev=366218&r1=366217&r2=366218&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-webapp/src/main/webapp/css/tigris.css (original)
+++ maven/continuum/trunk/continuum-webapp/src/main/webapp/css/tigris.css Thu Jan  5 08:49:29
2006
@@ -2,7 +2,7 @@
 	
 	This file defines basic default formatting for HTML conforming to Tigris application style.
To extend or override these rules for your instance, edit inst.css instead of this file. */
 
-.errorMessage {font-weight:bold; text-align: center; color:red; }
+.fieldError {font-weight:bold; color:red; }
 .required {color:red;}
 
 /* colors, backgrounds, borders, link indication */

Modified: maven/continuum/trunk/continuum-webapp/src/main/webapp/login.jsp
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-webapp/src/main/webapp/login.jsp?rev=366218&r1=366217&r2=366218&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-webapp/src/main/webapp/login.jsp (original)
+++ maven/continuum/trunk/continuum-webapp/src/main/webapp/login.jsp Thu Jan  5 08:49:29 2006
@@ -8,11 +8,13 @@
     <body>
       <div id="axial" class="h3">
         <h3><ww:text name="login.section.title"/></h3>
+        <div class="axial">
         <ww:form action="login" method="post">
             <ww:textfield label="%{getText('login.username')}" name="username" required="true"/>
             <ww:password label="%{getText('login.password')}" name="password" required="true"/>
             <c1:submitcancel value="%{getText('login.submit')}" cancel="%{getText('cancel')}"/>
         </ww:form>
+        </div>
       </div>
     </body>
   </ww:i18n>



Mime
View raw message