From: Roland Häder Date: Thu, 24 Nov 2022 18:43:18 +0000 (+0100) Subject: Don't cherry-pick: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=8773327f677132c3b65b04302124221a0dcd8fd5;p=addressbook-war.git Don't cherry-pick: - removed JFinancials-related files - renamed layout.css to custom.css as this is the new name - made local variable final, still code is broken here - changed missing references from JFinancials -> Addressbook --- diff --git a/src/java/org/mxchange/addressbook/beans/addressbook/AddressbookWebSessionBean.java b/src/java/org/mxchange/addressbook/beans/addressbook/AddressbookWebSessionBean.java index 9b053878..3655a42e 100644 --- a/src/java/org/mxchange/addressbook/beans/addressbook/AddressbookWebSessionBean.java +++ b/src/java/org/mxchange/addressbook/beans/addressbook/AddressbookWebSessionBean.java @@ -409,7 +409,7 @@ public class AddressbookWebSessionBean extends BaseAddressbookBean implements Ad try { // Then try to look it up - Addressbook addressbook = this.addressbookBean.getAddressbookById(this.getAddressbookId()); + final Addressbook addressbook = this.addressbookBean.getAddressbookById(this.getAddressbookId()); // Fire event here this.loadedEvent.fire(new AddressbookLoadedEvent(addressbook)); diff --git a/web/WEB-INF/faces-config.xml b/web/WEB-INF/faces-config.xml index 10970fa6..cc753d73 100644 --- a/web/WEB-INF/faces-config.xml +++ b/web/WEB-INF/faces-config.xml @@ -11,7 +11,7 @@ @@ -940,14 +940,6 @@ /admin/business/opening_time/admin_opening_time_delete.xhtml - - /admin/financial/receipt_item/admin_receipt_item_edit.xhtml - - admin_list_receipt_items - /admin/financial/receipt_item/admin_receipt_item_list.xhtml - - - + diff --git a/web/admin/financial/receipt/admin_receipt_edit.xhtml b/web/admin/financial/receipt/admin_receipt_edit.xhtml deleted file mode 100644 index 6b2ce982..00000000 --- a/web/admin/financial/receipt/admin_receipt_edit.xhtml +++ /dev/null @@ -1,87 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/web/admin/financial/receipt/admin_receipt_list.xhtml b/web/admin/financial/receipt/admin_receipt_list.xhtml deleted file mode 100644 index 89afa08a..00000000 --- a/web/admin/financial/receipt/admin_receipt_list.xhtml +++ /dev/null @@ -1,531 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

- -

-
- - - - - - - - -
-
-
-
diff --git a/web/admin/financial/receipt_item/admin_receipt_item_edit.xhtml b/web/admin/financial/receipt_item/admin_receipt_item_edit.xhtml deleted file mode 100644 index ab1855df..00000000 --- a/web/admin/financial/receipt_item/admin_receipt_item_edit.xhtml +++ /dev/null @@ -1,87 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/web/admin/financial/receipt_item/admin_receipt_item_list.xhtml b/web/admin/financial/receipt_item/admin_receipt_item_list.xhtml deleted file mode 100644 index c986c129..00000000 --- a/web/admin/financial/receipt_item/admin_receipt_item_list.xhtml +++ /dev/null @@ -1,497 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

- -

-
- - - - - - - - -
-
-
-
diff --git a/web/resources/css/custom.css b/web/resources/css/custom.css new file mode 100644 index 00000000..3f53589a --- /dev/null +++ b/web/resources/css/custom.css @@ -0,0 +1,235 @@ +body { + font-size: 0.9em !important; + font-family: sans-serif !important; + margin: 0px; +} + +.page-header > h1 { + margin: 2px; +} + +a:link, a:visited { + color: #045491; + text-decoration: none; +} + +a:link:hover, a:visited:hover { + color: #045491; + text-decoration : underline; +} + +.page-header { + background-color: steelblue; + color: white; + padding: 5px; +} + +.page-content-gap { + height: 0.35em; + background-image: linear-gradient(steelblue, white); +} + +.page-footer { + background-color: lightblue; + overflow: auto; +} + +.page-header a:link, .page-header a:visited { + color: white; + font-weight : bold; + text-decoration: none; +} + +.page-header a:link:hover, .page-header a:visited:hover { + color: black; + font-weight : bold; + text-decoration : underline; +} + +.table-row { + width: 100%; + min-height: 20px; + margin: 2px; + overflow: auto; +} + +.para { + padding: 5px; +} + +.table-header { + text-align: center; + font-weight: bold; +} + +.table-data-label, .table-data-field { + display: block; + border: 1px solid #aaaaaa; + border-top-right-radius: 8px; + border-bottom-left-radius: 8px; +} + +.table-data-label { + font-weight: bold; + background-image: linear-gradient(#eeeeee, #aaaaaa); + height: 16px; + padding-left: 4px; +} + +.table-data-field { + background-color: #f5f5f5; + vertical-align: top; + padding-top: 1px; + padding-bottom: 1px; + padding-left: 2px; + padding-right: 1px; + margin-top: 2px; + min-height: 15px; +} + +#content-header { + border-color: grey; + background-image: linear-gradient(#eeeeee, #aaaaaa); + font-weight: bold; + font-size: 18px; + margin-bottom: 20px; + padding-left: 5px; + line-height: 20px; +} + +.table-header-column { + width: 100px; +} + +.table-header-column25 { + width: 25%; +} + +.table-data-column { + width: 100px; +} + +.item_price, .item_total_price { + text-align: right; +} + +.alert-danger { + color: red; +} + +.alert-danger:hover { + cursor: not-allowed; +} + +.alert-warning { + color: orange; +} + +.alert-info { + color: cornflowerblue; +} + +.message-container { + border: 1px solid grey; + border-top-right-radius: 8px; + border-bottom-left-radius: 8px; + background-color: ghostwhite; +} + +.message-medium { + width: 400px; +} + +.message-auto { + margin: auto 0px; +} + +.message-mini { + width: 160px; +} + +.message-header { + border-bottom: 1px solid grey; + background-image: linear-gradient(#eeeeee, #aaaaaa); + border-top-right-radius: 8px; + line-height: 18px; + text-align: center; + font-weight: bold; +} + +.user-status-confirmed, .customer-status-confirmed { + color: #00aa00; +} + +.user-status-unconfirmed, .customer-status-unconfirmed { + color: #00aaaa; +} + +.user-status-locked, .customer-status-locked { + color: #aa0000; +} + +.link-warning { + color: #aaaa00; +} + +.link-danger { + color: #aa0000; +} + +#content-header { + border: 1px solid grey; +} + +#menu-content-wrapper { + overflow: auto; +} + +.button-danger { + border-color: #ee0000; + background-color: #880000; + color: white; +} + +.button-warning { + border-color: #eeee00; + background-color: #aaaa00; + color: white; +} + +.button-danger:hover { + border-color: #dd0000; + background-color: #aa0000; + color: #eeeeee; +} + +.button-warning:hover { + border-color: #dddd00; + background-color: #cccc00; + color: #eeeeee; +} + +#menu-content-wrapper::after { + clear: both; +} + +.table-row::after { + clear: both; +} + +#footer::after { + clear: both; +} + +.column-selector { + float: right; +} + +.ui-noborder { + border: initial; +} + +.ui-transparent-widget > div { + background-color: transparent; + background-image: initial; +} diff --git a/web/resources/css/layout.css b/web/resources/css/layout.css deleted file mode 100644 index 3f53589a..00000000 --- a/web/resources/css/layout.css +++ /dev/null @@ -1,235 +0,0 @@ -body { - font-size: 0.9em !important; - font-family: sans-serif !important; - margin: 0px; -} - -.page-header > h1 { - margin: 2px; -} - -a:link, a:visited { - color: #045491; - text-decoration: none; -} - -a:link:hover, a:visited:hover { - color: #045491; - text-decoration : underline; -} - -.page-header { - background-color: steelblue; - color: white; - padding: 5px; -} - -.page-content-gap { - height: 0.35em; - background-image: linear-gradient(steelblue, white); -} - -.page-footer { - background-color: lightblue; - overflow: auto; -} - -.page-header a:link, .page-header a:visited { - color: white; - font-weight : bold; - text-decoration: none; -} - -.page-header a:link:hover, .page-header a:visited:hover { - color: black; - font-weight : bold; - text-decoration : underline; -} - -.table-row { - width: 100%; - min-height: 20px; - margin: 2px; - overflow: auto; -} - -.para { - padding: 5px; -} - -.table-header { - text-align: center; - font-weight: bold; -} - -.table-data-label, .table-data-field { - display: block; - border: 1px solid #aaaaaa; - border-top-right-radius: 8px; - border-bottom-left-radius: 8px; -} - -.table-data-label { - font-weight: bold; - background-image: linear-gradient(#eeeeee, #aaaaaa); - height: 16px; - padding-left: 4px; -} - -.table-data-field { - background-color: #f5f5f5; - vertical-align: top; - padding-top: 1px; - padding-bottom: 1px; - padding-left: 2px; - padding-right: 1px; - margin-top: 2px; - min-height: 15px; -} - -#content-header { - border-color: grey; - background-image: linear-gradient(#eeeeee, #aaaaaa); - font-weight: bold; - font-size: 18px; - margin-bottom: 20px; - padding-left: 5px; - line-height: 20px; -} - -.table-header-column { - width: 100px; -} - -.table-header-column25 { - width: 25%; -} - -.table-data-column { - width: 100px; -} - -.item_price, .item_total_price { - text-align: right; -} - -.alert-danger { - color: red; -} - -.alert-danger:hover { - cursor: not-allowed; -} - -.alert-warning { - color: orange; -} - -.alert-info { - color: cornflowerblue; -} - -.message-container { - border: 1px solid grey; - border-top-right-radius: 8px; - border-bottom-left-radius: 8px; - background-color: ghostwhite; -} - -.message-medium { - width: 400px; -} - -.message-auto { - margin: auto 0px; -} - -.message-mini { - width: 160px; -} - -.message-header { - border-bottom: 1px solid grey; - background-image: linear-gradient(#eeeeee, #aaaaaa); - border-top-right-radius: 8px; - line-height: 18px; - text-align: center; - font-weight: bold; -} - -.user-status-confirmed, .customer-status-confirmed { - color: #00aa00; -} - -.user-status-unconfirmed, .customer-status-unconfirmed { - color: #00aaaa; -} - -.user-status-locked, .customer-status-locked { - color: #aa0000; -} - -.link-warning { - color: #aaaa00; -} - -.link-danger { - color: #aa0000; -} - -#content-header { - border: 1px solid grey; -} - -#menu-content-wrapper { - overflow: auto; -} - -.button-danger { - border-color: #ee0000; - background-color: #880000; - color: white; -} - -.button-warning { - border-color: #eeee00; - background-color: #aaaa00; - color: white; -} - -.button-danger:hover { - border-color: #dd0000; - background-color: #aa0000; - color: #eeeeee; -} - -.button-warning:hover { - border-color: #dddd00; - background-color: #cccc00; - color: #eeeeee; -} - -#menu-content-wrapper::after { - clear: both; -} - -.table-row::after { - clear: both; -} - -#footer::after { - clear: both; -} - -.column-selector { - float: right; -} - -.ui-noborder { - border: initial; -} - -.ui-transparent-widget > div { - background-color: transparent; - background-image: initial; -}