Improved login screen.
authorJoe Hunt <joe.hunt.consulting@gmail.com>
Fri, 25 Sep 2009 08:54:32 +0000 (08:54 +0000)
committerJoe Hunt <joe.hunt.consulting@gmail.com>
Fri, 25 Sep 2009 08:54:32 +0000 (08:54 +0000)
CHANGELOG.txt
access/login.php
themes/default/login.css

index 2141f0a0cf6a368a93794404b298a40c3cd84940..b1278edaf51c9f0afc670278f36d8c9e35709035 100644 (file)
@@ -22,7 +22,10 @@ $ -> Affected files
 25-Sep-2009 Joe Hunt
 # Wrong presentation of qty decimals when trans_no != 0 (delivered)
 $ /sales/includes/ui/sales_order_ui.inc
-
+! Improved layout of login screen
+$ /addess/login.php
+  /themes/default/login.css
+  
 24-Sep-2009 Janusz Dobrowolski
 + Additional fields for secondary phone and/or general notes in customers, 
  cust_branches, shippers, locations and suppliers tables.
index e8a9e9dcbca22cde8c26790eaa933e58140c7a00..efdd276dad79b6ac6e4620b5294f0b0b30adcbe7 100644 (file)
@@ -64,9 +64,10 @@ function set_fullmode() {
        echo "<table class='titletext'><tr><td>$title</td></tr></table>\n";
        
        br();br();
+       start_form(false, false, $_SESSION['timeout']['uri'], "loginform");
        start_table($table_style2);
        start_row();
-       echo "<td align='center'>";
+       echo "<td align='center' colspan=2>";
        if (!$login_timeout) { // FA logo
        echo "<a target='_blank' href='$power_url'><img src='$path_to_root/themes/$def_theme/images/logo_frontaccounting.png' alt='FrontAccounting' height='50' onload='fixPNG(this)' border='0' /></a>";
        } else { 
@@ -75,9 +76,6 @@ function set_fullmode() {
        echo "</td>\n";
        end_row();
 
-       br();
-       start_form(false, false, $_SESSION['timeout']['uri'], "loginform");
-       start_table($table_style2);
        echo "<input type='hidden' id=ui_mode name='ui_mode' value='".$_SESSION["wa_current_user"]->ui_mode."' />\n";
        if (!$login_timeout)
                table_section_title(_("Version")." $version   Build $build_version - "._("Login"));
@@ -114,7 +112,6 @@ function set_fullmode() {
                        'password', 'SubmitUser', 'company_login_name'))) 
                        echo "<input type='hidden' name='$p' value='$val'>";
        }
-       end_table();
     echo "<script language='JavaScript' type='text/javascript'>
     //<![CDATA[
             <!--
index 5902a92e6bbe871272e6aebff334a92708751e3e..9f93c646dbc86e8aa3e5d07912a29b87d752a483 100644 (file)
@@ -19,7 +19,7 @@
 
 body {
        font-family: Verdana, Arial, Helvetica;
-       background: #f9f9f9;
+       background: #f5f5f5;
        font-size: 10px;
        margin: 5px 0 0 5px;
        padding: 0;
@@ -66,7 +66,6 @@ a:hover, a:focus {
 
 .tableheader {
        font-weight: bold;
-       /*background-color: #dee7ec;*/
        background-color: #d1dfec;
        color: black;
        text-align: center;
@@ -74,7 +73,6 @@ a:hover, a:focus {
 
 .bottomBar {
        padding-right: 1em;
-       /*background-color: #dee7ec;*/
        background-color: #d1dfec;
        color: black;
        border-bottom: 1px solid #8cacbb;
@@ -107,6 +105,7 @@ a:hover, a:focus {
 
 .tablestyle2 {
        width: 350px;
+       border-left: 12px solid #367cb5;
        border-collapse: collapse;
        background-color: #eeeeee;
 }