Author: chanaka
Date: Mon Dec 3 05:10:18 2007
New Revision: 10432
Log:
error and info messages fixed
Added:
trunk/solutions/identity/modules/user-ui/src/main/webapp/images/error-message.jpg
(contents, props changed)
trunk/solutions/identity/modules/user-ui/src/main/webapp/images/info-message.jpg
(contents, props changed)
Modified:
trunk/solutions/identity/modules/user-ui/src/main/webapp/css/styles.css
trunk/solutions/identity/modules/user-ui/src/main/webapp/jsp/login.jsp
trunk/solutions/identity/modules/user-ui/src/main/webapp/jsp/main.jsp
trunk/solutions/identity/modules/user-ui/src/main/webapp/jsp/userregistration.jsp
Modified:
trunk/solutions/identity/modules/user-ui/src/main/webapp/css/styles.css
==============================================================================
--- trunk/solutions/identity/modules/user-ui/src/main/webapp/css/styles.css
(original)
+++ trunk/solutions/identity/modules/user-ui/src/main/webapp/css/styles.css
Mon Dec 3 05:10:18 2007
@@ -20,14 +20,18 @@
padding-bottom:10px;
}
h1{
-color:#b22d00;
margin:0px;
padding:0px;
+/*
+color:#b22d00;
text-indent:40px;
background-image:url(../images/icon-title.png);
background-repeat:no-repeat;
background-position:0px 0px;
font-size:14px;
+*/
+font-size:18px;
+color:#454545;
padding-top:5px;
height:42px;
line-height:40px;
@@ -410,4 +414,24 @@
.required {
color: red;
padding-right:5px;
+}
+.info-message{
+background-image:url(../images/info-message.jpg);
+background-repeat:no-repeat;
+background-position:0px 0px;
+margin-top:10px;
+padding-left:30px;
+line-height:25px;
+font-size:14px;
+color:#414e6b;
+}
+.error-message{
+background-image:url(../images/error-message.jpg);
+background-repeat:no-repeat;
+background-position:0px 0px;
+margin-top:10px;
+padding-left:30px;
+line-height:20px;
+font-size:14px;
+color:#61180f;
}
\ No newline at end of file
Added:
trunk/solutions/identity/modules/user-ui/src/main/webapp/images/error-message.jpg
==============================================================================
Binary file. No diff available.
Added:
trunk/solutions/identity/modules/user-ui/src/main/webapp/images/info-message.jpg
==============================================================================
Binary file. No diff available.
Modified: trunk/solutions/identity/modules/user-ui/src/main/webapp/jsp/login.jsp
==============================================================================
--- trunk/solutions/identity/modules/user-ui/src/main/webapp/jsp/login.jsp
(original)
+++ trunk/solutions/identity/modules/user-ui/src/main/webapp/jsp/login.jsp
Mon Dec 3 05:10:18 2007
@@ -23,15 +23,16 @@
</table>
<br>
- <h3><font color="#FF0000">IMPORTANT : The identity
provider will be reset periodically.</font></h3>
+
+ <div class="info-message">IMPORTANT : The identity
provider will be reset periodically.</div>
- <s:iterator value="errorMessages">
- <p><font color="#FF0000"><s:property /></font></p>
- </s:iterator>
-
- <s:iterator value="infoMessages">
- <p><font color="#00FF00"><s:property /></font></p>
- </s:iterator>
+ <s:iterator value="errorMessages">
+ <div class="info-message"><s:property /></div>
+ </s:iterator>
+
+ <s:iterator value="infoMessages">
+ <div class="error-message"><s:property /></div>
+ </s:iterator>
<table cellpadding="0" cellspacing="10" border="0"
class="login-header">
<tr>
<td valign="top" width="30%">
Modified: trunk/solutions/identity/modules/user-ui/src/main/webapp/jsp/main.jsp
==============================================================================
--- trunk/solutions/identity/modules/user-ui/src/main/webapp/jsp/main.jsp
(original)
+++ trunk/solutions/identity/modules/user-ui/src/main/webapp/jsp/main.jsp
Mon Dec 3 05:10:18 2007
@@ -32,14 +32,14 @@
<td align="right" valign="top"><img
src="images/wso2-identity-content-rounded.jpg" align="top" /></td>
</tr>
</table>
- <h3><font color="#FF0000">IMPORTANT : The identity
provider will be reset periodically.</font></h3>
+ <div class="info-message">IMPORTANT : The identity
provider will be reset periodically.</div>
<s:iterator value="errorMessages">
- <p><font color="#FF0000"><s:property /></font></p>
+ <div class="info-message"><s:property /></div>
</s:iterator>
- <s:iterator value="infoMessages">
- <p><font color="#00FF00"><s:property /></font></p>
+ <s:iterator value="infoMessages">
+ <div class="info-message"><s:property /></div>
</s:iterator>
<br>
Modified:
trunk/solutions/identity/modules/user-ui/src/main/webapp/jsp/userregistration.jsp
==============================================================================
---
trunk/solutions/identity/modules/user-ui/src/main/webapp/jsp/userregistration.jsp
(original)
+++
trunk/solutions/identity/modules/user-ui/src/main/webapp/jsp/userregistration.jsp
Mon Dec 3 05:10:18 2007
@@ -25,11 +25,11 @@
<br>
<s:iterator value="errorMessages">
- <p><font color="#FF0000"><s:property /></font></p>
+ <div class="error-message"><s:property /></div>
</s:iterator>
<s:iterator value="infoMessages">
- <p><font color="#00FF00"><s:property /></font></p>
+ <div class="info-message"><s:property /></div>
</s:iterator>
<table cellpadding="0" cellspacing="10" border="0"
class="login-header">
_______________________________________________
Identity-dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/identity-dev