From: Roland Häder Date: Fri, 6 May 2016 11:08:37 +0000 (+0200) Subject: Moved a lot templates areound: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=5b59906908df52d0627dd5a5111e6ebcd52f0ba8;p=pizzaservice-war.git Moved a lot templates areound: - moved user-related templates out of generic folder - moved "login user" to login/user - moved "login recruiter" to login/recruiter - added missing templarte when recruiter is not logged-in Signed-off-by: Roland Häder --- diff --git a/nbproject/faces-config.NavData b/nbproject/faces-config.NavData index 06164247..ddebaa54 100644 --- a/nbproject/faces-config.NavData +++ b/nbproject/faces-config.NavData @@ -2,70 +2,74 @@ - - - - - - - + + + + + + + + - - - - + + + + - - - - - - - - - - - - - + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - + + + + + + + + + + + + + diff --git a/web/WEB-INF/faces-config.xml b/web/WEB-INF/faces-config.xml index 68b02092..3814d681 100644 --- a/web/WEB-INF/faces-config.xml +++ b/web/WEB-INF/faces-config.xml @@ -47,6 +47,10 @@ admin_product /admin/product/admin_product_list.xhtml + + user_index + /user/login_index.xhtml + admin_category /admin/category/admin_category_list.xhtml @@ -97,7 +101,36 @@ - /basket.xhtml + /guest/user/register.xhtml + + register_done + /guest/user/register_done.xhtml + + + + /admin/admin_logout.xhtml + + index + /index.xhtml + + + + /user/login_own_addressbooks.xhtml + + user_add_addressbook + /user/login_add_addressbook.xhtml + + + user_show_addressbook + /guest/user/show_addressbook.xhtml + + + show_addressbook_entries + /guest/user/show_addressbook_entries.xhtml + + + + /guest/user/user_list.xhtml checkout /customer/checkout.xhtml @@ -118,14 +151,18 @@ - /customer/checkout2.xhtml + /user/login_edit_user_data.xhtml + + user_change_email_address + /user/login_change_email_address.xhtml + - checkout_done - /customer/checkout_done.xhtml + user_change_password + /user/login_change_password.xhtml - empty_basket - /customer/empty_basket.xhtml + user_change_personal_data + /user/login_change_personal_data.xhtml diff --git a/web/WEB-INF/templates.dist/login_page.xhtml b/web/WEB-INF/templates.dist/login_page.xhtml index 8c9415be..7330578e 100644 --- a/web/WEB-INF/templates.dist/login_page.xhtml +++ b/web/WEB-INF/templates.dist/login_page.xhtml @@ -7,7 +7,7 @@ xmlns:f="http://xmlns.jcp.org/jsf/core" > - + #{msg.PAGE_TITLE_LOGIN_FOO} diff --git a/web/WEB-INF/templates/generic/user_profile_link.tpl b/web/WEB-INF/templates/generic/user_profile_link.tpl deleted file mode 100644 index 6188f9c1..00000000 --- a/web/WEB-INF/templates/generic/user_profile_link.tpl +++ /dev/null @@ -1,16 +0,0 @@ - - - - - - - - - - - - diff --git a/web/WEB-INF/templates/login/login_base.tpl b/web/WEB-INF/templates/login/login_base.tpl deleted file mode 100644 index cbf690dd..00000000 --- a/web/WEB-INF/templates/login/login_base.tpl +++ /dev/null @@ -1,22 +0,0 @@ - - - - #{msg.PAGE_TITLE_LOGIN_AREA} - Default login title - - - - - - - - - - - - - - diff --git a/web/WEB-INF/templates/login/login_enter_current_password.tpl b/web/WEB-INF/templates/login/login_enter_current_password.tpl deleted file mode 100644 index 9a732b38..00000000 --- a/web/WEB-INF/templates/login/login_enter_current_password.tpl +++ /dev/null @@ -1,27 +0,0 @@ - - - -
-
- #{msg.LOGIN_ENTER_CURRENT_PASSWORD_CONFIRMATION_LEGEND} -
-
- -
- -
- - - - -
- -
-
-
-
-
diff --git a/web/WEB-INF/templates/login/login_footer.tpl b/web/WEB-INF/templates/login/login_footer.tpl deleted file mode 100644 index bafe6e1b..00000000 --- a/web/WEB-INF/templates/login/login_footer.tpl +++ /dev/null @@ -1,30 +0,0 @@ - - - - -
-
diff --git a/web/WEB-INF/templates/login/login_menu.tpl b/web/WEB-INF/templates/login/login_menu.tpl deleted file mode 100644 index b91fd2c8..00000000 --- a/web/WEB-INF/templates/login/login_menu.tpl +++ /dev/null @@ -1,59 +0,0 @@ - - - - - diff --git a/web/WEB-INF/templates/login/user/user_base.tpl b/web/WEB-INF/templates/login/user/user_base.tpl new file mode 100644 index 00000000..6b88de4d --- /dev/null +++ b/web/WEB-INF/templates/login/user/user_base.tpl @@ -0,0 +1,23 @@ + + + + #{msg.PAGE_TITLE_LOGIN_AREA} - Default login title + + + + + + + + + + + + + + + diff --git a/web/WEB-INF/templates/login/user/user_enter_current_password.tpl b/web/WEB-INF/templates/login/user/user_enter_current_password.tpl new file mode 100644 index 00000000..9a732b38 --- /dev/null +++ b/web/WEB-INF/templates/login/user/user_enter_current_password.tpl @@ -0,0 +1,27 @@ + + + +
+
+ #{msg.LOGIN_ENTER_CURRENT_PASSWORD_CONFIRMATION_LEGEND} +
+
+ +
+ +
+ + + + +
+ +
+
+
+
+
diff --git a/web/WEB-INF/templates/login/user/user_footer.tpl b/web/WEB-INF/templates/login/user/user_footer.tpl new file mode 100644 index 00000000..bafe6e1b --- /dev/null +++ b/web/WEB-INF/templates/login/user/user_footer.tpl @@ -0,0 +1,30 @@ + + + + +
+
diff --git a/web/WEB-INF/templates/login/user/user_menu.tpl b/web/WEB-INF/templates/login/user/user_menu.tpl new file mode 100644 index 00000000..a374a2ff --- /dev/null +++ b/web/WEB-INF/templates/login/user/user_menu.tpl @@ -0,0 +1,59 @@ + + + + + diff --git a/web/guest/user/user_list.xhtml b/web/guest/user/user_list.xhtml index 7a93e036..e05b336f 100644 --- a/web/guest/user/user_list.xhtml +++ b/web/guest/user/user_list.xhtml @@ -20,7 +20,7 @@ #{msg.TABLE_HEADER_USER_LIST} - + #{msg.USER_NAME} diff --git a/web/guest/user/user_profile.xhtml b/web/guest/user/user_profile.xhtml index 1109a02a..59d00852 100644 --- a/web/guest/user/user_profile.xhtml +++ b/web/guest/user/user_profile.xhtml @@ -3,10 +3,10 @@ + xmlns:ui="http://xmlns.jcp.org/jsf/facelets" + xmlns:h="http://xmlns.jcp.org/jsf/html" + xmlns:f="http://xmlns.jcp.org/jsf/core" + xmlns:c="http://xmlns.jcp.org/jsp/jstl/core"> @@ -24,25 +24,23 @@
- - - - + + + - -
- - - #{msg.PUBLIC_USER_PROFILE} - - -
-
+ + #{msg.ERROR_PROFILE_NOT_VISIBLE} + - - #{msg.ERROR_PROFILE_NOT_VISIBLE} - -
+ +
+ + + #{msg.PUBLIC_USER_PROFILE} + + +
+
diff --git a/web/user/login_add_addressbook.xhtml b/web/user/login_add_addressbook.xhtml deleted file mode 100644 index 69043c87..00000000 --- a/web/user/login_add_addressbook.xhtml +++ /dev/null @@ -1,51 +0,0 @@ - - - - - - #{msg.PAGE_TITLE_LOGIN_ADD_ADDRESSBOOK} - - - #{msg.CONTENT_TITLE_LOGIN_ADD_ADDRESSBOOK} - - - - - -
-
- #{msg.FORM_LOGIN_ADD_ADDRESSBOOK_TITLE} -
- -
-
- -
- -
- - - -
-
- - -
-
-
- - - - -
-
- diff --git a/web/user/login_change_email_address.xhtml b/web/user/login_change_email_address.xhtml index f86d426e..29748ece 100644 --- a/web/user/login_change_email_address.xhtml +++ b/web/user/login_change_email_address.xhtml @@ -8,7 +8,7 @@ xmlns:f="http://xmlns.jcp.org/jsf/core" > - + #{msg.PAGE_TITLE_LOGIN_CHANGE_EMAIL_ADDRESS} @@ -65,7 +65,7 @@ - + - +