svn commit: r652172 - in /ofbiz/trunk/framework: common/webcommon/login.ftl images/webapp/images/maincss.css

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r652172 - in /ofbiz/trunk/framework: common/webcommon/login.ftl images/webapp/images/maincss.css

adrianc
Author: adrianc
Date: Tue Apr 29 15:28:01 2008
New Revision: 652172

URL: http://svn.apache.org/viewvc?rev=652172&view=rev
Log:
IE7 layout fixup for login screen.

Modified:
    ofbiz/trunk/framework/common/webcommon/login.ftl
    ofbiz/trunk/framework/images/webapp/images/maincss.css

Modified: ofbiz/trunk/framework/common/webcommon/login.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/common/webcommon/login.ftl?rev=652172&r1=652171&r2=652172&view=diff
==============================================================================
--- ofbiz/trunk/framework/common/webcommon/login.ftl (original)
+++ ofbiz/trunk/framework/common/webcommon/login.ftl Tue Apr 29 15:28:01 2008
@@ -30,31 +30,32 @@
 <#else>
   <#assign focusName = true>
 </#if>
-
-<div class="screenlet login-screenlet">
-  <div class="screenlet-title-bar">
-    <h3>${uiLabelMap.CommonRegistered}</h3>
-  </div>
-  <div class="screenlet-body">
-    <form method="post" action="<@ofbizUrl>login${previousParams?if_exists}</@ofbizUrl>" name="loginform">
-      <table cellspacing="0">
-        <tr>
-          <td class="label">${uiLabelMap.CommonUsername}</td>
-          <td><input type="text" name="USERNAME" value="${username}" size="20"/></td>
-        </tr>
-        <tr>
-          <td class="label">${uiLabelMap.CommonPassword}</td>
-          <td><input type="password" name="PASSWORD" value="" size="20"/></td>
-        </tr>
-        <tr>
-          <td colspan="2" align="center">
-            <input type="submit" value="${uiLabelMap.CommonLogin}"/>
-          </td>
-        </tr>
-      </table>
-    </form>
+<center>
+  <div class="screenlet login-screenlet">
+    <div class="screenlet-title-bar">
+      <h3>${uiLabelMap.CommonRegistered}</h3>
+    </div>
+    <div class="screenlet-body">
+      <form method="post" action="<@ofbizUrl>login${previousParams?if_exists}</@ofbizUrl>" name="loginform">
+        <table class="basic-table" cellspacing="0">
+          <tr>
+            <td class="label">${uiLabelMap.CommonUsername}</td>
+            <td><input type="text" name="USERNAME" value="${username}" size="20"/></td>
+          </tr>
+          <tr>
+            <td class="label">${uiLabelMap.CommonPassword}</td>
+            <td><input type="password" name="PASSWORD" value="" size="20"/></td>
+          </tr>
+          <tr>
+            <td colspan="2" align="center">
+              <input type="submit" value="${uiLabelMap.CommonLogin}"/>
+            </td>
+          </tr>
+        </table>
+      </form>
+    </div>
   </div>
-</div>
+</center>
 
 <script language="JavaScript" type="text/javascript">
   <#if focusName>

Modified: ofbiz/trunk/framework/images/webapp/images/maincss.css
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/maincss.css?rev=652172&r1=652171&r2=652172&view=diff
==============================================================================
--- ofbiz/trunk/framework/images/webapp/images/maincss.css (original)
+++ ofbiz/trunk/framework/images/webapp/images/maincss.css Tue Apr 29 15:28:01 2008
@@ -1261,12 +1261,10 @@
 .screenlet-title-bar .h1,
 .screenlet-title-bar .h2,
 .screenlet-title-bar .h3,
-.screenlet-title-bar .head4,
 .screenlet-title-bar h1,
 .screenlet-title-bar h2,
 .screenlet-title-bar h3 {
 background: none;
-border-left: none;
 color: #ffffff;
 font-weight: bold;
 padding: 0.1em 0.5em 0.2em 0.5em;
@@ -1368,9 +1366,8 @@
 
 /* login screenlet decorator */
 .login-screenlet {
-margin-left: 38%;
 min-width: 25em;
-width: 26%;
+width: 25%;
 }
 
 .login-screenlet .screenlet-title-bar {