Admin-Bereich: Überschriften einheitlich als <h1> anzeigen
[kivitendo-erp.git] / templates / webpages / admin / list_users.html
1 [%- USE T8 %]
2 [%- USE HTML %]
3  <h1>[% title %]</h1>
4
5  <form method="post" action="admin.pl">
6
7   <p>
8    <table width="100%">
9     <tr>
10      <th class="listtop">[% 'Login Name' | $T8 %]</th>
11      <th class="listtop">[% 'Name' | $T8 %]</th>
12      <th class="listtop">[% 'Company' | $T8 %]</th>
13      <th class="listtop">[% 'Templates' | $T8 %]</th>
14      <th class="listtop">[% 'Print' | $T8 %]</th>
15      <th class="listtop">[% 'Language' | $T8 %]</th>
16      <th class="listtop">[% 'Dataset' | $T8 %]</th>
17      <th class="listtop">[% 'Host' | $T8 %]</th>
18      <th class="listtop">[% 'Last Action' | $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&user.id=[% HTML.url(row.id) %]">[% 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;
33         [% IF( row.last_action ) %]
34           [% HTML.escape(row.last_action) %]
35         [% ELSE %]
36           [% 'not logged in' | $T8 %]
37         [% END %]</td>
38 <!--  <td>&nbsp;[% HTML.escape(row.dbdriver) %]</td> -->
39      </tr>
40     [% END %]
41
42    </table>
43   <hr size="3" noshade>
44   </p>
45
46
47   <input type="submit" class="submit" name="action" value="[% 'Add User' | $T8 %]">
48   <input type="submit" class="submit" name="action" value="[% 'Edit groups' | $T8 %]">
49   <input type="submit" class="submit" name="action" value="[% 'Pg Database Administration' | $T8 %]">
50   <input type="submit" class="submit" name="action" value="[% 'Printer Management' | $T8 %]">
51   [% IF LOCKED %]
52    <input type="submit" class="submit" name="action" value="[% 'Unlock System' | $T8 %]">
53    [% ELSE %]
54    <input type="submit" class="submit" name="action" value="[% 'Lock System' | $T8 %]">
55   [% END %]
56   <input type="submit" class="submit" name="action" value="[% 'Logout' | $T8 %]">
57
58   <div style="background-color: #FFFFDA; font-size: 12px; padding: 0.5em; max-width: 720px; margin: 1em;">
59   <p>[% 'Click on login name to edit!' | $T8 %]</p>
60   <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>
61   </div>
62  </form>
63
64  <hr>
65
66  <h2>[% 'User Login' | $T8 %]</h2>
67
68  <form method="post" action="controller.pl">
69   <input type="hidden" name="action" value="LoginScreen/login">
70
71   <table border="0">
72    <tr>
73     <th align="right">[% 'Login Name' | $T8 %]</th>
74     <td><input class="login" name="{AUTH}login"></td>
75     <td>&nbsp;</td>
76    </tr>
77    <tr>
78     <th align="right">[% 'Password' | $T8 %]</th>
79     <td><input class="login" type="password" name="{AUTH}password"></td>
80     <td><input type="submit" value="[% 'Login' | $T8 %]"></td>
81    </tr>
82   </table>
83
84  </form>