mirror of
https://github.com/janishutz/libreevent.git
synced 2025-11-25 05:14:23 +00:00
add iecrasher + work on user facing seat plan ui
This commit is contained in:
24
src/webapp/public/iecrasher.html
Normal file
24
src/webapp/public/iecrasher.html
Normal file
@@ -0,0 +1,24 @@
|
||||
|
||||
|
||||
<html><head>
|
||||
<style type="text/css">
|
||||
#a {
|
||||
margin:0 10px 10px;
|
||||
}
|
||||
|
||||
#b {
|
||||
width:100%;
|
||||
}
|
||||
|
||||
</style>
|
||||
<title>IE Crasher</title>
|
||||
</head>
|
||||
<body>
|
||||
<table><tr><td>
|
||||
<div id="a">
|
||||
<form id="b">
|
||||
<input type="text" name="test"/>
|
||||
</div>
|
||||
</td><td width="1"></td></tr></table>
|
||||
</body></html>
|
||||
|
||||
@@ -14,9 +14,9 @@
|
||||
<span class="material-symbols-outlined" :style="seat.scaling" @click="selectSeat( seat.row, seat.seat )" v-if="seat.status == 'av'"
|
||||
:title="seat.displayName + ', Available'">living</span>
|
||||
<span class="material-symbols-outlined" :style="seat.scaling" v-else-if="seat.status == 'nav'"
|
||||
:title="seat.displayName + ', Unavailable'">close</span>
|
||||
:title="seat.displayName + ', Unavailable'">disabled_by_default</span>
|
||||
<span class="material-symbols-outlined" :style="seat.scaling" v-else-if="seat.status == 'sel'"
|
||||
:title="seat.displayName + ', Selected'">done</span>
|
||||
:title="seat.displayName + ', Selected'" @click="deselectSeat( seat.row, seat.seat )">check_box</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -105,8 +105,9 @@ export default {
|
||||
this.seats[ seatObject[ 'row' ] ][ seatObject[ 'seat' ] ][ 'status' ] = 'av';
|
||||
// TODO: Make server call to deselect ticket
|
||||
},
|
||||
validateSeatSelection( seatObject ) {
|
||||
validateSeatSelection( seatObject, selectedTicketOption ) {
|
||||
this.seats[ seatObject[ 'row' ] ][ seatObject[ 'seat' ] ][ 'status' ] = 'sel';
|
||||
this.seats[ seatObject[ 'row' ] ][ seatObject[ 'seat' ] ][ 'ticketOption' ] = selectedTicketOption;
|
||||
// TODO: Make server call to reserve ticket
|
||||
}
|
||||
},
|
||||
|
||||
9
src/webapp/src/components/seatplan/userApp/sidebar.vue
Normal file
9
src/webapp/src/components/seatplan/userApp/sidebar.vue
Normal file
@@ -0,0 +1,9 @@
|
||||
<!--
|
||||
* libreevent - sidebar.vue
|
||||
*
|
||||
* Created by Janis Hutz 07/03/2023, Licensed under the GPL V3 License
|
||||
* https://janishutz.com, development@janishutz.com
|
||||
*
|
||||
*
|
||||
-->
|
||||
|
||||
Reference in New Issue
Block a user