Author: prabath Date: Thu Jan 24 05:18:34 2008 New Revision: 12834 Log:
UI related modifications Modified: trunk/solutions/identity/modules/user-ui/src/main/webapp/jsp/openiduserloggedin.jsp Modified: trunk/solutions/identity/modules/user-ui/src/main/webapp/jsp/openiduserloggedin.jsp ============================================================================== --- trunk/solutions/identity/modules/user-ui/src/main/webapp/jsp/openiduserloggedin.jsp (original) +++ trunk/solutions/identity/modules/user-ui/src/main/webapp/jsp/openiduserloggedin.jsp Thu Jan 24 05:18:34 2008 @@ -1,4 +1,8 @@ <%@ taglib prefix="s" uri="/struts-tags"%> +<[EMAIL PROTECTED] + import="org.wso2.solutions.identity.relyingparty.TokenVerifierConstants"%> +<[EMAIL PROTECTED] import="org.wso2.solutions.identity.relyingparty.HTMLEncoder"%> +<[EMAIL PROTECTED] import="org.wso2.solutions.identity.IdentityConstants"%> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> @@ -10,6 +14,7 @@ <!-- Include the header --> <s:include value="header.jsp" /> + <table cellpadding="0" cellspacing="0" border="0" style="width: 100%;"> <tr> <td class="right-back"></td> @@ -26,6 +31,10 @@ <br> + <% +String auth = (String)request.getAttribute(TokenVerifierConstants.SERVLET_ATTR_STATE); +if(auth != null && TokenVerifierConstants.STATE_SUCCESS.equals(auth)) { +%> <table cellpadding="0" cellspacing="10" border="0" class="login-header"> <tr> @@ -100,12 +109,22 @@ </tr> <%}%> <tr> - <td colspan="2"> - <br/> <br/> - <a href="/ShowMain.action">Take me to the main page...</a> - </td> + <td colspan="2"><br /> + <br /> + <a href="/ShowMain.action">Take me to the main page...</a></td> + </tr> + </table> + <% + } else { + %> + <table cellpadding="0" cellspacing="10" border="0" + class="login-header"> + <tr> + <td valign="top" width="30%"><strong>Login failed...!</strong><br /> + </td> </tr> </table> + <%}%> </td> </tr> </table> _______________________________________________ Identity-dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/identity-dev
