Author: rbaxter85
Date: Fri Jul 27 15:51:28 2012
New Revision: 1366425

URL: http://svn.apache.org/viewvc?rev=1366425&view=rev
Log:
SHINDIG-1828
Comitted for Mike May
Adding IDs to form elements in login.jsp and authorize.jsp

Modified:
    shindig/trunk/java/server-resources/src/main/webapp/WEB-INF/authorize.jsp
    shindig/trunk/java/server-resources/src/main/webapp/login.jsp

Modified: 
shindig/trunk/java/server-resources/src/main/webapp/WEB-INF/authorize.jsp
URL: 
http://svn.apache.org/viewvc/shindig/trunk/java/server-resources/src/main/webapp/WEB-INF/authorize.jsp?rev=1366425&r1=1366424&r2=1366425&view=diff
==============================================================================
--- shindig/trunk/java/server-resources/src/main/webapp/WEB-INF/authorize.jsp 
(original)
+++ shindig/trunk/java/server-resources/src/main/webapp/WEB-INF/authorize.jsp 
Fri Jul 27 15:51:28 2012
@@ -72,10 +72,10 @@ The following application wants to acces
 <c:out value="${appDesc}" default=""/>
 <br/>
 
-<form name="authZForm" action="authorize" method="POST">
-  <input type="hidden" name="oauth_token" value="<%= token %>"/>
-  <input type="submit" name="Authorize" value="Deny"/>
-  <input type="submit" name="Authorize" value="Authorize"/>
+<form id="authorize_form" name="authZForm" action="authorize" method="POST">
+  <input type="hidden" id="authorize_oauth_token" name="oauth_token" 
value="<%= token %>"/>
+  <input type="submit" id="authroize_deny" name="Authorize" value="Deny"/>
+  <input type="submit" id="authorize_authorize" name="Authorize" 
value="Authorize"/>
 </form>
 
 </body>

Modified: shindig/trunk/java/server-resources/src/main/webapp/login.jsp
URL: 
http://svn.apache.org/viewvc/shindig/trunk/java/server-resources/src/main/webapp/login.jsp?rev=1366425&r1=1366424&r2=1366425&view=diff
==============================================================================
--- shindig/trunk/java/server-resources/src/main/webapp/login.jsp (original)
+++ shindig/trunk/java/server-resources/src/main/webapp/login.jsp Fri Jul 27 
15:51:28 2012
@@ -88,21 +88,21 @@
 <c:out value="${shiroLoginFailure}" default=""/><br/>
 
 
-<form action="" method="post">
+<form id="login_form" action="" method="post">
     <table align="left" border="0" cellspacing="0" cellpadding="3">
         <tr>
             <td>Username:</td>
-            <td><input type="text" name="username" maxlength="30"></td>
+            <td><input type="text" id="login_username" name="username" 
maxlength="30"></td>
         </tr>
         <tr>
             <td>Password:</td>
-            <td><input type="password" name="password" maxlength="30"></td>
+            <td><input type="password" id="login_password" name="password" 
maxlength="30"></td>
         </tr>
         <tr>
-            <td colspan="2" align="left"><input type="checkbox" 
name="rememberMe"><font size="2">Remember Me</font></td>
+            <td colspan="2" align="left"><input type="checkbox" 
id="login_rememberme" name="rememberMe"><font size="2">Remember Me</font></td>
         </tr>
         <tr>
-            <td colspan="2" align="right"><input type="submit" name="submit" 
value="Login"></td>
+            <td colspan="2" align="right"><input type="submit" 
id="login_submit" name="submit" value="Login"></td>
         </tr>
     </table>
 </form>


Reply via email to