Ajax Layout Wrapper für CRM und LxCars
[kivitendo-erp.git] / templates / webpages / admin / adminlogin.html
index 803d984..543f228 100644 (file)
@@ -1,16 +1,19 @@
 [%- USE T8 %]
-[% USE HTML %]<body class="admin" onload="document.getElementById('rpw').focus()">
- <p><input type="button" class="submit" onclick="history.back()" value="[% 'Back' | $T8 %]"></p>
+[% USE HTML %]
+[% USE LxERP%]
+ <script type='text/javascript'>
+    $(function(){ document.getElementsById('rpw').focus();});
+ </script>
  <div align="center">
 
-  <a href="http://www.lx-office.org"><img src="image/lx-office-erp.png" border="0"></a>
+  <a href="http://www.kivitendo.org"><img src="image/kivitendo.png" border="0"></a>
 
-  <h3 class="login">[% 'Lx-Office' | $T8 %] [% HTML.escape(version) %]</h3>
+  <h3 class="login">[% 'kivitendo' | $T8 %] [% HTML.escape(version) %]</h3>
 
   <h2>[% 'Administration' | $T8 %]</h2>
 
-  [% IF error_message %]
-  <p><span class="error_message">[% error_message %]</span></p>
+  [% IF error %]
+  <p><span class="message_error_login">[% error %]</span></p>
   [% END %]
 
   <form method="post" action="admin.pl">
@@ -18,7 +21,7 @@
    <table>
     <tr>
      <th>[% 'Password' | $T8 %]</th>
-     <td><input type="password" name="rpw" id="rpw"></td>
+     <td><input type="password" name="{AUTH}admin_password" id="rpw"></td>
      <td><input type="submit" class="submit" name="action" value="[% 'Login' | $T8 %]"></td>
     </tr>
     <input type="hidden" name="action" value="login">
@@ -26,9 +29,9 @@
 
   </form>
 
-  <p>[% 'Lx-Office Homepage' | $T8 %]: <a href="http://lx-office.org" target="_blank" title="[% 'Lx-Office Homepage' | $T8 %]">http://lx-office.org</a></p>
+  <p>[% 'kivitendo Homepage' | $T8 %]: <a href="http://kivitendo.de" target="_blank" title="[% 'kivitendo Homepage' | $T8 %]">http://kivitendo.de</a></p>
+
+  <p><a href="controller.pl?action=LoginScreen/user_login" target="_top">[%- LxERP.t8('Back to the login page') %]</a></p>
 
  </div>
 
-</body>
-</html>