Revision 77505215
Von Moritz Bunkus vor mehr als 11 Jahren hinzugefügt
SL/Controller/LoginScreen.pm | ||
---|---|---|
39 | 39 |
|
40 | 40 |
$::auth->destroy_session; |
41 | 41 |
$::auth->create_or_refresh_session; |
42 |
$self->show_login_form(error => $::locale->text('You are logged out!'));
|
|
42 |
$self->show_login_form(info => $::locale->text('You are logged out!'));
|
|
43 | 43 |
} |
44 | 44 |
|
45 | 45 |
sub action_login { |
css/kivitendo/main.css | ||
---|---|---|
110 | 110 |
table.login { |
111 | 111 |
background-color: #FFFFE0; |
112 | 112 |
padding: 20px; |
113 |
width: 500px; |
|
113 | 114 |
} |
114 | 115 |
td.login { |
115 | 116 |
text-align: center; |
templates/webpages/login_screen/user_login.html | ||
---|---|---|
7 | 7 |
<a href="http://www.kivitendo.de" target="_top"><img src="image/kivitendo.png" border="0"></a> |
8 | 8 |
<h1>[% 'kivitendo' | $T8 %] [% version %]</h1> |
9 | 9 |
|
10 |
[% IF error %] |
|
11 |
<p><span class="message_error_login">[% error %]</span></p> |
|
12 |
[% END %] |
|
10 |
[% IF error %] |
|
11 |
<div class="message_error_login">[% HTML.escape(error) %]</div> |
|
12 |
[% END %] |
|
13 |
[% IF info %] |
|
14 |
<div class="message_ok">[% HTML.escape(info) %]</div> |
|
15 |
[% END %] |
|
13 | 16 |
|
14 | 17 |
[% IF SELF.clients.size %] |
15 | 18 |
[%- SET style="width: 250px" %] |
Auch abrufbar als: Unified diff
Fehlermeldung im Login nicht beliebig breit; Logoutmeldung in grün und nicht in rot