Author: prabath
Date: Tue Dec 11 03:05:56 2007
New Revision: 10951

Log:

OpenID related UIs

Added:
   
branches/solutions/identity/openid-poc/modules/user-ui/src/main/webapp/jsp/openidlogin.jsp
   
branches/solutions/identity/openid-poc/modules/user-ui/src/main/webapp/jsp/openidregistration.jsp
   
branches/solutions/identity/openid-poc/modules/user-ui/src/main/webapp/jsp/openiduserloggedin.jsp

Added: 
branches/solutions/identity/openid-poc/modules/user-ui/src/main/webapp/jsp/openidlogin.jsp
==============================================================================
--- (empty file)
+++ 
branches/solutions/identity/openid-poc/modules/user-ui/src/main/webapp/jsp/openidlogin.jsp
  Tue Dec 11 03:05:56 2007
@@ -0,0 +1,59 @@
+<%@ taglib prefix="s" uri="/struts-tags"%>
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" 
+"http://www.w3.org/TR/html4/strict.dtd";>
+<html>
+<head>
+<title>WSO2 Identity Solution</title>
+<link type="text/css" rel="stylesheet" href="css/styles.css" />
+</head>
+<body>
+<!-- Include the header -->
+<s:include value="header.jsp" />
+
+<table cellpadding="0" cellspacing="0" border="0" style="width: 100%;">
+       <tr>
+               <td class="right-back"></td>
+               <td class="content" valign="top">
+               <table cellpadding="0" cellspacing="0" border="0" style="width: 
100%;">
+                       <tr>
+                               <td>
+                               <h1>WSO2 Identity Provider</h1>
+                               </td>
+                               <td align="right" valign="top"><img
+                                       
src="images/wso2-identity-content-rounded.jpg" align="top" /></td>
+                       </tr>
+               </table>
+
+               <br>
+               <table cellpadding="0" cellspacing="10" border="0"
+                       class="login-header">
+                       <tr>
+                               <td valign="top" width="30%"><strong>Login with 
you
+                               OpenID url</strong> <s:form 
action="OpenIdSubmit.action" theme="simple"
+                                       method="POST">
+                                       <div class="errors"><s:actionerror /> 
<s:fielderror /></div>
+                                       <table cellpadding="0" cellspacing="10" 
border="0">
+                                               <tr>
+                                                       <td 
valign="top">OpenID</td>
+                                                       <td><s:textfield 
name="openIdUrl" label="openIdUrl"
+                                                               
cssClass="text-box-normal" /></td>
+                                               </tr>
+                                               <tr>
+                                                       <td 
valign="top"><s:submit value="Login" align="left"
+                                                               
cssClass="button" /></td>
+                                               </tr>
+                                       </table>
+                               </s:form></td>
+                       </tr>
+
+               </table>
+               </td>
+       </tr>
+</table>
+
+<!-- Include footer -->
+<s:include value="footer.jsp" />
+
+</body>
+
+</html>
\ No newline at end of file

Added: 
branches/solutions/identity/openid-poc/modules/user-ui/src/main/webapp/jsp/openidregistration.jsp
==============================================================================
--- (empty file)
+++ 
branches/solutions/identity/openid-poc/modules/user-ui/src/main/webapp/jsp/openidregistration.jsp
   Tue Dec 11 03:05:56 2007
@@ -0,0 +1,80 @@
+<%@ taglib prefix="s" uri="/struts-tags"%>
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" 
+"http://www.w3.org/TR/html4/strict.dtd";>
+<html>
+<head>
+<title>WSO2 Identity Solution</title>
+<link type="text/css" rel="stylesheet" href="css/styles.css" />
+</head>
+<body>
+<!-- Include the header -->
+<s:include value="header.jsp" />
+
+<table cellpadding="0" cellspacing="0" border="0" style="width: 100%;">
+       <tr>
+               <td class="right-back"></td>
+               <td class="content" valign="top">
+               <table cellpadding="0" cellspacing="0" border="0" style="width: 
100%;">
+                       <tr>
+                               <td>
+                               <h1>WSO2 Identity Provider</h1>
+                               </td>
+                               <td align="right" valign="top"><img
+                                       
src="images/wso2-identity-content-rounded.jpg" align="top" /></td>
+                       </tr>
+               </table>
+
+               <br>
+
+               <table cellpadding="0" cellspacing="10" border="0"
+                       class="login-header">
+                       <tr>
+                               <td valign="top" width="30%">
+                               <form 
action="OpenIdUserRegistrationSubmit.action" method="post">
+                               <strong>Register with WSO2 OpenID 
provider</strong><br />
+                               <!--todo -->
+                               <div class="errors"><s:actionerror /> 
<s:fielderror /></div>
+                               <i>All fields are required</i>
+                               <table cellpadding="0" cellspacing="10" 
border="0"
+                                       class="form-table">
+                                       <tr>
+                                               <td>User name</td>
+                                               <td><font 
class="required">*</font><input type="text"
+                                                       name="username"></td>
+                                       </tr>
+                                       <tr>
+                                               <td>Password</td>
+                                               <td><font 
class="required">*</font><input type="password"
+                                                       name="password"></td>
+                                       </tr>
+
+                                       <s:iterator value="claims">
+                                               <tr>
+                                                       <td><s:property 
value="displayTag" /></td>
+                                                       <td><font 
class="required">*</font><input type="text"
+                                                               
name="<s:property value="uri" />"></td>
+                                               </tr>
+                                       </s:iterator>
+
+                                       <tr>
+                                               <td></td>
+                                               <td><input type="submit" 
value="Submit" class="button">
+                                               <input type="button" 
value="Cancel"
+                                                       
onClick="javascript:window.location = 'ShowMain.action'"
+                                                       class="button"></td>
+                                       </tr>
+                               </table>
+                               </form>
+                               </td>
+                       </tr>
+               </table>
+               </td>
+       </tr>
+</table>
+
+<!-- Include footer -->
+<s:include value="footer.jsp" />
+
+</body>
+
+</html>
\ No newline at end of file

