removed legend bgcolor select options and set color black, removed encoding from venue desc

This commit is contained in:
zino
2021-05-31 16:08:40 +02:00
parent f839dba4dd
commit 54af9c42f4
8 changed files with 6 additions and 3277 deletions

View File

@@ -1 +0,0 @@
#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

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

1635
client/dist/seatmap.js vendored

File diff suppressed because one or more lines are too long

View File

@@ -91,7 +91,7 @@ div.seatCharts-seat.unavailable {
}
#JSCLegendInner select option {
color: white;
color: #5c5c5c;
}
.jBox-Notice .jBox-content {

View File

@@ -4,7 +4,7 @@ export const config: I.Config = {
childHasVenueXML: false,
debug: true,
branch: "staging",
version: "0.2.0",
version: "0.2.1",
maxSelectedSeats: 10,
resources: {
master: {

View File

@@ -75,9 +75,10 @@ function appendLegendOptions(inElement: HTMLElement, inSelect: JQuery<HTMLSelect
});
}
function appendLegendOption(inSelect: JQuery<HTMLSelectElement>, inClassName: string, inVal: string, inText: string): void {
function appendLegendOption(inSelect: JQuery<HTMLSelectElement>, inClass: string, inVal: string, inText: string): void {
let option: JQuery<HTMLOptionElement> = jQuery('<option/>');
option.attr({ 'value': inVal, 'class': inClassName }).text(inText);
option.attr({ 'value': inVal, 'data-class': inClass }).text(inText);
// option.attr({ 'value': inVal, 'class': inClass }).text(inText); // add class to color dropdown bg
inSelect.append(option);
}

View File

@@ -29,7 +29,7 @@ export function changeSiteTitle(): void {
export function setEventInfo(inEventInfo: I.EventInfo): void {
const inputsWithValue = config.state.inputsWithValue!;
const desc: string = Utils.encodeCP850DecodeUTF8(inEventInfo.desc[0]);
const location: string = Utils.encodeCP850DecodeUTF8(inputsWithValue.venueLocation);
const location: string = inputsWithValue.venueLocation;
jQuery("#eventInfoDesc span.fl-heading-text")[0].childNodes[0].textContent = desc;
jQuery("#eventInfoLocation p")[0].childNodes[0].textContent = location;