From: Roland Haeder Date: Thu, 15 Oct 2015 07:05:39 +0000 (+0200) Subject: added template userid_error.tpl for showing errors around the user id + added CSS... X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=b9b23519429c3413991bf0b6f2c8400d60548099;p=addressbook-war.git added template userid_error.tpl for showing errors around the user id + added CSS classes Signed-off-by:Roland Häder --- diff --git a/src/java/org/mxchange/localization/bundle_de_DE.properties b/src/java/org/mxchange/localization/bundle_de_DE.properties index bc9c6bf4..d795388b 100644 --- a/src/java/org/mxchange/localization/bundle_de_DE.properties +++ b/src/java/org/mxchange/localization/bundle_de_DE.properties @@ -220,3 +220,4 @@ CONTENT_TITLE_LOGIN_LIST_SHARING_ADDRESSBOOKS=Mit einem Benutzer geteilte Adress PARAMETER_USER_ID_MISSING=Benutzernummer nicht angegeben. PARAMETER_USER_ID_INVALID=Der angeklickte Link ist nicht mehr g\u00fcltig: Den Benutzer mit der Id-Nummer existiert nicht (mehr). PARAMETER_USER_ID_NOT_FOUND=Benutzeraccount mit der Id-Nummer nicht gefunden. +TABLE_HEADER_ERROR_HANDLING_USER_ID=Fehler beim Verarbeiten der Benutzernummer: diff --git a/src/java/org/mxchange/localization/bundle_en_US.properties b/src/java/org/mxchange/localization/bundle_en_US.properties index 052813f1..12102b26 100644 --- a/src/java/org/mxchange/localization/bundle_en_US.properties +++ b/src/java/org/mxchange/localization/bundle_en_US.properties @@ -220,3 +220,4 @@ CONTENT_TITLE_LOGIN_LIST_SHARING_ADDRESSBOOKS=List with a user shared address bo PARAMETER_USER_ID_MISSING=No user id number provided PARAMETER_USER_ID_INVALID=The clicked link is no longer valid: The user with provided id number does not exist (anymore). PARAMETER_USER_ID_NOT_FOUND=User account with given id number not found. +TABLE_HEADER_ERROR_HANDLING_USER_ID=Error while handling user id: diff --git a/web/WEB-INF/templates/generic/userid_error.tpl b/web/WEB-INF/templates/generic/userid_error.tpl new file mode 100644 index 00000000..de95f58c --- /dev/null +++ b/web/WEB-INF/templates/generic/userid_error.tpl @@ -0,0 +1,17 @@ + + + +
+
+ #{msg.TABLE_HEADER_ERROR_HANDLING_USER_ID} +
+ +
+ +
+
+
diff --git a/web/login/login_list_sharing_addressbooks.xhtml b/web/login/login_list_sharing_addressbooks.xhtml index 38102206..71a3e108 100644 --- a/web/login/login_list_sharing_addressbooks.xhtml +++ b/web/login/login_list_sharing_addressbooks.xhtml @@ -20,8 +20,12 @@ #{msg.CONTENT_TITLE_LOGIN_LIST_SHARING_ADDRESSBOOKS} - + Here goes your content. + + + + diff --git a/web/resources/css/cssLayout.css b/web/resources/css/cssLayout.css index 2a3317fc..b3730ead 100644 --- a/web/resources/css/cssLayout.css +++ b/web/resources/css/cssLayout.css @@ -156,3 +156,20 @@ ul.footer_nav li.footer_copyright { .item_price, .item_total_price { text-align: right; } + +.errors { + color: red; +} + +.fatals { + color: red; + font-weight: bold; +} + +.infos { + color: cornflowerblue; +} + +.warnings { + color: gold; +} diff --git a/web/user/user_profile.xhtml b/web/user/user_profile.xhtml index e7b21a7a..0c64bfa9 100644 --- a/web/user/user_profile.xhtml +++ b/web/user/user_profile.xhtml @@ -23,5 +23,9 @@ Here goes your content. + + + +