Updated Events form
This commit is contained in:
parent
86c03fa5d9
commit
3d54de7976
1 changed files with 80 additions and 51 deletions
|
|
@ -176,6 +176,17 @@
|
||||||
<q-dialog v-model="formDialog.show" position="top">
|
<q-dialog v-model="formDialog.show" position="top">
|
||||||
<q-card class="q-pa-lg q-pt-xl lnbits__dialog-card">
|
<q-card class="q-pa-lg q-pt-xl lnbits__dialog-card">
|
||||||
<q-form @submit="sendEventData" class="q-gutter-md">
|
<q-form @submit="sendEventData" class="q-gutter-md">
|
||||||
|
<div class="row">
|
||||||
|
<div class="col">
|
||||||
|
<q-input
|
||||||
|
filled
|
||||||
|
dense
|
||||||
|
v-model.trim="formDialog.data.name"
|
||||||
|
type="name"
|
||||||
|
label="Title of event "
|
||||||
|
></q-input>
|
||||||
|
</div>
|
||||||
|
<div class="col q-pl-sm">
|
||||||
<q-select
|
<q-select
|
||||||
filled
|
filled
|
||||||
dense
|
dense
|
||||||
|
|
@ -185,13 +196,9 @@
|
||||||
label="Wallet *"
|
label="Wallet *"
|
||||||
>
|
>
|
||||||
</q-select>
|
</q-select>
|
||||||
<q-input
|
</div>
|
||||||
filled
|
</div>
|
||||||
dense
|
|
||||||
v-model.trim="formDialog.data.name"
|
|
||||||
type="name"
|
|
||||||
label="Name of event "
|
|
||||||
></q-input>
|
|
||||||
<q-input
|
<q-input
|
||||||
filled
|
filled
|
||||||
dense
|
dense
|
||||||
|
|
@ -199,27 +206,44 @@
|
||||||
type="textarea"
|
type="textarea"
|
||||||
label="Info about the event "
|
label="Info about the event "
|
||||||
></q-input>
|
></q-input>
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-4">Ticket closing date</div>
|
||||||
|
<div class="col-8">
|
||||||
<q-input
|
<q-input
|
||||||
filled
|
filled
|
||||||
dense
|
dense
|
||||||
v-model.trim="formDialog.data.closing_date"
|
v-model.trim="formDialog.data.closing_date"
|
||||||
type="date"
|
type="date"
|
||||||
label="Closing for tickets "
|
|
||||||
></q-input>
|
></q-input>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-4">Event begins</div>
|
||||||
|
<div class="col-8">
|
||||||
<q-input
|
<q-input
|
||||||
filled
|
filled
|
||||||
dense
|
dense
|
||||||
v-model.trim="formDialog.data.event_start_date"
|
v-model.trim="formDialog.data.event_start_date"
|
||||||
type="date"
|
type="date"
|
||||||
label="Event begins "
|
|
||||||
></q-input>
|
></q-input>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-4">Event ends</div>
|
||||||
|
<div class="col-8">
|
||||||
<q-input
|
<q-input
|
||||||
filled
|
filled
|
||||||
dense
|
dense
|
||||||
v-model.trim="formDialog.data.event_end_date"
|
v-model.trim="formDialog.data.event_end_date"
|
||||||
type="date"
|
type="date"
|
||||||
label="Event ends "
|
|
||||||
></q-input>
|
></q-input>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="row">
|
||||||
|
<div class="col">
|
||||||
<q-input
|
<q-input
|
||||||
filled
|
filled
|
||||||
dense
|
dense
|
||||||
|
|
@ -227,6 +251,8 @@
|
||||||
type="number"
|
type="number"
|
||||||
label="Amount of tickets "
|
label="Amount of tickets "
|
||||||
></q-input>
|
></q-input>
|
||||||
|
</div>
|
||||||
|
<div class="col q-pl-sm">
|
||||||
<q-input
|
<q-input
|
||||||
filled
|
filled
|
||||||
dense
|
dense
|
||||||
|
|
@ -234,6 +260,9 @@
|
||||||
type="number"
|
type="number"
|
||||||
label="Price per ticket "
|
label="Price per ticket "
|
||||||
></q-input>
|
></q-input>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<div class="row q-mt-lg">
|
<div class="row q-mt-lg">
|
||||||
<q-btn
|
<q-btn
|
||||||
v-if="formDialog.data.id"
|
v-if="formDialog.data.id"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue