From: Roland Haeder Date: Sun, 17 Apr 2016 14:34:31 +0000 (+0200) Subject: Moved category/product pages/templates to corresponding sub folders (re-organizing) X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=b895ad17802bb45b11595b69b979c7c51161b2b2;p=pizzaservice-war.git Moved category/product pages/templates to corresponding sub folders (re-organizing) --- diff --git a/nbproject/faces-config.NavData b/nbproject/faces-config.NavData index e5bbcee0..71547ccf 100644 --- a/nbproject/faces-config.NavData +++ b/nbproject/faces-config.NavData @@ -26,16 +26,16 @@ - - + + - - - - + + + + diff --git a/web/WEB-INF/faces-config.xml b/web/WEB-INF/faces-config.xml index a8f3430a..c495ccde 100644 --- a/web/WEB-INF/faces-config.xml +++ b/web/WEB-INF/faces-config.xml @@ -57,11 +57,11 @@ admin_product - /admin/admin_product_list.xhtml + /admin/product/admin_product_list.xhtml admin_category - /admin/admin_category_list.xhtml + /admin/category/admin_category_list.xhtml admin_index @@ -132,25 +132,25 @@ - /admin/admin_product_list.xhtml + /admin/product/admin_product_list.xhtml admin_edit_product - /admin/admin_product_edit.xhtml + /admin/product/admin_product_edit.xhtml admin_delete_product - /admin/admin_product_delete.xhtml + /admin/product/admin_product_delete.xhtml - /admin/admin_category_list.xhtml + /admin/category/admin_category_list.xhtml admin_edit_category - /admin/admin_category_edit.xhtml + /admin/category/admin_category_edit.xhtml admin_delete_category - /admin/admin_category_delete.xhtml + /admin/category/admin_category_delete.xhtml diff --git a/web/WEB-INF/templates/admin/admin_category_selection_box.tpl b/web/WEB-INF/templates/admin/admin_category_selection_box.tpl deleted file mode 100644 index 67fc7b5e..00000000 --- a/web/WEB-INF/templates/admin/admin_category_selection_box.tpl +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - diff --git a/web/WEB-INF/templates/admin/admin_parent_category_selection_box.tpl b/web/WEB-INF/templates/admin/admin_parent_category_selection_box.tpl deleted file mode 100644 index c5a4d5e1..00000000 --- a/web/WEB-INF/templates/admin/admin_parent_category_selection_box.tpl +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - diff --git a/web/WEB-INF/templates/admin/category/admin_category_selection_box.tpl b/web/WEB-INF/templates/admin/category/admin_category_selection_box.tpl new file mode 100644 index 00000000..67fc7b5e --- /dev/null +++ b/web/WEB-INF/templates/admin/category/admin_category_selection_box.tpl @@ -0,0 +1,10 @@ + + + + + + diff --git a/web/WEB-INF/templates/admin/category/admin_parent_category_selection_box.tpl b/web/WEB-INF/templates/admin/category/admin_parent_category_selection_box.tpl new file mode 100644 index 00000000..c5a4d5e1 --- /dev/null +++ b/web/WEB-INF/templates/admin/category/admin_parent_category_selection_box.tpl @@ -0,0 +1,11 @@ + + + + + + + diff --git a/web/admin/admin_category_delete.xhtml b/web/admin/admin_category_delete.xhtml deleted file mode 100644 index f6239318..00000000 --- a/web/admin/admin_category_delete.xhtml +++ /dev/null @@ -1,20 +0,0 @@ - - - - - - #{msg.PAGE_TITLE_ADMIN_DELETE_CATEGORY} - - - #{msg.CONTENT_TITLE_ADMIN_DELETE_CATEGORY} - - - - Here goes your content. - - - diff --git a/web/admin/admin_category_edit.xhtml b/web/admin/admin_category_edit.xhtml deleted file mode 100644 index 4bbf69a0..00000000 --- a/web/admin/admin_category_edit.xhtml +++ /dev/null @@ -1,20 +0,0 @@ - - - - - - #{msg.PAGE_TITLE_ADMIN_EDIT_CATEGORY} - - - #{msg.CONTENT_TITLE_ADMIN_EDIT_CATEGORY} - - - - Here goes your content. - - - diff --git a/web/admin/admin_category_list.xhtml b/web/admin/admin_category_list.xhtml deleted file mode 100644 index 9044182a..00000000 --- a/web/admin/admin_category_list.xhtml +++ /dev/null @@ -1,83 +0,0 @@ - - - - - - #{msg.PAGE_TITLE_ADMIN_CATEGORIES} - - - #{msg.CONTENT_TITLE_ADMIN_CATEGORIES} - - - -
- - - #{msg.ADMIN_CATEGORY_ID} - - - - - - - #{msg.ADMIN_ENTER_CATEGORY_TITLE} - #{cat.categoryTitle} - - - - #{msg.ADMIN_PARENT_CATEGORY} - #{cat.parentCategory.categoryId} - - -
- -
- -
-
- #{msg.ADMIN_ADD_CATEGORY_TITLE} -
- -
- #{msg.PLEASE_FILL_ALL_FIELDS} - -
-
- #{msg.ADMIN_ENTER_CATEGORY_TITLE} -
#{msg.ADMIN_ENTER_CATEGORY_TITLE_EXAMPLE}
-
- -
- -
- -
-
- -
-
- #{msg.ADMIN_PARENT_CATEGORY} -
- -
- -
- -
-
-
- - -
-
-
-
-
- diff --git a/web/admin/admin_product_delete.xhtml b/web/admin/admin_product_delete.xhtml deleted file mode 100644 index f2eaed2d..00000000 --- a/web/admin/admin_product_delete.xhtml +++ /dev/null @@ -1,20 +0,0 @@ - - - - - - #{msg.PAGE_TITLE_ADMIN_DELETE_PRODUCT} - - - #{msg.CONTENT_TITLE_ADMIN_DELETE_PRODUCT} - - - - Here goes your content. - - - diff --git a/web/admin/admin_product_edit.xhtml b/web/admin/admin_product_edit.xhtml deleted file mode 100644 index 6ef494f8..00000000 --- a/web/admin/admin_product_edit.xhtml +++ /dev/null @@ -1,20 +0,0 @@ - - - - - - #{msg.PAGE_TITLE_ADMIN_EDIT_PRODUCT} - - - #{msg.CONTENT_TITLE_ADMIN_EDIT_PRODUCT} - - - - Here goes your content. - - - diff --git a/web/admin/admin_product_list.xhtml b/web/admin/admin_product_list.xhtml deleted file mode 100644 index 3ee0944d..00000000 --- a/web/admin/admin_product_list.xhtml +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - #{msg.PAGE_TITLE_ADMIN_PRODUCTS} - - - #{msg.CONTENT_TITLE_ADMIN_PRODUCTS} - - - -
- - - #{msg.ADMIN_TITLE_PRODUCT_NUMBER} - - - - - - - #{msg.ADMIN_TITLE_PRODUCT_TITLE} - #{product.productTitle} - - - - #{msg.SINGLE_PRODUCT_PRICE} - #{product.productPrice} - - - - #{msg.CATEGORY} - #{product.productCategory.categoryTitle} - - - - #{msg.IS_AVAILABLE} - #{product.productAvailability} - - -
- -
- -
-
- #{msg.ADMIN_ADD_PRODUCT_TITLE} -
- -
- #{msg.PLEASE_FILL_ALL_FIELDS} - -
-
- #{msg.ADMIN_ENTER_PRODUCT_TITLE} -
#{msg.ADMIN_ENTER_PRODUCT_TITLE_EXAMPLE}
-
- -
- -
- -
-
- -
-
- #{msg.ADMIN_ENTER_SINGLE_PRODUCT_PRICE} -
#{msg.ADMIN_ENTER_PRODUCT_PRICE_EXAMPLE}
-
- -
- -
- -
-
- -
-
- #{msg.CATEGORY} -
- -
- -
- -
-
- -
-
- #{msg.IS_AVAILABLE} -
- -
- - - - -
- -
-
-
- - -
-
-
- -
- #{msg.ADMIN_ADD_PRODUCT_NOTICE_TITLE} -
    -
  • #{msg.ADMIN_ADD_PRODUCT_NOTICE_LINE1}
  • -
  • #{msg.ADMIN_ADD_PRODUCT_NOTICE_LINE2}
  • -
  • #{msg.ADMIN_ADD_PRODUCT_NOTICE_LINE3}
  • -
