lots of progress on docs

This commit is contained in:
2023-09-30 16:56:42 +02:00
parent 5a3323a0ea
commit ee7b90cd93
21 changed files with 113 additions and 196 deletions

View File

@@ -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);
}

View File

@@ -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;

View File

@@ -73,7 +73,7 @@
display: none;
height: 100vh;
top: 0;
width: 30vw;
width: 70vw;
padding: 0;
margin: 0;
background-color: var( --accent-background );