6d7309f42ceec8232e2cc4ee2046f2530f1ff3bd
[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' | $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="[% 'Pg Database Administration' | $T8 %]">
40   [% IF LOCKED %]
41    <input type="submit" class="submit" name="action" value="[% 'Unlock System' | $T8 %]">
42    [% ELSE %]
43    <input type="submit" class="submit" name="action" value="[% 'Lock System' | $T8 %]">
44   [% END %]
45   <input type="submit" class="submit" name="action" value="[% 'Logout' | $T8 %]">
46
47   <p>[% 'Click on login name to edit!' | $T8 %]</p>
48
49   <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>
50  </form>
51
52  <form method="post" action="login.pl">
53
54   <div class="listheading">Lx-Office ERP [% 'Login' | $T8 %]</div>
55
56   <table border="0">
57    <tr>
58     <th align="right">[% 'Name' | $T8 %]</th>
59     <td><input class="login" name="login"></td>
60     <td>&nbsp;</td>
61    </tr>
62    <tr>
63     <th align="right">[% 'Password' | $T8 %]</th>
64     <td><input class="login" type="password" name="password"></td>
65     <td><input type="submit" name="action" value="[% 'Login' | $T8 %]"></td>
66    </tr>
67   </table>
68
69  </form>
70
71  <hr size="3" noshade>
72
73 </body>
74 </html>