fixed missing cents in price generation, cleaned seatmap css
This commit is contained in:
1
client/dist/inject.css
vendored
Normal file
1
client/dist/inject.css
vendored
Normal file
@@ -0,0 +1 @@
|
||||
#containerBookingBtn{display:none;margin:0;text-align:center}#get_flash{display:none}.ui-dialog-title{text-align:center;display:none}.ui-widget-overlay{background:#fff;opacity:1;width:100vw;height:100vh}#openSeatmap img{width:64px}#openSeatmap{padding:1rem!important;cursor:pointer;border-radius:5px}#openSeatmap span{font-size:1.2rem}#foobarParent{display:none}div#dialogSeatmap{padding-top:0}.ui-widget-header{background:#fff;border:1px solid #c6c6c6;border-bottom-right-radius:0;border-bottom-left-radius:0}.ui-dialog{background:#fff;left:0!important;padding:0;top:0!important;right:0!important}.ui-dialog .ui-dialog-content{padding:0}.ui-dialog-titlebar{margin-left:0;margin-right:0;padding:0!important;display:none}#iframeSeatmap{height:100vh;background:#fff;width:100%}.ui-corner-all{border-radius:0}.ui-widget{border:none!important}
|
||||
1635
client/dist/inject.js
vendored
Normal file
1635
client/dist/inject.js
vendored
Normal file
File diff suppressed because one or more lines are too long
1
client/dist/seatmap.css
vendored
Normal file
1
client/dist/seatmap.css
vendored
Normal file
File diff suppressed because one or more lines are too long
1635
client/dist/seatmap.js
vendored
Normal file
1635
client/dist/seatmap.js
vendored
Normal file
File diff suppressed because one or more lines are too long
@@ -27,15 +27,9 @@ div.seatCharts-seat {
|
||||
border-radius: 0.2vw;
|
||||
}
|
||||
|
||||
/* div.seatCharts-seat,
|
||||
div.seatCharts-seat.available {
|
||||
border: 0.1rem solid #5c5c5c;
|
||||
} */
|
||||
|
||||
div.seatCharts-seat.selected,
|
||||
div.seatCharts-seat.focused {
|
||||
border: 0.1vw solid black;
|
||||
/* filter: brightness(2); */
|
||||
}
|
||||
|
||||
div.seatCharts-seat.selected {
|
||||
@@ -50,10 +44,6 @@ select#dropdownSeatmap {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
/* #loftloader-wrapper .loader-inner {
|
||||
top: 50%;
|
||||
} */
|
||||
|
||||
ul.seatCharts-legendList {
|
||||
list-style: none;
|
||||
margin: 0;
|
||||
@@ -145,12 +135,6 @@ select#dropdownLegend, select#dropdownSeatmap, .dropdownBuyerTypes {
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
/* .cartItemCross {
|
||||
text-align: right;
|
||||
line-height: 0;
|
||||
cursor: pointer;
|
||||
} */
|
||||
|
||||
#modalCart-overlay .uabb-overlay {
|
||||
background: white;
|
||||
}
|
||||
@@ -180,6 +164,49 @@ span.trimChar {
|
||||
font-size: 1vw;
|
||||
}
|
||||
|
||||
#btnCloseModal {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
#htmlSeatmapInner {
|
||||
height: 66vh;
|
||||
}
|
||||
|
||||
#htmlSeatmapInner .fl-module-content, #htmlSeatmapInner .fl-html {
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
#containerSeatmapInner {
|
||||
border: 1px solid black;
|
||||
box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
|
||||
}
|
||||
|
||||
#modalCart-overlay {
|
||||
overflow-y: scroll;
|
||||
}
|
||||
|
||||
#bottomHTML {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
#bottomHTML h6, #bottomHTML a {
|
||||
color: #999;
|
||||
}
|
||||
|
||||
#modalCartImportantNote {
|
||||
margin: 0 0 20px 0;
|
||||
display: none;
|
||||
}
|
||||
|
||||
#modalCart-overlay .uabb-modal {
|
||||
pointer-events: auto;
|
||||
width: 100% !important;
|
||||
height: 100%;
|
||||
overflow-y: scroll;
|
||||
top: 0 !important;
|
||||
transform: none !important;
|
||||
}
|
||||
|
||||
/**
|
||||
* ==============================================
|
||||
* Dot Pulse
|
||||
@@ -259,48 +286,4 @@ span.trimChar {
|
||||
100% {
|
||||
box-shadow: 10014px 0 0 -5px #5c5c5c;
|
||||
}
|
||||
}
|
||||
|
||||
#btnCloseModal {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
#htmlSeatmapInner {
|
||||
/* background: grey; */
|
||||
height: 66vh;
|
||||
}
|
||||
|
||||
#htmlSeatmapInner .fl-module-content, #htmlSeatmapInner .fl-html {
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
#containerSeatmapInner {
|
||||
border: 1px solid black;
|
||||
box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
|
||||
}
|
||||
|
||||
#modalCart-overlay {
|
||||
overflow-y: scroll;
|
||||
}
|
||||
|
||||
#bottomHTML {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
#bottomHTML h6, #bottomHTML a {
|
||||
color: #999;
|
||||
}
|
||||
|
||||
#modalCartImportantNote {
|
||||
margin: 0 0 20px 0;
|
||||
display: none;
|
||||
}
|
||||
|
||||
#modalCart-overlay .uabb-modal {
|
||||
pointer-events: auto;
|
||||
width: 100% !important;
|
||||
height: 100%;
|
||||
overflow-y: scroll;
|
||||
top: 0 !important;
|
||||
transform: none !important;
|
||||
}
|
||||
@@ -85,7 +85,7 @@ export function generateCheckoutUrl(): string | undefined {
|
||||
}
|
||||
|
||||
export function getPriceInEur(inPrice: string): string {
|
||||
const price: number = parseInt(inPrice);
|
||||
const price: number = parseFloat(inPrice);
|
||||
return new Intl.NumberFormat('de-DE', { style: 'currency', currency: 'EUR' }).format(price);
|
||||
}
|
||||
|
||||
|
||||
@@ -12,13 +12,7 @@ function createCartBtnText(): string {
|
||||
|
||||
function createModalCartBtnText(): string {
|
||||
const numTickets: number = config.state.selectedSeatsArr.length;
|
||||
|
||||
return `Summe (${numTickets} Plätze) ${config.state.priceOverallEur}`;
|
||||
|
||||
// if (config.state.priceOverall !== "")
|
||||
// return `Summe (${numTickets} Plätze) €${config.state.priceOverall}`;
|
||||
// else
|
||||
// return `Summe (0 Plätze) €0,00`;
|
||||
}
|
||||
|
||||
export function showHideBtnCartLoading(inSwitch: string): void {
|
||||
|
||||
Reference in New Issue
Block a user