2e6228fb9af5f6ed41dfd7bc687063fd2811f65b
[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">[% 'Templates' | $T8 %]</th>
15      <th class="listtop">[% 'Print' | $T8 %]</th>
16      <th class="listtop">[% 'Language' | $T8 %]</th>
17      <th class="listtop">[% 'Dataset' | $T8 %]</th>
18      <th class="listtop">[% 'Host' | $T8 %]</th>
19 <!-- <th class="listtop">[% 'Driver' | $T8 %]</th> -->
20     </tr>
21
22     [% FOREACH row = MEMBERS %]
23      <tr class="listrow[% loop.count % 2 %]">
24       <td>&nbsp;<a href="admin.pl?action=edit&login=[% HTML.url(row.login_url) %]">[% HTML.escape(row.login) %]</a></td>
25       <td>&nbsp;[% HTML.escape(row.name) %]</td>
26       <td>&nbsp;[% HTML.escape(row.company) %]</td>
27       <td>&nbsp;[% HTML.escape(row.templates) %]</td>
28       <td>&nbsp;[% HTML.escape(row.template_format) %]</td>
29       <td>&nbsp;[% HTML.escape(row.countrycode) %]</td>
30       <td>&nbsp;[% HTML.escape(row.dbname) %]</td>
31       <td>&nbsp;[% IF row.dbhost %][% HTML.escape(row.dbhost) %][% ELSE %]localhost[% END %]</td>
32 <!--  <td>&nbsp;[% HTML.escape(row.dbdriver) %]</td> -->
33      </tr>
34     [% END %]
35
36    </table>
37   <hr size="3" noshade>
38   </p>
39
40
41   <input type="submit" class="submit" name="action" value="[% 'Add User' | $T8 %]">
42   <input type="submit" class="submit" name="action" value="[% 'Edit groups' | $T8 %]">
43   <input type="submit" class="submit" name="action" value="[% 'Pg Database Administration' | $T8 %]">
44   <input type="submit" class="submit" name="action" value="[% 'Printer Management' | $T8 %]">
45   [% IF LOCKED %]
46    <input type="submit" class="submit" name="action" value="[% 'Unlock System' | $T8 %]">
47    [% ELSE %]
48    <input type="submit" class="submit" name="action" value="[% 'Lock System' | $T8 %]">
49   [% END %]
50   <input type="submit" class="submit" name="action" value="[% 'Logout' | $T8 %]">
51
52   <div style="background-color: #FFFFDA; font-size: 12px; padding: 0.5em; max-width: 720px; margin: 1em;">
53   <p>[% 'Click on login name to edit!' | $T8 %]</p>
54   <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>
55   </div>
56  </form>
57
58  <form method="post" action="login.pl">
59
60   <div class="listheading">[% 'User Login' | $T8 %]</div>
61
62   <table border="0">
63    <tr>
64     <th align="right">[% 'Login Name' | $T8 %]</th>
65     <td><input class="login" name="login"></td>
66     <td>&nbsp;</td>
67    </tr>
68    <tr>
69     <th align="right">[% 'Password' | $T8 %]</th>
70     <td><input class="login" type="password" name="password"></td>
71     <td><input type="submit" name="action" value="[% 'Login' | $T8 %]"></td>
72    </tr>
73   </table>
74
75  </form>
76
77  <hr size="3" noshade>
78
79 </body>
80 </html>