Merge branch 'master' of ssh://lx-office/~/lx-office-erp
[kivitendo-erp.git] / templates / webpages / admin / list_users.html
1 [%- USE T8 %]
2 [% USE HTML %]<body class="admin" onload="">
3
4  <form method="post" action="admin.pl">
5
6   <div class="listtop" width="100%">[% title %]</div>
7
8   <p>
9    <table width="100%">
10     <tr>
11      <th class="listtop">[% 'Login Name' | $T8 %]</th>
12      <th class="listtop">[% 'Name' | $T8 %]</th>
13      <th class="listtop">[% 'Company' | $T8 %]</th>
14      <th class="listtop">[% 'Driver' | $T8 %]</th>
15      <th class="listtop">[% 'Host' | $T8 %]</th>
16      <th class="listtop">[% 'Dataset' | $T8 %]</th>
17      <th class="listtop">[% 'Templates' | $T8 %]</th>
18     </tr>
19
20     [% FOREACH row = MEMBERS %]
21      <tr class="listrow[% loop.count % 2 %]">
22       <td><a href="admin.pl?action=edit&login=[% HTML.url(row.login) %]">[% HTML.escape(row.login) %]</a></td>
23       <td>[% HTML.escape(row.name) %]</td>
24       <td>[% HTML.escape(row.company) %]</td>
25       <td>[% HTML.escape(row.dbdriver) %]</td>
26       <td>[% IF row.dbhost %][% HTML.escape(row.dbhost) %][% ELSE %]localhost[% END %]</td>
27       <td>[% HTML.escape(row.dbname) %]</td>
28       <td>[% HTML.escape(row.templates) %]</td>
29      </tr>
30     [% END %]
31
32     <td colspan="7"><hr size="3" noshade></td>
33    </table>
34   </p>
35
36
37   <input type="submit" class="submit" name="action" value="[% 'Add User' | $T8 %]">
38   <input type="submit" class="submit" name="action" value="[% 'Edit groups' | $T8 %]">
39   <input type="submit" class="submit" name="action" value="[% 'Printer Management' | $T8 %]">
40   <input type="submit" class="submit" name="action" value="[% 'Pg Database Administration' | $T8 %]">
41   [% IF LOCKED %]
42    <input type="submit" class="submit" name="action" value="[% 'Unlock System' | $T8 %]">
43    [% ELSE %]
44    <input type="submit" class="submit" name="action" value="[% 'Lock System' | $T8 %]">
45   [% END %]
46   <input type="submit" class="submit" name="action" value="[% 'Logout' | $T8 %]">
47
48   <p>[% 'Click on login name to edit!' | $T8 %]</p>
49
50   <p>[% 'To add a user to a group edit a name, change the login name and save.  A new user with the same variables will then be saved under the new login name.' | $T8 %]</p>
51  </form>
52
53  <form method="post" action="login.pl">
54
55   <div class="listheading">[% 'User Login' | $T8 %]</div>
56
57   <table border="0">
58    <tr>
59     <th align="right">[% 'Login Name' | $T8 %]</th>
60     <td><input class="login" name="login"></td>
61     <td>&nbsp;</td>
62    </tr>
63    <tr>
64     <th align="right">[% 'Password' | $T8 %]</th>
65     <td><input class="login" type="password" name="password"></td>
66     <td><input type="submit" name="action" value="[% 'Login' | $T8 %]"></td>
67    </tr>
68   </table>
69
70  </form>
71
72  <hr size="3" noshade>
73
74 </body>
75 </html>