From b9b23519429c3413991bf0b6f2c8400d60548099 Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Thu, 15 Oct 2015 09:05:39 +0200 Subject: [PATCH] =?utf8?q?added=20template=20userid=5Ferror.tpl=20for=20sh?= =?utf8?q?owing=20errors=20around=20the=20user=20id=20+=20added=20CSS=20cl?= =?utf8?q?asses=20Signed-off-by:Roland=20H=C3=A4der=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- .../localization/bundle_de_DE.properties | 1 + .../localization/bundle_en_US.properties | 1 + web/WEB-INF/templates/generic/userid_error.tpl | 17 +++++++++++++++++ web/login/login_list_sharing_addressbooks.xhtml | 6 +++++- web/resources/css/cssLayout.css | 17 +++++++++++++++++ web/user/user_profile.xhtml | 4 ++++ 6 files changed, 45 insertions(+), 1 deletion(-) create mode 100644 web/WEB-INF/templates/generic/userid_error.tpl 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. + + + + -- 2.39.5