This commit is contained in:
parent
7f9050d31d
commit
0162474bf4
@ -78,15 +78,15 @@ Vue.component('multiselect', window.VueMultiselect.default)
|
||||
const app = new Vue({
|
||||
el: '#app',
|
||||
data: {
|
||||
journey_id : window.location.pathname.split('/').at(-1) || gen_id(16),
|
||||
journey_step: window.location.hash.slice(1)==""?((window.location.pathname.split('/').at(1)=='view')?0:-1):parseInt(window.location.hash.slice(1)),
|
||||
journey_id : (window.location.pathname + '').split('/').at(-1) || gen_id(16),
|
||||
journey_step: window.location.hash.slice(1)==""?(((window.location.pathname + '').split('/').at(1)=='view')?0:-1):parseInt(window.location.hash.slice(1)),
|
||||
journey_step_data: {day:-1, section:-1},
|
||||
journey_data : {
|
||||
name: "New Journey",
|
||||
main:[],
|
||||
step_title:[],
|
||||
},
|
||||
view: window.location.pathname.split('/').at(1)=='view',
|
||||
view: (window.location.pathname + '').split('/').at(1)=='view',
|
||||
query:{hotel:[],flight:[],nominatim:[]},
|
||||
querying:{hotel:false,flight:false,place:false,food:false},
|
||||
impexp:"",
|
||||
|
@ -79,9 +79,9 @@
|
||||
<l-popup>
|
||||
<h1 class="row text-medium text-center">{{item.hotel.sname}}</h1>
|
||||
<span class="row text-small text-gray">{{item.hotel.display_name}}</span>
|
||||
<div class="row">
|
||||
<div class="row input">
|
||||
<textarea-autosize
|
||||
class="col-12 col-sm-10"
|
||||
class="col-12 col-sm-10 text-small"
|
||||
placeholder="Notes"
|
||||
v-model="item.hotel.notes"
|
||||
:min-height="30"
|
||||
@ -103,9 +103,9 @@
|
||||
<l-popup>
|
||||
<h1 class="row text-medium text-center">{{place.sname}}</h1>
|
||||
<span class="row text-small text-gray">{{place.display_name}}</span>
|
||||
<div class="row">
|
||||
<div class="row input">
|
||||
<textarea-autosize
|
||||
class="col-12 col-sm-10"
|
||||
class="col-12 col-sm-10 text-small"
|
||||
placeholder="Notes"
|
||||
v-model="place.notes"
|
||||
:min-height="30"
|
||||
@ -121,9 +121,9 @@
|
||||
<l-popup>
|
||||
<h1 class="row text-medium text-center">{{place.sname}}</h1>
|
||||
<span class="row text-small text-gray">{{place.display_name}}</span>
|
||||
<div class="row">
|
||||
<div class="row input">
|
||||
<textarea-autosize
|
||||
class="col-12 col-sm-10"
|
||||
class="col-12 col-sm-10 text-small"
|
||||
placeholder="Notes"
|
||||
v-model="place.notes"
|
||||
:min-height="30"
|
||||
@ -215,9 +215,9 @@
|
||||
<l-popup>
|
||||
<h1 class="row text-medium text-center">{{journey_data.main[journey_step_data.section].hotel.sname}}</h1>
|
||||
<span class="row text-small text-gray">{{journey_data.main[journey_step_data.section].hotel.display_name}}</span>
|
||||
<div class="row">
|
||||
<div class="row input">
|
||||
<textarea-autosize
|
||||
class="col-12 col-sm-10"
|
||||
class="col-12 col-sm-10 text-small"
|
||||
placeholder="Notes"
|
||||
v-model="journey_data.main[journey_step_data.section].hotel.notes"
|
||||
:min-height="30"
|
||||
@ -382,7 +382,7 @@
|
||||
<l-popup>
|
||||
<h1 class="row text-medium text-center">{{place.sname}}</h1>
|
||||
<span class="row text-small text-gray">{{place.display_name}}</span>
|
||||
<span class="row text-small text-white">{{place.notes}}</span>
|
||||
<span class="row text-small text-dark">{{place.notes}}</span>
|
||||
</l-popup>
|
||||
</l-marker>
|
||||
<l-marker v-for="place in journey_data.main[journey_step_data.section].places.activities" :lat-lng="place.latlon" v-if="place.step==undefined || place.step==-1" >
|
||||
@ -392,7 +392,7 @@
|
||||
<l-popup>
|
||||
<h1 class="row text-medium text-center">{{place.sname}}</h1>
|
||||
<span class="row text-small text-gray">{{place.display_name}}</span>
|
||||
<span class="row text-small text-white">{{place.notes}}</span>
|
||||
<span class="row text-small text-dark">{{place.notes}}</span>
|
||||
</l-popup>
|
||||
</l-marker>
|
||||
<l-marker v-for="place in journey_data.main[journey_step_data.section].places.restaurants" :lat-lng.sync="place.latlon">
|
||||
@ -402,7 +402,7 @@
|
||||
<l-popup>
|
||||
<h1 class="row text-medium text-center">{{place.sname}}</h1>
|
||||
<span class="row text-small text-gray">{{place.display_name}}</span>
|
||||
<span class="row text-small text-white">{{place.notes}}</span>
|
||||
<span class="row text-small text-dark">{{place.notes}}</span>
|
||||
</l-popup>
|
||||
</l-marker>
|
||||
</l-map>
|
||||
|
Loading…
x
Reference in New Issue
Block a user