Style edits
This commit is contained in:
@@ -2,7 +2,6 @@
|
|||||||
<div class="q-pa-xs row q-gutter-xs">
|
<div class="q-pa-xs row q-gutter-xs">
|
||||||
<q-card
|
<q-card
|
||||||
flat
|
flat
|
||||||
bordered
|
|
||||||
class="col-lg-4 col-md-6 col-sm-8 col-xs-12">
|
class="col-lg-4 col-md-6 col-sm-8 col-xs-12">
|
||||||
<q-card-section>
|
<q-card-section>
|
||||||
<div class="text-h5 q-mt-none q-mb-xs">New Booking</div>
|
<div class="text-h5 q-mt-none q-mb-xs">New Booking</div>
|
||||||
@@ -15,7 +14,9 @@
|
|||||||
clickable
|
clickable
|
||||||
@click="boatSelect = true">
|
@click="boatSelect = true">
|
||||||
<q-item-section>
|
<q-item-section>
|
||||||
<q-card v-if="bookingForm.boat">
|
<q-card
|
||||||
|
v-if="bookingForm.boat"
|
||||||
|
flat>
|
||||||
<q-card-section>
|
<q-card-section>
|
||||||
<q-img
|
<q-img
|
||||||
:src="bookingForm.boat?.imgSrc"
|
:src="bookingForm.boat?.imgSrc"
|
||||||
@@ -42,11 +43,11 @@
|
|||||||
color="primary"
|
color="primary"
|
||||||
label="Start" />
|
label="Start" />
|
||||||
</q-item-section>
|
</q-item-section>
|
||||||
<q-item-section class="text-caption">
|
<q-item-section class="text-body2">
|
||||||
{{
|
{{
|
||||||
date.formatDate(
|
date.formatDate(
|
||||||
new Date(bookingForm.startDate as string),
|
new Date(bookingForm.startDate as string),
|
||||||
'ddd MMM Do @ hh:mm A'
|
'ddd MMM Do hh:mm A'
|
||||||
)
|
)
|
||||||
}}
|
}}
|
||||||
</q-item-section>
|
</q-item-section>
|
||||||
@@ -57,11 +58,11 @@
|
|||||||
color="primary"
|
color="primary"
|
||||||
label="End" />
|
label="End" />
|
||||||
</q-item-section>
|
</q-item-section>
|
||||||
<q-item-section class="text-caption">
|
<q-item-section class="text-body2">
|
||||||
{{
|
{{
|
||||||
date.formatDate(
|
date.formatDate(
|
||||||
new Date(bookingForm.endDate as string),
|
new Date(bookingForm.endDate as string),
|
||||||
'ddd MMM Do @ hh:mm A'
|
'ddd MMM Do hh:mm A'
|
||||||
)
|
)
|
||||||
}}
|
}}
|
||||||
</q-item-section>
|
</q-item-section>
|
||||||
@@ -191,6 +192,7 @@ const bookingDuration = computed((): { hours: number; minutes: number } => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
const onReset = () => {
|
const onReset = () => {
|
||||||
|
interval.value = undefined;
|
||||||
bookingForm.value = { ...newForm };
|
bookingForm.value = { ...newForm };
|
||||||
};
|
};
|
||||||
const onSubmit = () => {
|
const onSubmit = () => {
|
||||||
|
|||||||
Reference in New Issue
Block a user