From: Sven Donath Date: Wed, 11 Aug 2010 15:36:34 +0000 (+0200) Subject: message_ok und message_error CSS-Styles eingefügt. Msg-Ausgabe etwas repariert. Hat... X-Git-Tag: release-2.6.2beta1~190 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=61d89baf2eb6f0524c6b2eb561df2687e07ad6c8;p=kivitendo-erp.git message_ok und message_error CSS-Styles eingefügt. Msg-Ausgabe etwas repariert. Hat noch Potential. Nachtrag zum vorigen Commit: Die Bezeichnung des seitlichen Menüs habe ich von 'Alt (seitlich)' auf 'Links (HTML)' geändert, weil das in der Dropdown-Box logischer ist. Die Dropdown-Box heißt jetzt 'Menü-Variante' statt 'Menüsetup'. --- 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 %] - +
[% IF title_information %][% title_information %][% ELSE %][% 'Information' | $T8 %][% END %][% IF title_information %][% title_information %][% ELSE %][% 'Information' | $T8 %][% END %]