Added: 
branches/solutions/identity/openid-poc/modules/user-ui/src/main/webapp/jsp/openiduserloggedin.jsp
==============================================================================
--- (empty file)
+++ 
branches/solutions/identity/openid-poc/modules/user-ui/src/main/webapp/jsp/openiduserloggedin.jsp
   Tue Dec 11 03:05:56 2007
@@ -0,0 +1,100 @@
+<%@ taglib prefix="s" uri="/struts-tags"%>
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" 
+"http://www.w3.org/TR/html4/strict.dtd";>
+<html>
+<head>
+<title>WSO2 Identity Solution</title>
+<link type="text/css" rel="stylesheet" href="css/styles.css" />
+</head>
+<body>
+<!-- Include the header -->
+<s:include value="header.jsp" />
+
+<table cellpadding="0" cellspacing="0" border="0" style="width: 100%;">
+       <tr>
+               <td class="right-back"></td>
+               <td class="content" valign="top">
+               <table cellpadding="0" cellspacing="0" border="0" style="width: 
100%;">
+                       <tr>
+                               <td>
+                               <h1>WSO2 Identity Provider</h1>
+                               </td>
+                               <td align="right" valign="top"><img
+                                       
src="images/wso2-identity-content-rounded.jpg" align="top" /></td>
+                       </tr>
+               </table>
+
+               <br>
+
+               <table cellpadding="0" cellspacing="10" border="0"
+                       class="login-header">
+                       <tr>
+                               <td valign="top" width="30%"><strong>Logged in
+                               Successfully...!</strong><br />
+                               <!--todo --></td>
+                       </tr>
+                       <% if (request.getAttribute("nickname") != null) { %>
+                       <tr>
+                               <td>Nick Name:</td>
+                               <td><%=request.getAttribute("nickname")%></td>
+                       </tr>
+                       <%}%>
+                       <% if (request.getAttribute("fullname") != null) { %>
+                       <tr>
+                               <td>Full Name:</td>
+                               <td><%=request.getAttribute("fullname")%></td>
+                       </tr>
+                       <%}%>
+                       <% if (request.getAttribute("email") != null) { %>
+                       <tr>
+                               <td>Email Address:</td>
+                               <td><%=request.getAttribute("email")%></td>
+                       </tr>
+                       <%}%>
+                       <% if (request.getAttribute("dob") != null) { %>
+                       <tr>
+                               <td>DOB:</td>
+                               <td><%=request.getAttribute("dob")%></td>
+                       </tr>
+                       <%}%>
+                       <% if (request.getAttribute("gender") != null) { %>
+                       <tr>
+                               <td>Gender:</td>
+                               <td><%=request.getAttribute("gender")%></td>
+                       </tr>
+                       <%}%>
+                       <% if (request.getAttribute("postcode") != null) { %>
+                       <tr>
+                               <td>Postcode:</td>
+                               <td><%=request.getAttribute("postcode")%></td>
+                       </tr>
+                       <%}%>
+                       <% if (request.getAttribute("country") != null) { %>
+                       <tr>
+                               <td>Country:</td>
+                               <td><%=request.getAttribute("country")%></td>
+                       </tr>
+                       <%}%>
+                       <% if (request.getAttribute("language") != null) { %>
+                       <tr>
+                               <td>Language:</td>
+                               <td><%=request.getAttribute("language")%></td>
+                       </tr>
+                       <%}%>
+                       <% if (request.getAttribute("timezone") != null) { %>
+                       <tr>
+                               <td>Timezone:</td>
+                               <td><%=request.getAttribute("timezone")%></td>
+                       </tr>
+                       <%}%>
+               </table>
+               </td>
+       </tr>
+</table>
+
+<!-- Include footer -->
+<s:include value="footer.jsp" />
+
+</body>
+
+</html>
\ No newline at end of file

_______________________________________________
Identity-dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/identity-dev

Reply via email to