From 61d89baf2eb6f0524c6b2eb561df2687e07ad6c8 Mon Sep 17 00:00:00 2001 From: Sven Donath Date: Wed, 11 Aug 2010 17:36:34 +0200 Subject: [PATCH] =?utf8?q?message=5Fok=20und=20message=5Ferror=20CSS-Style?= =?utf8?q?s=20eingef=C3=BCgt.=20Msg-Ausgabe=20etwas=20repariert.=20Hat=20n?= =?utf8?q?och=20Potential.=20Nachtrag=20zum=20vorigen=20Commit:=20Die=20Be?= =?utf8?q?zeichnung=20des=20seitlichen=20Men=C3=BCs=20habe=20ich=20von=20'?= =?utf8?q?Alt=20(seitlich)'=20auf=20'Links=20(HTML)'=20ge=C3=A4ndert,=20we?= =?utf8?q?il=20das=20in=20der=20Dropdown-Box=20logischer=20ist.=20Die=20Dr?= =?utf8?q?opdown-Box=20hei=C3=9Ft=20jetzt=20'Men=C3=BC-Variante'=20statt?= =?utf8?q?=20'Men=C3=BCsetup'.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- SL/Form.pm | 8 +++---- css/Mobile.css | 23 +++++++++++++++++++++ css/lx-office-erp.css | 21 +++++++++++++++++++ templates/webpages/generic/error.html | 2 +- templates/webpages/generic/information.html | 2 +- 5 files changed, 50 insertions(+), 6 deletions(-) diff --git a/SL/Form.pm b/SL/Form.pm index cab29d426..20acf122c 100644 --- a/SL/Form.pm +++ b/SL/Form.pm @@ -466,13 +466,13 @@ sub info { if (!$self->{header}) { $self->header; - print qq| - |; + print qq||; } print qq| - -

$msg +

$msg

+ + |; } else { diff --git a/css/Mobile.css b/css/Mobile.css index 01a4c00ac..1550f01ca 100644 --- a/css/Mobile.css +++ b/css/Mobile.css @@ -95,6 +95,29 @@ body.menu { border-width:1px; background:#D4D0C8; } + +.message_ok { + font-size: 10pt; + padding:3px; + background-color: lightgreen; + color: black; + font-weight: bolder; + text-align:center; + border-style:solid; + border-width:thin; +} + +.message_error { + font-size: 10pt; + padding:5px; + background-color: #FFAAAA; + color: white; + font-weight: bolder; + text-align:center; + border-style:solid; + border-width:thin; +} + /* Bei Listen den Farbwechsel zur besseren Lesbarkeit: */ .listrow1 { background-color: #C8D4C6; color: black; vertical-align: top; } .listrow0 { background-color: white; color: black; vertical-align: top; } diff --git a/css/lx-office-erp.css b/css/lx-office-erp.css index 1a317d094..b64795057 100644 --- a/css/lx-office-erp.css +++ b/css/lx-office-erp.css @@ -81,6 +81,27 @@ body.menu { color: black; } +.message_ok { + font-size: 12pt; + padding:5px; + background-color: lightgreen; + color: black; + font-weight: bolder; + text-align:center; + border-style:solid; + border-width:thin; +} + +.message_error { + font-size: 12pt; + padding:5px; + background-color: #FFAAAA; + color: black; + font-weight: bolder; + text-align:center; + border-style:solid; + border-width:thin; +} /* Überschriftsbalken diff --git a/templates/webpages/generic/error.html b/templates/webpages/generic/error.html index 628208522..7d4ef89f8 100644 --- a/templates/webpages/generic/error.html +++ b/templates/webpages/generic/error.html @@ -1,7 +1,7 @@ [%- USE T8 %] [% USE HTML %] -
[% IF title_error %][% title_error %][% ELSE %][% 'Error!' | $T8 %][% END %]
+
[% IF title_error %][% title_error %][% ELSE %][% 'Error!' | $T8 %][% END %]

[% label_error %]

diff --git a/templates/webpages/generic/information.html b/templates/webpages/generic/information.html index 29e417169..a6f6bd754 100644 --- a/templates/webpages/generic/information.html +++ b/templates/webpages/generic/information.html @@ -2,7 +2,7 @@ [% USE HTML %] - + -- 2.20.1
[% IF title_information %][% title_information %][% ELSE %][% 'Information' | $T8 %][% END %][% IF title_information %][% title_information %][% ELSE %][% 'Information' | $T8 %][% END %]