Code

05df7a9d80a622d4494a4eb9bec70972291f7a95
[gosa.git] / ihtml / themes / altlinux / login.tpl
1 {* GOsa login - smarty template *}
3 <!-- Spacer for some browsers -->
4 {$errors}
5 <div class='gosaLoginSpacer'></div>
7 <table class='gosaLoginMask' align='center'>
8  <tr>
9   <td class='gosaLoginBack'>
10    <div class='gosaLoginBack'>
11        
12     <p class='gosaLoginHeader'>
13         {t}Please use your <i>username</i> and <i>password</i> to log in{/t}
14     </p>
15   
16     <!-- Display SSL warning message on demand -->
17     <p class='gosaLoginWarning'> {$ssl} </p>
19     <!-- Formular data, containing a table to center fields -->
20     <form action='index.php' method='post' name='mainform'>
21      <table style='align:center; text-align:left;' cellspacing='7' align='center'>
22       <tr>
23         <td>
24           <img src='{$personal_img}' alt='{t}Username{/t}' title='{t}Username{/t}'>
25         </td>
26         <td>
27           <input type='text' name='username' maxlength='25' value='{$username}'
28                  title='{t}Username{/t}' onFocus="nextfield= 'password';">
29         </td>
30       </tr>
31       <tr>
32         <td>
33           <img src='{$password_img}' alt='{t}Password{/t}' title='{t}Password{/t}'>
34         </td>
35         <td>
36           <input type='password' name='password' maxlength='25' value=''
37                  title='{t}Password{/t}' onFocus="nextfield= 'login';">
38         </td>
39       </tr>
40       <tr>
41         <td>
42           <img src='{$directory_img}' alt='{t}Directory{/t}' title='{t}Directory{/t}'>
43         </td>
44         <td style='text-align:left;'>
45           <select name='server'  title='{t}Directory{/t}'>
46             {html_options options=$server_options selected=$server_id}
47           </select>
48         </td>
49       </tr>
50       <tr>
51         <td colspan='2' style='text-align:right;'>
52           <br>
53           <input type='submit' name='login' value='{t}Sign in{/t}'
54                  title='{t}Click here to log in{/t}'>
55         </td>
56       </tr>
57      </table>
58     </form>
60     <!-- Display error message on demand -->
61     <p class='gosaLoginWarning'> {$message} </p>
63    </div>
64   </td>
65  </tr>
66 </table>
68 <!-- Place cursor in username field -->
69 <script language="JavaScript" type="text/javascript">
70   <!-- // First input field on page
71   nextfield= "{$nextfield}";
72   document.mainform.{$nextfield}.focus();
73   -->
74 </script>
76 <!-- Spacer for some browsers -->
77 <div class='gosaLoginSpacer'></div>