Author: jonathan
Date: Sun Jul 20 21:40:02 2008
New Revision: 19704
URL: http://wso2.org/svn/browse/wso2?view=rev&revision=19704

Log:
MASHUP-1012: Removed unnecessary table.

Modified:
   trunk/mashup/java/modules/www/signin.jsp

Modified: trunk/mashup/java/modules/www/signin.jsp
URL: 
http://wso2.org/svn/browse/wso2/trunk/mashup/java/modules/www/signin.jsp?rev=19704&r1=19703&r2=19704&view=diff
==============================================================================
--- trunk/mashup/java/modules/www/signin.jsp    (original)
+++ trunk/mashup/java/modules/www/signin.jsp    Sun Jul 20 21:40:02 2008
@@ -183,125 +183,120 @@
 <%@ include file="header.jsp" %>
 <div id="search"></div>
 <div id="content">
-<table width="100%" height="400" border="0" cellspacing="0" cellpadding="5">
-<tr>
-    <td valign="top"><br/><br/>
-            <table width="675" border="0" cellpadding="3" cellspacing="0"
-                   class="box" align="center">
-                <tr>
-                    <th width="35%">Sign-in to <%= 
bundle.getString("main.title")%>
-                    </th>
-                    <th width="27%">Use OpenID to Sign-in</th>
-                    <th width="38%" nowrap="nowrap">Use InfoCard to 
Sign-in</th>
-                </tr>
-                <tr>
-                    <td height="175">
-                        <form id="Login" onsubmit="return true;" method="post">
-                            <input type="hidden" name="firsttime" 
value="false"/>
-                            <input type="hidden" name="bounceback" 
value="<%=bounceback%>"/>
-                            <input type="hidden" id="rememberme" 
name="rememberme" value="false"/>
-                            <input type="hidden" id="remembermeforever" 
name="remembermeforever"
-                                   value="false"/>
-                            <br/>
-                        <% if (!success) { %>
-                        <div class="error">Invalid user or password. Please 
try again.
-                        </div>
-                        <% } %>
-                        <label style="margin-right:2px; "><strong>User
-                            Name:</strong></label><input
-                            type="text" name="userName"
-                            value="<% if (!success) out.println(nameProvided); 
%>"
-                            id="userName"/>
-                        <script type="text/javascript">
-                            Field.focus('userName');
-                        </script>
-                        <div style="margin-top:2px;"></div>
-                        <label style="margin-right:10px; 
"><strong>Password:</strong></label><input
-                            type="password" name="password" id="password"/>
-                        <div style="margin-top:5px;"><input
-                                type="submit"
-                                id="signin"
-                                value="Sign in"/>
-                        </div>
-                        </form>
-                    </td>
-                    <td valign="top">
-                        <form name="openidsignin" id="openidsignin" 
method="post" action="openidsubmit.jsp">
-                            <img src="images/openid-logo.jpg" border="0"><br/>
-                            Enter Your OpenID Url:<br/>
-                            <input type="text" class="openid-url" 
name="openid_identifier" value="<%= MashupConstants.OPENID_URL_PREFIX %>"/>
-                            <input type="hidden" id="<%= 
MashupConstants.REMEMBER_OPENID %>" name="<%= MashupConstants.REMEMBER_OPENID 
%>" value="false"/>
-                            <input type="hidden" id="<%= 
MashupConstants.REMEMBER_OPENID_FOREVER %>" name="<%= 
MashupConstants.REMEMBER_OPENID_FOREVER %>" value="false"/>
-                            <input type="hidden" name="calledfrom" 
value="signin"/>
-                            <input type="hidden" name="bounceback" value="<%= 
bounceback %>"/>
-                            <img src="images/blank.gif" width="10" 
height="20"/>
-                            <input type="submit" name="submit" value="Login" />
-                        </form>
-                        <br/>
-                        <br/>
-                    </td>
-                    <td valign="top">
-                        <a 
href="infocard.jsp?bounceback=<%=URLEncoder.encode(bounceback,"UTF-8")%>"><img
-                                src="images/infocard_92x64.png" border="0"></a>
-                        <br/><br/>
-                        Sign-in using your<br/>personal or 
managed<br/>InfoCard.
-                        <br/>
-                        <br/>
-                    </td>
-                </tr>
-                <tr>
-                    <td colspan="2">
-                        <div style="width:100%;"><input
-                                type="checkbox" id="chkRemember"
-                                onclick="setRememberMe();"><label
-                                style="text-align: left; ">
-                            Remember me on this computer</label><br><br></div>
-                        <%
-                            ServerConfiguration serverConfig =
-                                    ServerConfiguration.getInstance();
-                            String rememberPeriod = 
serverConfig.getFirstProperty(
-                                    MashupConstants.SESSION_MANAGEMENT + "." +
-                                            
MashupConstants.REMEMBER_ME_PERIOD);
-                            int numDays = 0;
-                            int longerExpDays = 60 * 60 * 24 * 365 * 2; //2 
years
-                            try {
-                                numDays = Integer.parseInt(rememberPeriod);
-                            } catch (NumberFormatException e) {
-                            }
-                            if ((MashupUtils.isFromLocalHost(request)) &&
-                                    (numDays <= longerExpDays)) {
-                        %>
-                        <div style="width:100%;"><input
-                                type="checkbox" id="chkRememberForever"
-                                onclick="setRememberMeForever();"><label
-                                style="text-align: left; ">
-                            If you chose to remember your login information, 
it will be
-                            stored for <%=numDays%> days. However, since you 
are signing
-                            in from local host, you can choose to remember 
your login
-                            indefinetely by checking this box. 
</label><br><br></div>
-                        <%
-                            }
-                        %>
-                    </td>
-                    <td>&nbsp;</td>
-                </tr>
-                <tr>
-                    <td align="left">
-                        <a 
href="reset_password.jsp?firstcall=true&bounceback=<%=URLEncoder.encode(bounceback,"UTF-8")%>">Forgot
-                            Password?</a>
-                    </td>
-                    <td colspan="2">
-                        <a href="http://wso2.org/projects/solutions/identity"; 
target="_blank"><img src="images/powered_identity.gif"
-                                                border="0"></a>
+    <br/><br/>
+    <table width="725" border="0" cellpadding="3" cellspacing="0"
+           class="box" align="center">
+        <tr>
+            <th width="35%">Sign-in to <%= bundle.getString("main.title")%>
+            </th>
+            <th width="27%">Use OpenID to Sign-in</th>
+            <th width="38%" nowrap="nowrap">Use InfoCard to Sign-in</th>
+        </tr>
+        <tr>
+            <td height="160">
+                <form id="Login" onsubmit="return true;" method="post">
+                    <input type="hidden" name="firsttime" value="false"/>
+                    <input type="hidden" name="bounceback" 
value="<%=bounceback%>"/>
+                    <input type="hidden" id="rememberme" name="rememberme" 
value="false"/>
+                    <input type="hidden" id="remembermeforever" 
name="remembermeforever"
+                           value="false"/>
+                    <br/>
+                <% if (!success) { %>
+                <div class="error">Invalid user or password. Please try again.
+                </div>
+                <% } %>
+                <label style="margin-right:2px; "><strong>User
+                    Name:</strong></label><input
+                    type="text" name="userName"
+                    value="<% if (!success) out.println(nameProvided); %>"
+                    id="userName"/>
+                <script type="text/javascript">
+                    Field.focus('userName');
+                </script>
+                <div style="margin-top:2px;"></div>
+                <label style="margin-right:10px; 
"><strong>Password:</strong></label><input
+                    type="password" name="password" id="password"/>
+                <div style="margin-top:5px;"><input
+                        type="submit"
+                        id="signin"
+                        value="Sign in"/>
+                </div>
+                </form>
+            </td>
+            <td valign="top">
+                <form name="openidsignin" id="openidsignin" method="post" 
action="openidsubmit.jsp">
+                    <img src="images/openid-logo.jpg" border="0"><br/>
+                    Enter Your OpenID Url:<br/>
+                    <input type="text" class="openid-url" 
name="openid_identifier" value="<%= MashupConstants.OPENID_URL_PREFIX %>"/>
+                    <input type="hidden" id="<%= 
MashupConstants.REMEMBER_OPENID %>" name="<%= MashupConstants.REMEMBER_OPENID 
%>" value="false"/>
+                    <input type="hidden" id="<%= 
MashupConstants.REMEMBER_OPENID_FOREVER %>" name="<%= 
MashupConstants.REMEMBER_OPENID_FOREVER %>" value="false"/>
+                    <input type="hidden" name="calledfrom" value="signin"/>
+                    <input type="hidden" name="bounceback" value="<%= 
bounceback %>"/>
+                    <img src="images/blank.gif" width="10" height="20"/>
+                    <input type="submit" name="submit" value="Login" />
+                </form>
+                <br/>
+                <br/>
+            </td>
+            <td valign="top">
+                <a 
href="infocard.jsp?bounceback=<%=URLEncoder.encode(bounceback,"UTF-8")%>"><img
+                        src="images/infocard_92x64.png" border="0"></a>
+                <br/><br/>
+                Sign-in using your<br/>personal or managed<br/>InfoCard.
+                <br/>
+                <br/>
+            </td>
+        </tr>
+        <tr>
+            <td colspan="2">
+                <div style="width:100%;"><input
+                        type="checkbox" id="chkRemember"
+                        onclick="setRememberMe();"><label
+                        style="text-align: left; ">
+                    Remember me on this computer</label><br><br></div>
+                <%
+                    ServerConfiguration serverConfig =
+                            ServerConfiguration.getInstance();
+                    String rememberPeriod = serverConfig.getFirstProperty(
+                            MashupConstants.SESSION_MANAGEMENT + "." +
+                                    MashupConstants.REMEMBER_ME_PERIOD);
+                    int numDays = 0;
+                    int longerExpDays = 60 * 60 * 24 * 365 * 2; //2 years
+                    try {
+                        numDays = Integer.parseInt(rememberPeriod);
+                    } catch (NumberFormatException e) {
+                    }
+                    if ((MashupUtils.isFromLocalHost(request)) &&
+                            (numDays <= longerExpDays)) {
+                %>
+                <div style="width:100%;"><input
+                        type="checkbox" id="chkRememberForever"
+                        onclick="setRememberMeForever();"><label
+                        style="text-align: left; ">
+                    If you chose to remember your login information, it will be
+                    stored for <%=numDays%> days. However, since you are 
signing
+                    in from local host, you can choose to remember your login
+                    indefinetely by checking this box. </label><br><br></div>
+                <%
+                    }
+                %>
+            </td>
+            <td>&nbsp;</td>
+        </tr>
+        <tr>
+            <td align="left">
+                <a 
href="reset_password.jsp?firstcall=true&bounceback=<%=URLEncoder.encode(bounceback,"UTF-8")%>">Forgot
+                    Password?</a>
+            </td>
+            <td colspan="2">
+                <a href="http://wso2.org/projects/solutions/identity"; 
target="_blank"><img src="images/powered_identity.gif"
+                                        border="0"></a>
 
-                    </td>
-                </tr>
-            </table>
-            <br/>
-            <br/>
-    </td>
-</tr>
-</table>
+            </td>
+        </tr>
+    </table>
+    <br/>
+    <br/>
 </div>
 <%@ include file="footer.jsp" %>
 

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

Reply via email to