mirror of
https://gitlab.dit.htwk-leipzig.de/htwk-software/htwkalender.git
synced 2025-08-06 19:59:13 +02:00
fix:#5 styling for time inputs
This commit is contained in:
@@ -17,28 +17,36 @@
|
||||
:class="flexSpecs"
|
||||
:placeholder="$t('roomFinderPage.dropDownSelect')"
|
||||
:empty-message="$t('roomFinderPage.noRoomsAvailable')"
|
||||
:auto-filter-focus="true"
|
||||
date-format="dd.mm.yy"
|
||||
panel-class="min-w-min"
|
||||
touchUI
|
||||
/>
|
||||
<div class="break"/>
|
||||
<Calendar
|
||||
v-model="start"
|
||||
type="time"
|
||||
placeholder="start"
|
||||
time-only
|
||||
hourFormat="24"
|
||||
date-format="HH:mm"
|
||||
:class="[{'p-invalid':isLater}, flexSpecs]"
|
||||
panel-class="min-w-min"
|
||||
touchUI
|
||||
/>
|
||||
<Calendar
|
||||
v-model="end"
|
||||
type="time"
|
||||
time-only
|
||||
hourFormat="24"
|
||||
placeholder="end"
|
||||
date-format="HH:mm"
|
||||
:class="[{'p-invalid':isLater}, flexSpecs]"
|
||||
panel-class="min-w-min"
|
||||
touchUI
|
||||
/>
|
||||
</template>
|
||||
<template #content>
|
||||
<DataTable v-model:filters="filters" :value="availableRooms" data-key="id" filter-display="row" paginator :rows="10" :global-filter-fields="['room']" >
|
||||
<Column field="id" header="ID"></Column>
|
||||
<Column field="room" sortable header="Room">
|
||||
<template #filter="{ filterModel, filterCallback }">
|
||||
<InputText v-model="filterModel.value" type="text" class="p-column-filter" placeholder="Search by Room" @input="filterCallback()" />
|
||||
|
Reference in New Issue
Block a user