From 77505215416ea4f09609f70360a4ab368d6f2aa5 Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Wed, 12 Jun 2013 15:27:12 +0200 Subject: [PATCH] =?utf8?q?Fehlermeldung=20im=20Login=20nicht=20beliebig=20?= =?utf8?q?breit;=20Logoutmeldung=20in=20gr=C3=BCn=20und=20nicht=20in=20rot?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- SL/Controller/LoginScreen.pm | 2 +- css/kivitendo/main.css | 1 + templates/webpages/login_screen/user_login.html | 9 ++++++--- 3 files changed, 8 insertions(+), 4 deletions(-) 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" %] -- 2.20.1