[jboss-cvs] jboss-portal/core/src/resources/portal-server-war ...

Roy Russo russo at jboss.com
Mon Jul 17 11:52:16 EDT 2006


  User: russo   
  Date: 06/07/17 11:52:16

  Modified:    core/src/resources/portal-server-war  login.jsp
  Log:
  JBPORTAL-961 - done.
  
  Revision  Changes    Path
  1.8       +60 -31    jboss-portal/core/src/resources/portal-server-war/login.jsp
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: login.jsp
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-portal/core/src/resources/portal-server-war/login.jsp,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -b -r1.7 -r1.8
  --- login.jsp	1 Jun 2006 16:16:34 -0000	1.7
  +++ login.jsp	17 Jul 2006 15:52:16 -0000	1.8
  @@ -1,38 +1,67 @@
   <%@ taglib uri="/WEB-INF/theme/portal-layout.tld" prefix="p" %>
  -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  +"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
   <html>
   <head>
  -   <p:theme themeName='Nphalanx'/>
  +   <style>
  +      body {
  +         background-color: #FFFFFF;
  +      }
  +
  +      td {
  +         color: #000000;
  +         font-family: verdana, arial, sans-serif;
  +         font-size: 12px;
  +         line-height: 130%;
  +      }
  +
  +      table.form {
  +         background-color: #CCFF99;
  +         border-style: dashed;
  +         border-color: #000000;
  +         border-width: 1px;
  +
  +      }
  +   </style>
   </head>
   
  -<body id="body" OnLoad="document.loginform.j_username.focus();">
  -<div id="portal-container">
  -   <div id="sizer">
  -      <div id="expander">
  -         <div id="logoName"></div>
  -         <table border="0" cellpadding="0" cellspacing="0" id="header-container">
  +<body OnLoad="document.loginform.j_username.focus();">
  +
  +<table width="100%" height="100%" cellpadding="0" cellspacing="1">
               <tr>
  -               <td align="center" valign="top" id="header"><div id="spacer"></div></td>
  -            </tr>
  -         </table>
  -         <div id="content-container">
  +      <td valign="middle" align="center">
   
  -            <div id="login-container">
  -             <fieldset><legend>JBoss Portal Login</legend>
                 <form method="POST" action="<%= response.encodeURL("j_security_check") %>" name="loginform" id="loginForm">
  -               <label for="username">Username:</label><input type="text" name="j_username" id="username" value=""/><br>
  -               <label for="password">Password:</label><input type="password" name="j_password" id="password" value=""/><br>
  -               <input type="submit" id="loginButton" name="login" value="Login"/>
  +            <b>JBoss Portal Login</b><br><br>
  +            <table width="350" height="200" cellpadding="0" cellspacing="0" class="form">
  +               <tr>
  +                  <td align="right" width="100">
  +                     Username:&nbsp;
  +                  </td>
  +                  <td align="left">
  +                     <input type="text" name="j_username" value=""/>
  +                  </td>
  +               </tr>
  +               <tr>
  +                  <td align="right" width="100">
  +                     Password:&nbsp;
  +                  </td>
  +                  <td align="left">
  +                     <input type="password" name="j_password" value=""/>
  +                  </td>
  +               </tr>
  +               <tr>
  +                  <td colspan="2" align="center">
  +                     <input type="submit" name="login" value="Login"/>
  +                  </td>
  +               </tr>
  +            </table>
                 </form>
  -             </fieldset>
  -            </div>
  -            <hr class="cleaner"/>
  -            <div id="footer-container" class="portal-copyright">Powered by <a class="portal-copyright"
  -               href="http://www.jboss.com/products/jbossportal">JBoss Portal</a><br/>
  -            </div>
  -         </div>
  -      </div>
  -   </div>
  -</div>
  +
  +      </td>
  +   </tr>
  +</table>
  +
   </body>
   </html>
  +
  
  
  



More information about the jboss-cvs-commits mailing list