wip
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
soraefir
2025-02-28 01:43:32 +01:00
parent 1960036980
commit 7af6d04dd1
6 changed files with 128 additions and 114 deletions

View File

@@ -3,7 +3,6 @@ script(src="https://unpkg.com/leaflet")
script(src="https://unpkg.com/vue@2")
script(src="https://unpkg.com/vue2-datepicker")
script(src="https://unpkg.com/vue-textarea-autosize")
script(src="https://unpkg.com/vue-multiselect@2")
script(src="https://unpkg.com/vue2-leaflet")
script(src="https://unpkg.com/sortablejs")
script(src="https://unpkg.com/vuedraggable")

View File

@@ -11,15 +11,7 @@ head
link(rel="stylesheet", href="/public/css/index.css")
link(rel="stylesheet", href="https://unpkg.com/vue2-datepicker/index.css")
link(
rel="stylesheet",
href="https://unpkg.com/vue-multiselect@2/dist/vue-multiselect.min.css"
)
link(rel="stylesheet", href="https://unpkg.com/leaflet/dist/leaflet.css")
link(
rel="stylesheet",
href="https://unpkg.com/leaflet.awesome-markers/dist/leaflet.awesome-markers.css"
)
link(
rel="stylesheet",
href="https://unpkg.com/@fortawesome/fontawesome-free/css/all.min.css"

View File

@@ -1,10 +1,12 @@
.row.text-center
.row
.input.text-dark(style="width: 100%")
input(
type="search"
@input="search_active"
placeholder="Search ... "
style="width:85%;"
)
.spinner(v-if="query.load")
ul
li(
v-for="item in query.res"

View File

@@ -1,45 +1,45 @@
div
div
.row.text-center
div
label Hotel
multiselect#ajax(
v-model="journey.leg_get().hotel",
label="sname",
track-by="place_id",
placeholder="Type to search",
open-direction="bottom",
:options="query.res",
:searchable="true",
:loading="query.type=='hotel'",
:internal-search="false",
:clear-on-select="false",
:options-limit="50",
:limit="1",
:max-height="600",
@search-change="search_hotel"
)
.row.text-center
div
label Restoration
multiselect#ajax(
v-model="journey.leg_get().places.restaurants",
label="sname",
track-by="place_id",
placeholder="Type to search",
open-direction="bottom",
:multiple="true",
:options="query.res",
:searchable="true",
:loading="query.type == 'restaurant'",
:internal-search="false",
:clear-on-select="false",
:options-limit="50",
:limit="10",
:max-height="600",
@search-change="search_restaurant"
)
.row.text-center
//- .row.text-center
//- div
//- label Hotel
//- multiselect#ajax(
//- v-model="journey.leg_get().hotel",
//- label="sname",
//- track-by="place_id",
//- placeholder="Type to search",
//- open-direction="bottom",
//- :options="query.res",
//- :searchable="true",
//- :loading="query.type=='hotel'",
//- :internal-search="false",
//- :clear-on-select="false",
//- :options-limit="50",
//- :limit="1",
//- :max-height="600",
//- @search-change="search_hotel"
//- )
//- .row.text-center
//- div
//- label Restoration
//- multiselect#ajax(
//- v-model="journey.leg_get().places.restaurants",
//- label="sname",
//- track-by="place_id",
//- placeholder="Type to search",
//- open-direction="bottom",
//- :multiple="true",
//- :options="query.res",
//- :searchable="true",
//- :loading="query.type == 'restaurant'",
//- :internal-search="false",
//- :clear-on-select="false",
//- :options-limit="50",
//- :limit="10",
//- :max-height="600",
//- @search-change="search_restaurant"
//- )
//- .row.text-center
div
label Activities
multiselect#ajax(