From f508c7d270861b64c71b8d37887d9c24dde6634d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Sun, 19 Apr 2020 18:58:49 +0200 Subject: [PATCH] Please cherry-pick: - rewrote to not use fax_input_table_row.tpl - realigned JSF tags to have attributes in a separate line - got rid of some old tags from pre-PrimeFaces times MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Roland Häder --- .../form_data/fax/admin_form_fax_data.tpl | 43 ++++++++++------ .../landline/admin_form_landline_data.tpl | 43 ++++++++++------ .../tags/profile/user/user_profile_link.tpl | 8 ++- .../tags/table_rows/fax_input_table_row.tpl | 28 ----------- .../basic_data/admin_form_basic_data.tpl | 7 ++- .../admin/fax/admin_fax_add_show.tpl | 12 ++++- .../admin/fax/admin_form_add_contact_fax.tpl | 9 +++- .../admin_form_add_contact_landline.tpl | 45 ++++++++++------- .../landline/admin_landline_add_show.tpl | 12 ++++- .../mobile/admin_form_add_contact_mobile.tpl | 50 +++++++++++-------- .../admin/mobile/admin_mobile_add_show.tpl | 12 ++++- .../templates/login/user/user_base.tpl | 8 ++- .../basic_data/admin_basic_data_list.xhtml | 23 ++++++++- .../unlink/admin_contact_fax_unlink.xhtml | 17 +++++-- .../admin_contact_landline_unlink.xhtml | 13 ++++- .../unlink/admin_contact_mobile_unlink.xhtml | 15 ++++-- web/admin/fax/admin_fax_delete.xhtml | 6 ++- .../admin_generic_product_list.xhtml | 21 ++++++-- web/admin/mobile/admin_mobile_delete.xhtml | 13 ++++- web/admin/user/admin_user_lock.xhtml | 12 ++++- .../admin_user_resend_confirmation_link.xhtml | 12 ++++- web/admin/user/admin_user_unlock.xhtml | 12 ++++- web/guest/user/user_confirm_account.xhtml | 7 ++- web/guest/user/user_list.xhtml | 7 ++- web/guest/user/user_login.xhtml | 7 ++- web/guest/user/user_lost_password.xhtml | 7 ++- web/guest/user/user_register.xhtml | 14 +++++- web/guest/user/user_register_done.xhtml | 5 +- web/guest/user/user_register_page2.xhtml | 7 ++- web/guest/user/user_resend_done.xhtml | 5 +- web/guest/user/user_resend_link.xhtml | 16 +++++- web/user/login_contact_data_saved.xhtml | 13 ++++- web/user/login_data_saved.xhtml | 6 ++- .../login_user_change_email_address.xhtml | 13 ++++- web/user/login_user_change_password.xhtml | 15 ++++-- .../login_user_change_personal_data.xhtml | 9 +++- web/user/login_user_contact_data_saved.xhtml | 13 ++++- web/user/login_user_data_saved.xhtml | 6 ++- 38 files changed, 413 insertions(+), 158 deletions(-) delete mode 100644 web/WEB-INF/resources/tags/table_rows/fax_input_table_row.tpl diff --git a/web/WEB-INF/resources/tags/admin/form_data/fax/admin_form_fax_data.tpl b/web/WEB-INF/resources/tags/admin/form_data/fax/admin_form_fax_data.tpl index 08167961..c091322d 100644 --- a/web/WEB-INF/resources/tags/admin/form_data/fax/admin_form_fax_data.tpl +++ b/web/WEB-INF/resources/tags/admin/form_data/fax/admin_form_fax_data.tpl @@ -5,25 +5,36 @@ xmlns:h="http://java.sun.com/jsf/html" xmlns:ui="http://xmlns.jcp.org/jsf/facelets" xmlns:p="http://primefaces.org/ui" + xmlns:f="http://xmlns.jcp.org/jsf/core" > - -
- - - + + + + - -
- -
+ + + -
- -
-
+ + + - -
-
+ + + + + + diff --git a/web/WEB-INF/resources/tags/admin/form_data/landline/admin_form_landline_data.tpl b/web/WEB-INF/resources/tags/admin/form_data/landline/admin_form_landline_data.tpl index afd2b538..7c46612a 100644 --- a/web/WEB-INF/resources/tags/admin/form_data/landline/admin_form_landline_data.tpl +++ b/web/WEB-INF/resources/tags/admin/form_data/landline/admin_form_landline_data.tpl @@ -5,25 +5,36 @@ xmlns:h="http://java.sun.com/jsf/html" xmlns:ui="http://xmlns.jcp.org/jsf/facelets" xmlns:p="http://primefaces.org/ui" + xmlns:f="http://xmlns.jcp.org/jsf/core" > - -
- - - + + + + - -
- -
+ + + -
- -
-
+ + + - -
-
+ + + + + + diff --git a/web/WEB-INF/resources/tags/profile/user/user_profile_link.tpl b/web/WEB-INF/resources/tags/profile/user/user_profile_link.tpl index f691140a..1e2e62d4 100644 --- a/web/WEB-INF/resources/tags/profile/user/user_profile_link.tpl +++ b/web/WEB-INF/resources/tags/profile/user/user_profile_link.tpl @@ -8,7 +8,13 @@ xmlns:p="http://primefaces.org/ui" > - + - - - - - - - - - - - - - - - - - - - - - diff --git a/web/WEB-INF/templates/admin/basic_data/admin_form_basic_data.tpl b/web/WEB-INF/templates/admin/basic_data/admin_form_basic_data.tpl index 22367462..3d91a340 100644 --- a/web/WEB-INF/templates/admin/basic_data/admin_form_basic_data.tpl +++ b/web/WEB-INF/templates/admin/basic_data/admin_form_basic_data.tpl @@ -55,7 +55,12 @@ - + - + - + diff --git a/web/WEB-INF/templates/admin/fax/admin_form_add_contact_fax.tpl b/web/WEB-INF/templates/admin/fax/admin_form_add_contact_fax.tpl index 65dab7cf..2b55ab49 100644 --- a/web/WEB-INF/templates/admin/fax/admin_form_add_contact_fax.tpl +++ b/web/WEB-INF/templates/admin/fax/admin_form_add_contact_fax.tpl @@ -8,7 +8,12 @@ xmlns:p="http://primefaces.org/ui" > - + @@ -32,7 +37,7 @@ - + @@ -20,26 +25,28 @@ - -
- -
- -
- - + + + + - + - - -
-
+ + +
diff --git a/web/WEB-INF/templates/admin/landline/admin_landline_add_show.tpl b/web/WEB-INF/templates/admin/landline/admin_landline_add_show.tpl index 5f24e211..9998fb11 100644 --- a/web/WEB-INF/templates/admin/landline/admin_landline_add_show.tpl +++ b/web/WEB-INF/templates/admin/landline/admin_landline_add_show.tpl @@ -6,11 +6,19 @@ xmlns:h="http://xmlns.jcp.org/jsf/html" xmlns:ui="http://xmlns.jcp.org/jsf/facelets"> - + - + diff --git a/web/WEB-INF/templates/admin/mobile/admin_form_add_contact_mobile.tpl b/web/WEB-INF/templates/admin/mobile/admin_form_add_contact_mobile.tpl index c69cc57f..9e57a99a 100644 --- a/web/WEB-INF/templates/admin/mobile/admin_form_add_contact_mobile.tpl +++ b/web/WEB-INF/templates/admin/mobile/admin_form_add_contact_mobile.tpl @@ -8,7 +8,12 @@ xmlns:p="http://primefaces.org/ui" > - + @@ -20,35 +25,36 @@
- -
- -
+ + + + -
- - + - - - - -
-
+ + +
- + - + diff --git a/web/WEB-INF/templates/admin/mobile/admin_mobile_add_show.tpl b/web/WEB-INF/templates/admin/mobile/admin_mobile_add_show.tpl index bf25e964..b3a3865e 100644 --- a/web/WEB-INF/templates/admin/mobile/admin_mobile_add_show.tpl +++ b/web/WEB-INF/templates/admin/mobile/admin_mobile_add_show.tpl @@ -6,11 +6,19 @@ xmlns:h="http://xmlns.jcp.org/jsf/html" xmlns:ui="http://xmlns.jcp.org/jsf/facelets"> - + - + diff --git a/web/WEB-INF/templates/login/user/user_base.tpl b/web/WEB-INF/templates/login/user/user_base.tpl index 21719741..faab2b41 100644 --- a/web/WEB-INF/templates/login/user/user_base.tpl +++ b/web/WEB-INF/templates/login/user/user_base.tpl @@ -15,7 +15,13 @@ - + diff --git a/web/admin/basic_data/admin_basic_data_list.xhtml b/web/admin/basic_data/admin_basic_data_list.xhtml index e15b9957..26c732d4 100644 --- a/web/admin/basic_data/admin_basic_data_list.xhtml +++ b/web/admin/basic_data/admin_basic_data_list.xhtml @@ -107,11 +107,21 @@ filterBy="#{basicData.companyShortName}" filterMatchMode="contains" > - + - + + + + + - + @@ -65,7 +67,12 @@
- +
@@ -78,7 +85,11 @@
- + diff --git a/web/admin/contact/unlink/admin_contact_landline_unlink.xhtml b/web/admin/contact/unlink/admin_contact_landline_unlink.xhtml index 44ccd6f4..d1d29d3e 100644 --- a/web/admin/contact/unlink/admin_contact_landline_unlink.xhtml +++ b/web/admin/contact/unlink/admin_contact_landline_unlink.xhtml @@ -60,7 +60,12 @@
- +
@@ -73,7 +78,11 @@
- + diff --git a/web/admin/contact/unlink/admin_contact_mobile_unlink.xhtml b/web/admin/contact/unlink/admin_contact_mobile_unlink.xhtml index 1d7d3d08..2bde48f8 100644 --- a/web/admin/contact/unlink/admin_contact_mobile_unlink.xhtml +++ b/web/admin/contact/unlink/admin_contact_mobile_unlink.xhtml @@ -60,18 +60,27 @@
- +
- + diff --git a/web/admin/fax/admin_fax_delete.xhtml b/web/admin/fax/admin_fax_delete.xhtml index df5534fc..2c98a7d1 100644 --- a/web/admin/fax/admin_fax_delete.xhtml +++ b/web/admin/fax/admin_fax_delete.xhtml @@ -41,7 +41,11 @@
- +
diff --git a/web/admin/generic_product/admin_generic_product_list.xhtml b/web/admin/generic_product/admin_generic_product_list.xhtml index 1c9ed323..79e12d4f 100644 --- a/web/admin/generic_product/admin_generic_product_list.xhtml +++ b/web/admin/generic_product/admin_generic_product_list.xhtml @@ -240,10 +240,20 @@ - + + + + + + + @@ -380,7 +390,12 @@ - + + + + + + diff --git a/web/admin/mobile/admin_mobile_delete.xhtml b/web/admin/mobile/admin_mobile_delete.xhtml index f5600af5..7b97a449 100644 --- a/web/admin/mobile/admin_mobile_delete.xhtml +++ b/web/admin/mobile/admin_mobile_delete.xhtml @@ -32,7 +32,12 @@ - + @@ -41,7 +46,11 @@
- +
diff --git a/web/admin/user/admin_user_lock.xhtml b/web/admin/user/admin_user_lock.xhtml index e34de433..93a7cb4a 100644 --- a/web/admin/user/admin_user_lock.xhtml +++ b/web/admin/user/admin_user_lock.xhtml @@ -95,12 +95,20 @@ - + - + diff --git a/web/admin/user/admin_user_resend_confirmation_link.xhtml b/web/admin/user/admin_user_resend_confirmation_link.xhtml index 1697534e..fb6ba37e 100644 --- a/web/admin/user/admin_user_resend_confirmation_link.xhtml +++ b/web/admin/user/admin_user_resend_confirmation_link.xhtml @@ -63,12 +63,20 @@ - + - + diff --git a/web/admin/user/admin_user_unlock.xhtml b/web/admin/user/admin_user_unlock.xhtml index af1ac85f..40111a65 100644 --- a/web/admin/user/admin_user_unlock.xhtml +++ b/web/admin/user/admin_user_unlock.xhtml @@ -123,12 +123,20 @@ - + - + diff --git a/web/guest/user/user_confirm_account.xhtml b/web/guest/user/user_confirm_account.xhtml index 5f37c3f3..54b4490b 100644 --- a/web/guest/user/user_confirm_account.xhtml +++ b/web/guest/user/user_confirm_account.xhtml @@ -44,7 +44,12 @@ - + diff --git a/web/guest/user/user_list.xhtml b/web/guest/user/user_list.xhtml index 66a2339d..e602e32e 100644 --- a/web/guest/user/user_list.xhtml +++ b/web/guest/user/user_list.xhtml @@ -19,7 +19,12 @@ - + - + diff --git a/web/guest/user/user_lost_password.xhtml b/web/guest/user/user_lost_password.xhtml index d51979cd..a9bb356a 100644 --- a/web/guest/user/user_lost_password.xhtml +++ b/web/guest/user/user_lost_password.xhtml @@ -18,7 +18,12 @@ - +
diff --git a/web/guest/user/user_register.xhtml b/web/guest/user/user_register.xhtml index 1da89b76..aba81919 100644 --- a/web/guest/user/user_register.xhtml +++ b/web/guest/user/user_register.xhtml @@ -17,9 +17,19 @@ - + - + diff --git a/web/guest/user/user_register_done.xhtml b/web/guest/user/user_register_done.xhtml index fa04cf53..849730b4 100644 --- a/web/guest/user/user_register_done.xhtml +++ b/web/guest/user/user_register_done.xhtml @@ -13,7 +13,10 @@ - + diff --git a/web/guest/user/user_register_page2.xhtml b/web/guest/user/user_register_page2.xhtml index 32e1901b..5b7ee595 100644 --- a/web/guest/user/user_register_page2.xhtml +++ b/web/guest/user/user_register_page2.xhtml @@ -17,7 +17,12 @@ - + diff --git a/web/guest/user/user_resend_done.xhtml b/web/guest/user/user_resend_done.xhtml index 5b13af3c..2796c0b2 100644 --- a/web/guest/user/user_resend_done.xhtml +++ b/web/guest/user/user_resend_done.xhtml @@ -16,6 +16,9 @@ - + diff --git a/web/guest/user/user_resend_link.xhtml b/web/guest/user/user_resend_link.xhtml index c194adfc..f29ae1b7 100644 --- a/web/guest/user/user_resend_link.xhtml +++ b/web/guest/user/user_resend_link.xhtml @@ -19,7 +19,12 @@ - + @@ -38,7 +43,14 @@
- +
diff --git a/web/user/login_contact_data_saved.xhtml b/web/user/login_contact_data_saved.xhtml index 354e7a2e..0c6f662b 100644 --- a/web/user/login_contact_data_saved.xhtml +++ b/web/user/login_contact_data_saved.xhtml @@ -17,9 +17,18 @@
- + - + - + diff --git a/web/user/login_user_change_email_address.xhtml b/web/user/login_user_change_email_address.xhtml index dc472a32..78d70dd5 100644 --- a/web/user/login_user_change_email_address.xhtml +++ b/web/user/login_user_change_email_address.xhtml @@ -17,9 +17,18 @@ - + - +
diff --git a/web/user/login_user_change_password.xhtml b/web/user/login_user_change_password.xhtml index d5c4ca5c..f18f7277 100644 --- a/web/user/login_user_change_password.xhtml +++ b/web/user/login_user_change_password.xhtml @@ -17,9 +17,18 @@
- - - + + + diff --git a/web/user/login_user_change_personal_data.xhtml b/web/user/login_user_change_personal_data.xhtml index 7b5c18de..445cf895 100644 --- a/web/user/login_user_change_personal_data.xhtml +++ b/web/user/login_user_change_personal_data.xhtml @@ -17,7 +17,12 @@ - + diff --git a/web/user/login_user_contact_data_saved.xhtml b/web/user/login_user_contact_data_saved.xhtml index b19c5b92..95e19e52 100644 --- a/web/user/login_user_contact_data_saved.xhtml +++ b/web/user/login_user_contact_data_saved.xhtml @@ -17,9 +17,18 @@ - + - + - +