mirror of
https://github.com/janishutz/libreevent.git
synced 2025-11-25 13:24:24 +00:00
various bugfixes
This commit is contained in:
@@ -86,23 +86,26 @@ export default {
|
||||
methods: {
|
||||
updateOrigin () {
|
||||
if ( this.origin === 1 ) {
|
||||
this.style = 'border-style: none none solid none';
|
||||
this.style = 'border-style: none none solid none;';
|
||||
this.circularStyle = 'top: 0; right: 100%;';
|
||||
this.trapezoidStyle = 'rotate: 45deg';
|
||||
} else if ( this.origin === 2 ) {
|
||||
this.style = 'border-style: none solid none none';
|
||||
this.style = 'border-style: none solid none none;';
|
||||
this.circularStyle = 'top: 0; right: 0;';
|
||||
this.trapezoidStyle = 'rotate: 135deg';
|
||||
} else if ( this.origin === 3 ) {
|
||||
this.style = 'border-style: solid none none none';
|
||||
this.style = 'border-style: solid none none none;';
|
||||
this.circularStyle = 'top: -100%; right: 0;';
|
||||
this.trapezoidStyle = 'rotate: 225deg';
|
||||
} else if ( this.origin === 4 ) {
|
||||
this.style = 'border-style: none none none solid';
|
||||
this.style = 'border-style: none none none solid;';
|
||||
this.circularStyle = 'top: -100%; right: 100%;';
|
||||
this.trapezoidStyle = 'rotate: 315deg';
|
||||
}
|
||||
this.style += ` background-color: ${this.color.fg}; color: ${this.color.fg}`;
|
||||
this.style += ` background-color: ${this.color}; color: ${this.color}`;
|
||||
this.circularStyle += ` background-color: ${this.color}; color: ${this.color}`;
|
||||
this.trapezoidStyle += ` background-color: ${this.color}; color: ${this.color}`;
|
||||
console.log( this.style );
|
||||
},
|
||||
},
|
||||
watch: {
|
||||
|
||||
@@ -31,8 +31,9 @@
|
||||
|
||||
<stagesSeatplanComponent :ref="'component' + draggable.id" v-else-if="draggable.type == 'stage'" :origin="draggable.origin" :shape="draggable.shape"></stagesSeatplanComponent>
|
||||
<standingSeatplanComponent :ref="'component' + draggable.id" v-else-if="draggable.type == 'stand'" :origin="draggable.origin"
|
||||
:shape="draggable.shape" @click="standing( draggable.id )"></standingSeatplanComponent>
|
||||
<textFieldSeatplanComponent :ref="'component' + draggable.id" v-else-if="draggable.type == 'text'" :text="draggable.text.text" :text-size="draggable.text.textSize" :colour="draggable.text.colour" :origin="draggable.origin" :scale-factor="scaleFactor"></textFieldSeatplanComponent>
|
||||
:shape="draggable.shape" @click="standing( draggable.id )" :color="draggable.data.categoryInfo.color"></standingSeatplanComponent>
|
||||
<textFieldSeatplanComponent :ref="'component' + draggable.id" v-else-if="draggable.type == 'text'" :text="draggable.text.text" :text-size="draggable.text.textSize"
|
||||
:colour="draggable.text.colour" :origin="draggable.origin" :scale-factor="scaleFactor"></textFieldSeatplanComponent>
|
||||
</Vue3DraggableResizable>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -83,7 +83,7 @@
|
||||
<tr>
|
||||
<td><div class="category-details">Colour:</div></td>
|
||||
<td>
|
||||
{{ event.currency }} <input type="text" data-coloris v-model="category.fg" onkeydown="return false;">
|
||||
<input type="text" data-coloris v-model="category.fg" onkeydown="return false;">
|
||||
</td>
|
||||
</tr>
|
||||
<tr v-if="!hasSeatPlan">
|
||||
|
||||
@@ -44,7 +44,6 @@
|
||||
let self = this;
|
||||
|
||||
source.onmessage = ( e ) => {
|
||||
console.log( e );
|
||||
if ( e.data === 'ready' ) {
|
||||
self.$refs.notification.cancelNotification( startNotification );
|
||||
self.$refs.notification.createNotification( 'Your tickets are ready! Starting download...', 10, 'progress', 'normal' );
|
||||
|
||||
Reference in New Issue
Block a user