diff --git a/src/webapp/notes.md b/src/webapp/notes.md index 71df0fe..d6826f7 100644 --- a/src/webapp/notes.md +++ b/src/webapp/notes.md @@ -3,4 +3,6 @@ - set page title based on settings -- make pricing groups changeable in UI (event categories) \ No newline at end of file +- make pricing groups changeable in UI (event categories) + +- add webpack to project website to decrease file size \ No newline at end of file diff --git a/src/webapp/src/components/seatplan/editor/window.vue b/src/webapp/src/components/seatplan/editor/window.vue index 90ac3a6..064edc3 100644 --- a/src/webapp/src/components/seatplan/editor/window.vue +++ b/src/webapp/src/components/seatplan/editor/window.vue @@ -37,6 +37,7 @@ + @@ -310,7 +311,10 @@ sessionStorage.setItem( 'zoom', this.zoomFactor ); this.loadSeatplan(); } - } + }, + getSeatCount () { + console.log( 'Seat count is: ' + document.getElementsByClassName( 'seats' ).length ); + }, }, created () { this.runHook(); diff --git a/src/webapp/src/views/CartView.vue b/src/webapp/src/views/CartView.vue index f731860..fe057f3 100644 --- a/src/webapp/src/views/CartView.vue +++ b/src/webapp/src/views/CartView.vue @@ -26,6 +26,9 @@
Cart is empty. Please add tickets here +
+ remove_shopping_cart +
@@ -40,6 +43,19 @@ justify-content: center; } + .empty-cart-wrapper { + width: 100%; + height: 70vh; + display: flex; + justify-content: center; + align-items: center; + } + + .empty-cart { + display: block; + font-size: 20rem; + } + .cart-list { width: 50%; }