From: Moritz Bunkus Date: Wed, 12 Jun 2013 13:27:12 +0000 (+0200) Subject: Fehlermeldung im Login nicht beliebig breit; Logoutmeldung in grün und nicht in rot X-Git-Tag: release-3.1.0beta1~331^2~32 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=77505215416ea4f09609f70360a4ab368d6f2aa5;p=kivitendo-erp.git Fehlermeldung im Login nicht beliebig breit; Logoutmeldung in grün und nicht in rot --- diff --git a/SL/Controller/LoginScreen.pm b/SL/Controller/LoginScreen.pm index a7cc905c1..e64ad0c78 100644 --- a/SL/Controller/LoginScreen.pm +++ b/SL/Controller/LoginScreen.pm @@ -39,7 +39,7 @@ sub action_logout { $::auth->destroy_session; $::auth->create_or_refresh_session; - $self->show_login_form(error => $::locale->text('You are logged out!')); + $self->show_login_form(info => $::locale->text('You are logged out!')); } sub action_login { diff --git a/css/kivitendo/main.css b/css/kivitendo/main.css index e765fbfba..c2ef52134 100644 --- a/css/kivitendo/main.css +++ b/css/kivitendo/main.css @@ -110,6 +110,7 @@ body.login { table.login { background-color: #FFFFE0; padding: 20px; + width: 500px; } td.login { text-align: center; diff --git a/templates/webpages/login_screen/user_login.html b/templates/webpages/login_screen/user_login.html index 0a161ec09..da4d9ba85 100644 --- a/templates/webpages/login_screen/user_login.html +++ b/templates/webpages/login_screen/user_login.html @@ -7,9 +7,12 @@

[% 'kivitendo' | $T8 %] [% version %]

- [% IF error %] -

- [% END %] +[% IF error %] +
[% HTML.escape(error) %]
+[% END %] +[% IF info %] +
[% HTML.escape(info) %]
+[% END %] [% IF SELF.clients.size %] [%- SET style="width: 250px" %]