login Layout
[kivitendo-erp.git] / templates / webpages / login_screen / user_login.html
index 118ba9b..08776e7 100644 (file)
@@ -1,7 +1,5 @@
 [%- USE T8 %]
 [%- USE HTML %]
-<body class="login" onLoad="document.loginscreen.login.focus()">
-
  <center>
   <table class="login" border="3" cellpadding="20">
    <tr>
@@ -25,7 +23,7 @@
           <table>
            <tr>
             <th align="right">[% 'Login Name' | $T8 %]</th>
-            <td><input class="login" name="{AUTH}login" size="30" tabindex="1"></td>
+            <td><input id='login' class="login" name="{AUTH}login" size="30" tabindex="1"></td>
            </tr>
            <tr>
             <th align="right">[% 'Password' | $T8 %]</th>
@@ -46,4 +44,6 @@
     </td>
    </tr>
   </table>
-
+  <script type='text/javascript'>
+    $(function(){ $('#login').focus() })
+  </script>