Revision 1c8322e3
Von Hans P. Schlaepfer vor etwa 4 Jahren hinzugefügt
templates/webpages/login_screen/user_login.html | ||
---|---|---|
1 |
<center> |
|
2 |
<table class="login" border="3" cellpadding="20"> |
|
3 |
<tr> |
|
4 |
<td class="login" align="center"> |
|
5 |
<a href="http://www.kivitendo.de" target="_top" class="no-underlined-links"><img src="image/kivitendo.png" class='kivitendo-logo' border="0"></a> |
|
6 |
<h1>[% LxERP.t8('kivitendo v#1', version) %]</h1> |
|
7 | 1 |
[% USE T8 %] |
8 | 2 |
[% USE HTML %] |
9 | 3 |
[% USE L %] |
... | ... | |
12 | 6 |
[% SET auth_login = '{AUTH}login' %] |
13 | 7 |
|
14 | 8 |
|
9 |
<h1>[% LxERP.t8('kivitendo v#1', version) %]</h1> |
|
10 |
<div id="login-elements"> |
|
11 |
<div class="logo"> |
|
12 |
<a href="http://www.kivitendo.de" target="_top" class="no-underlined-links"><img src="image/kivitendo.png" class='kivitendo-logo'></a> |
|
13 |
</div> |
|
14 |
|
|
15 | 15 |
[% IF error %] |
16 |
<div class="message_error_login">[% HTML.escape(error) %]</div>
|
|
16 |
<div class="message message_error">[% HTML.escape(error) %]</div>
|
|
17 | 17 |
[% END %] |
18 | 18 |
[% IF warning %] |
19 |
<div class="message_hint">[% HTML.escape(warning) %]</div>
|
|
19 |
<div class="message message_hint">[% HTML.escape(warning) %]</div>
|
|
20 | 20 |
[% END %] |
21 | 21 |
[% IF info %] |
22 |
<div class="message_ok">[% HTML.escape(info) %]</div>
|
|
22 |
<div class="message message_ok">[% HTML.escape(info) %]</div>
|
|
23 | 23 |
[% END %] |
24 | 24 |
|
25 |
[% IF SELF.clients.size %] |
|
26 |
[%- SET style="width: 250px" %] |
|
27 |
<form method="post" name="loginscreen" action="controller.pl" target="_top"> |
|
25 |
<div class="separate-form"> |
|
28 | 26 |
|
29 |
<input type="hidden" name="show_dbupdate_warning" value="1"> |
|
30 |
[% L.hidden_tag("callback", callback) %] |
|
27 |
[% IF SELF.clients.size %] |
|
28 |
<form method="post" name="loginscreen" action="controller.pl" target="_top"> |
|
29 |
<input type="hidden" name="show_dbupdate_warning" value="1"> |
|
30 |
[% L.hidden_tag("callback", callback) %] |
|
31 | 31 |
|
32 |
<table width="100%"> |
|
32 |
<table class="tbl-horizontal login"> |
|
33 |
<caption>[% 'User login' | $T8 %]</caption> |
|
34 |
<colgroup><col class="wi-small"><col class="wi-normal"></colgroup> |
|
35 |
<tbody> |
|
33 | 36 |
<tr> |
34 |
<td align="center"> |
|
35 |
<table> |
|
36 |
<tr> |
|
37 |
<th align="right">[% 'Login Name' | $T8 %]</th> |
|
38 |
<td>[% L.input_tag('{AUTH}login', FORM.$auth_login, id='auth_login', style=style, class='initial_focus') %]</td> |
|
39 |
</tr> |
|
40 |
<tr> |
|
41 |
<th align="right">[% 'Password' | $T8 %]</th> |
|
42 |
<td>[% L.input_tag('{AUTH}password', '', type='password', style=style) %]</td> |
|
43 |
</tr> |
|
44 |
<tr> |
|
45 |
<th align="right">[% 'Client' | $T8 %]</th> |
|
46 |
<td>[% L.select_tag('{AUTH}client_id', SELF.clients, title_key='name', default=SELF.default_client_id, style=style) %]</td> |
|
47 |
</tr> |
|
48 |
</table> |
|
49 |
|
|
50 |
<br> |
|
51 |
<input type="hidden" name="action" value="LoginScreen/login"> |
|
52 |
<input type="submit" value="[% 'Login' | $T8 %]"> |
|
53 |
|
|
54 |
</td> |
|
37 |
<th>[% 'Login Name' | $T8 %]</th> |
|
38 |
<td>[% L.input_tag('{AUTH}login', FORM.$auth_login, id='auth_login', class='initial_focus wi-normal') %]</td> |
|
39 |
</tr> |
|
40 |
<tr> |
|
41 |
<th>[% 'Password' | $T8 %]</th> |
|
42 |
<td>[% L.input_tag('{AUTH}password', '', type='password', class='wi-normal') %]</td> |
|
43 |
</tr> |
|
44 |
<tr> |
|
45 |
<th>[% 'Client' | $T8 %]</th> |
|
46 |
<td>[% L.select_tag('{AUTH}client_id', SELF.clients, title_key='name', default=SELF.default_client_id, class='wi-normal') %]</td> |
|
55 | 47 |
</tr> |
56 |
</table> |
|
48 |
<tr> |
|
49 |
<th> </th> |
|
50 |
<td> |
|
51 |
<input type="hidden" name="action" value="LoginScreen/login"> |
|
52 |
<input type="submit" value="[% 'Login' | $T8 %]"> |
|
53 |
</td> |
|
54 |
</tr> |
|
55 |
</tbody> |
|
56 |
</table> |
|
57 |
</form> |
|
58 |
</div><!-- /.separate-form --> |
|
57 | 59 |
|
58 |
</form> |
|
59 |
[%- ELSE %] |
|
60 |
<p> |
|
61 |
[% LxERP.t8("No clients have been created yet.") %] |
|
62 |
[% LxERP.t8("Please do so in the administration area.") %] |
|
63 |
</p> |
|
60 |
[% ELSE %] |
|
61 |
<p> |
|
62 |
[% LxERP.t8("No clients have been created yet.") %] |
|
63 |
[% LxERP.t8("Please do so in the administration area.") %] |
|
64 |
</p> |
|
65 |
<p><a href="controller.pl?action=Admin/login">[% LxERP.t8("Administration area") %]</a></p> |
|
66 |
[% END %] |
|
64 | 67 |
|
65 |
<p> |
|
66 |
<a href="controller.pl?action=Admin/login">[% LxERP.t8("Administration area") %]</a> |
|
67 |
</p> |
|
68 |
[%- END %] |
|
68 |
<div> |
|
69 |
<p> <a href="controller.pl?action=Admin/login" target="_top">[% LxERP.t8('Administration area') %]</a> | <a href="doc/kivitendo-Dokumentation.pdf" target="_top">[% LxERP.t8('Documentation') %]</a> </p> |
|
70 |
</div> |
|
69 | 71 |
|
70 |
</td> |
|
71 |
</tr> |
|
72 |
</table> |
|
72 |
</div> |
|
73 | 73 |
|
74 |
<p> |
|
75 |
<a href="controller.pl?action=Admin/login" target="_top">[%- LxERP.t8('Administration area') %]</a> |
|
76 |
| |
|
77 |
<a href="doc/kivitendo-Dokumentation.pdf" target="_top">[%- LxERP.t8('Documentation') %]</a> |
|
78 |
</p> |
|
79 | 74 |
|
80 | 75 |
[% IF FORM.$auth_client %] |
81 | 76 |
<script type='text/javascript'> |
Auch abrufbar als: Unified diff
Neues Design 2019 Standard-Code templates/webpages/login_screen/user_login.html