Umstellung der Benutzerverwaltung von Dateien im Verzeichnis "users" auf die Verwendu...
[kivitendo-erp.git] / templates / webpages / admin / list_users_master.html
1 [% USE HTML %]<body class="admin" onload="">
2
3  <form method="post" action="admin.pl">
4
5   <div class="listtop" width="100%">[% title %]</div>
6
7   <p>
8    <table width="100%">
9     <tr>
10      <th class="listtop"><translate>Login</translate></th>
11      <th class="listtop"><translate>Name</translate></th>
12      <th class="listtop"><translate>Company</translate></th>
13      <th class="listtop"><translate>Driver</translate></th>
14      <th class="listtop"><translate>Host</translate></th>
15      <th class="listtop"><translate>Dataset</translate></th>
16      <th class="listtop"><translate>Templates</translate></th>
17     </tr>
18
19     [% SET row_odd = '1' %]
20     [% FOREACH row = MEMBERS %]
21      <tr class="listrow[% IF row_odd %]1[% SET row_odd = '0' %][% ELSE %]0[% SET row_odd = '1' %][% END %]">
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="<translate>Add User</translate>">
38   <input type="submit" class="submit" name="action" value="<translate>Edit groups</translate>">
39   <input type="submit" class="submit" name="action" value="<translate>Pg Database Administration</translate>">
40   [% IF LOCKED %]
41    <input type="submit" class="submit" name="action" value="<translate>Unlock System</translate>">
42    [% ELSE %]
43    <input type="submit" class="submit" name="action" value="<translate>Lock System</translate>">
44   [% END %]
45   <input type="submit" class="submit" name="action" value="<translate>Logout</translate>">
46
47   <p><translate>Click on login name to edit!</translate></p>
48
49   <p><translate>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.</translate></p>
50  </form>
51
52  <form method="post" action="login.pl">
53
54   <div class="listheading">Lx-Office ERP <translate>Login</translate></div>
55
56   <table border="0">
57    <tr>
58     <th align="right"><translate>Name</translate></th>
59     <td><input class="login" name="login"></td>
60     <td>&nbsp;</td>
61    </tr>
62    <tr>
63     <th align="right"><translate>Password</translate></th>
64     <td><input class="login" type="password" name="password"></td>
65     <td><input type="submit" name="action" value="<translate>Login</translate>"></td>
66    </tr>
67   </table>
68
69  </form>
70
71  <hr size="3" noshade>
72
73 </body>
74 </html>