mirror of
https://github.com/janishutz/libreevent.git
synced 2025-11-25 05:14:23 +00:00
lots of progress on docs
This commit is contained in:
@@ -102,8 +102,10 @@
|
||||
delete this.notifications[ this.queue[ 0 ] ];
|
||||
this.queue.reverse();
|
||||
this.queue.pop();
|
||||
$( '.message-box' ).css( 'z-index', 20 );
|
||||
} else {
|
||||
this.messageType = 'hide';
|
||||
$( '.message-box' ).css( 'z-index', -1 );
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -122,12 +124,10 @@
|
||||
}
|
||||
</script>
|
||||
|
||||
<!-- TODO: Optimize for mobile -->
|
||||
|
||||
<style scoped>
|
||||
.message-box {
|
||||
position: fixed;
|
||||
z-index: 10;
|
||||
z-index: -1;
|
||||
color: white;
|
||||
transition: all 0.5s;
|
||||
width: 95vw;
|
||||
@@ -183,6 +183,7 @@
|
||||
}
|
||||
|
||||
.progress {
|
||||
z-index: 20;
|
||||
background-color: rgb(0, 0, 99);
|
||||
}
|
||||
|
||||
|
||||
@@ -342,7 +342,6 @@
|
||||
this.$refs.notification.createNotification( 'Unauthenticated', 5, 'ok', 'error' );
|
||||
}
|
||||
} );
|
||||
// TODO: add warning if no component has a seat start point if any component is a seat component
|
||||
},
|
||||
deploy () {
|
||||
if ( !this.getSeatCount() ) {
|
||||
@@ -369,11 +368,8 @@
|
||||
this.$refs.notification.createNotification( 'Unauthenticated', 5, 'ok', 'error' );
|
||||
}
|
||||
} );
|
||||
// TODO: add warning if no component has a seat start point if any component is a seat component
|
||||
},
|
||||
addNewElement () {
|
||||
// TODO: Check that this algorithm actually works in practice. If not, replace with one that
|
||||
// searches for the first available ID or uses a var to determine ID.
|
||||
this.draggables[ Object.keys( this.draggables ).length + 1 ] = { 'x': 100, 'y':100, 'h': 100, 'w': 250, 'active': false, 'draggable': true, 'resizable': true, 'id': ( Object.keys( this.draggables ).length + 1 ), 'origin': 1, 'shape':'rectangular', 'type': 'seat', 'startingRow': 1, 'seatNumberingPosition': Object.keys( this.draggables ).length, 'sector': 'A', 'text': { 'text': 'TestText', 'textSize': 20, 'colour': '#20FFFF' }, 'ticketCount': 1, 'numberingDirection': 'left', 'category': '1' };
|
||||
this.saveHistory();
|
||||
document.getElementById( 'parent' ).scrollTop = 0;
|
||||
|
||||
@@ -73,7 +73,7 @@
|
||||
display: none;
|
||||
height: 100vh;
|
||||
top: 0;
|
||||
width: 30vw;
|
||||
width: 70vw;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
background-color: var( --accent-background );
|
||||
|
||||
Reference in New Issue
Block a user