-
-
-
- diff --git a/web/admin/category/admin_category_delete.xhtml b/web/admin/category/admin_category_delete.xhtml new file mode 100644 index 00000000..f6239318 --- /dev/null +++ b/web/admin/category/admin_category_delete.xhtml @@ -0,0 +1,20 @@ + + + + + + #{msg.PAGE_TITLE_ADMIN_DELETE_CATEGORY} + + + #{msg.CONTENT_TITLE_ADMIN_DELETE_CATEGORY} + + + + Here goes your content. + + + diff --git a/web/admin/category/admin_category_edit.xhtml b/web/admin/category/admin_category_edit.xhtml new file mode 100644 index 00000000..4bbf69a0 --- /dev/null +++ b/web/admin/category/admin_category_edit.xhtml @@ -0,0 +1,20 @@ + + + + + + #{msg.PAGE_TITLE_ADMIN_EDIT_CATEGORY} + + + #{msg.CONTENT_TITLE_ADMIN_EDIT_CATEGORY} + + + + Here goes your content. + + + diff --git a/web/admin/category/admin_category_list.xhtml b/web/admin/category/admin_category_list.xhtml new file mode 100644 index 00000000..926bab6f --- /dev/null +++ b/web/admin/category/admin_category_list.xhtml @@ -0,0 +1,83 @@ + + + + + + #{msg.PAGE_TITLE_ADMIN_CATEGORIES} + + + #{msg.CONTENT_TITLE_ADMIN_CATEGORIES} + + + +
+ + + #{msg.ADMIN_CATEGORY_ID} + + + + + + + #{msg.ADMIN_ENTER_CATEGORY_TITLE} + #{cat.categoryTitle} + + + + #{msg.ADMIN_PARENT_CATEGORY} + #{cat.parentCategory.categoryId} + + +
+ +
+ +
+
+ #{msg.ADMIN_ADD_CATEGORY_TITLE} +
+ +
+ #{msg.PLEASE_FILL_ALL_FIELDS} + +
+
+ #{msg.ADMIN_ENTER_CATEGORY_TITLE} +
#{msg.ADMIN_ENTER_CATEGORY_TITLE_EXAMPLE}
+
+ +
+ +
+ +
+
+ +
+
+ #{msg.ADMIN_PARENT_CATEGORY} +
+ +
+ +
+ +
+
+
+ + +
+
+
+
+
+ diff --git a/web/admin/product/admin_product_delete.xhtml b/web/admin/product/admin_product_delete.xhtml new file mode 100644 index 00000000..f2eaed2d --- /dev/null +++ b/web/admin/product/admin_product_delete.xhtml @@ -0,0 +1,20 @@ + + + + + + #{msg.PAGE_TITLE_ADMIN_DELETE_PRODUCT} + + + #{msg.CONTENT_TITLE_ADMIN_DELETE_PRODUCT} + + + + Here goes your content. + + + diff --git a/web/admin/product/admin_product_edit.xhtml b/web/admin/product/admin_product_edit.xhtml new file mode 100644 index 00000000..6ef494f8 --- /dev/null +++ b/web/admin/product/admin_product_edit.xhtml @@ -0,0 +1,20 @@ + + + + + + #{msg.PAGE_TITLE_ADMIN_EDIT_PRODUCT} + + + #{msg.CONTENT_TITLE_ADMIN_EDIT_PRODUCT} + + + + Here goes your content. + + + diff --git a/web/admin/product/admin_product_list.xhtml b/web/admin/product/admin_product_list.xhtml new file mode 100644 index 00000000..8e92a519 --- /dev/null +++ b/web/admin/product/admin_product_list.xhtml @@ -0,0 +1,130 @@ + + + + + + #{msg.PAGE_TITLE_ADMIN_PRODUCTS} + + + #{msg.CONTENT_TITLE_ADMIN_PRODUCTS} + + + +
+ + + #{msg.ADMIN_TITLE_PRODUCT_NUMBER} + + + + + + + #{msg.ADMIN_TITLE_PRODUCT_TITLE} + #{product.productTitle} + + + + #{msg.SINGLE_PRODUCT_PRICE} + #{product.productPrice} + + + + #{msg.CATEGORY} + #{product.productCategory.categoryTitle} + + + + #{msg.IS_AVAILABLE} + #{product.productAvailability} + + +
+ +
+ +
+
+ #{msg.ADMIN_ADD_PRODUCT_TITLE} +
+ +
+ #{msg.PLEASE_FILL_ALL_FIELDS} + +
+
+ #{msg.ADMIN_ENTER_PRODUCT_TITLE} +
#{msg.ADMIN_ENTER_PRODUCT_TITLE_EXAMPLE}
+
+ +
+ +
+ +
+
+ +
+
+ #{msg.ADMIN_ENTER_SINGLE_PRODUCT_PRICE} +
#{msg.ADMIN_ENTER_PRODUCT_PRICE_EXAMPLE}
+
+ +
+ +
+ +
+
+ +
+
+ #{msg.CATEGORY} +
+ +
+ +
+ +
+
+ +
+
+ #{msg.IS_AVAILABLE} +
+ +
+ + + + +
+ +
+
+
+ + +
+
+
+ +
+ #{msg.ADMIN_ADD_PRODUCT_NOTICE_TITLE} +
    +
  • #{msg.ADMIN_ADD_PRODUCT_NOTICE_LINE1}
  • +
  • #{msg.ADMIN_ADD_PRODUCT_NOTICE_LINE2}
  • +
  • #{msg.ADMIN_ADD_PRODUCT_NOTICE_LINE3}
  • +
+
+
+
+