This commit is contained in:
@@ -1,13 +1,11 @@
|
||||
script(src="https://unpkg.com/leaflet")
|
||||
script(src="https://unpkg.com/leaflet.awesome-markers")
|
||||
script(src="https://unpkg.com/leaflet.geodesic")
|
||||
script(src="https://unpkg.com/sortablejs")
|
||||
|
||||
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/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/vuedraggable")
|
||||
script(src="/public/main.js", type="text/javascript", charset="utf-8")
|
||||
footer.bg-dark
|
||||
|
@@ -13,8 +13,7 @@ l-map(
|
||||
v-if="journey.data.main[idx].hotel",
|
||||
:lat-lng="journey.data.main[idx].hotel.latlon"
|
||||
)
|
||||
l-icon
|
||||
div(v-html="generate_marker(journey.data.main[idx].hotel, 'darkblue')")
|
||||
l-icon(v-html="generate_marker(journey.data.main[idx].hotel, 'darkblue')")
|
||||
l-popup
|
||||
h1.row.text-medium.text-center {{ journey.data.main[idx].hotel.sname }}
|
||||
span.row.text-small.text-gray {{ journey.data.main[idx].hotel.display_name }}
|
||||
@@ -28,20 +27,20 @@ l-map(
|
||||
)
|
||||
span.row.text-small.text-white(v-else) {{ journey.data.main[idx].hotel.notes }}
|
||||
l-marker(
|
||||
v-for="place in journey.data.main[idx].places.activities",
|
||||
v-for="(place, index) in journey.data.main[idx].places.activities",
|
||||
:key="'activities'+index",
|
||||
:lat-lng="place.latlon"
|
||||
)
|
||||
l-icon
|
||||
div(
|
||||
l-icon(
|
||||
v-if="place.step == journey.sel_day",
|
||||
v-html="generate_marker(place)"
|
||||
)
|
||||
div(
|
||||
l-icon(
|
||||
v-else-if="place.step == -1 || place.step == undefined",
|
||||
v-html="generate_marker(place, 'gray')"
|
||||
)
|
||||
div(v-else-if="journey_edit", v-html="generate_marker(place, 'lightgray')")
|
||||
div(v-else)
|
||||
l-icon(v-else-if="journey_edit", v-html="generate_marker(place, 'lightgray')")
|
||||
l-icon(v-else)
|
||||
l-popup
|
||||
h1.row.text-medium.text-center {{ place.sname }}
|
||||
span.row.text-small.text-gray {{ place.display_name }}
|
||||
@@ -65,20 +64,20 @@ l-map(
|
||||
) +
|
||||
span.row.text-small.text-dark(v-else) {{ place.notes }}
|
||||
l-marker(
|
||||
v-for="place in journey.data.main[idx].places.restaurants",
|
||||
v-for="(place, index) in journey.data.main[idx].places.restaurants",
|
||||
:key="'restaurants'+index"
|
||||
:lat-lng="place.latlon"
|
||||
)
|
||||
l-icon
|
||||
div(v-html="generate_marker(place, 'cadetblue')")
|
||||
l-icon(v-html="generate_marker(place, 'cadetblue')")
|
||||
l-popup
|
||||
h1.row.text-medium.text-center {{ place.sname }}
|
||||
span.row.text-small.text-gray {{ place.display_name }}
|
||||
span(v-if="journey_edit")
|
||||
.row.input
|
||||
textarea-autosize.col-12.col-sm-12.text-small(
|
||||
placeholder="Notes",
|
||||
v-model="place.notes",
|
||||
:min-height="30",
|
||||
placeholder="Notes"
|
||||
v-model="place.notes"
|
||||
:min-height="30"
|
||||
:max-height="350"
|
||||
)
|
||||
span.row.text-small.text-dark(v-else) {{ place.notes }}
|
||||
@@ -86,8 +85,8 @@ l-map(
|
||||
div(v-for= "latlngs in polyline.latlngs")
|
||||
l-polyline(:lat-lngs="polyline.latlngs" :color="polyline.color")
|
||||
l-marker(
|
||||
v-for="(place, index) in latlngs",
|
||||
v-for="(place, index) in latlngs"
|
||||
:key="'plane'+index"
|
||||
:lat-lng="place"
|
||||
)
|
||||
l-icon
|
||||
div(v-html="generate_icon('plane', polyline.color, generate_rotation(index,latlngs))")
|
||||
l-icon(v-html="generate_icon('plane', polyline.color, generate_rotation(index,latlngs))")
|
Reference in New Issue
Block a user