This commit is contained in:
@ -16,10 +16,10 @@ mixin map(section_str)
|
||||
span.row.text-small.text-white(v-else) {{ #{section_str}.hotel.notes}}
|
||||
l-marker(v-for='place in '+section_str+'.places.activities' :lat-lng='place.latlon')
|
||||
l-icon
|
||||
|
||||
div(v-if='place.step==journey_step_data.day' v-html='generate_icon(place)')
|
||||
div(v-else-if='place.step==-1 || place.step==undefined' v-html='generate_icon(place, "gray")')
|
||||
div(v-else-if='journey_edit' v-html='generate_icon(place, "lightgray")')
|
||||
div(v-else)
|
||||
l-popup
|
||||
h1.row.text-medium.text-center {{place.sname}}
|
||||
span.row.text-small.text-gray {{place.display_name}}
|
||||
|
@ -10,7 +10,7 @@ header.header
|
||||
a(:href="'/short/'+journey_id")
|
||||
i.fas.fa-file-contract
|
||||
.col-sm-2
|
||||
a(:href="'/view/'+journey_id +'#0'")
|
||||
a(:href="'/view/'+journey_id")
|
||||
i.fas.fa-camera
|
||||
.col-sm-2
|
||||
a(href='#main' v-on:click.prevent='first_step')
|
||||
|
@ -10,5 +10,5 @@ header.header
|
||||
a(:href="'/short/'+journey_id")
|
||||
i.fas.fa-file-contract
|
||||
.col-sm-3
|
||||
a(:href="'/view/'+journey_id +'#0'")
|
||||
a(:href="'/view/'+journey_id")
|
||||
i.fas.fa-camera
|
@ -1,21 +1,23 @@
|
||||
- var map_section = 'journey_data.main[journey_step_data.section]'
|
||||
.bg-dark.text-white
|
||||
.container.section
|
||||
.aligner.text-center.text-white.text-huge(style='margin-bottom:5px')
|
||||
.aligner--itemTop.fleft
|
||||
a(href='#prev' v-on:click.prevent='prev_step')
|
||||
i.fas.fa-angle-left
|
||||
span.container
|
||||
div
|
||||
| {{ #{map_section}.title + ': Day ' + journey_step_data.day}}
|
||||
.text-big.text-gray {{ #{map_section}.step_title[journey_step_data.day] }}
|
||||
.aligner--itemEnd.fright
|
||||
a(href='#next' v-on:click.prevent='next_step')
|
||||
i.fas.fa-angle-right
|
||||
.row
|
||||
.col-12.col-sm-12
|
||||
include map.pug
|
||||
+map(map_section)
|
||||
.row
|
||||
.col-12.col-sm-12
|
||||
.container
|
||||
|
||||
div(v-for='(e, idx) in journey_data.main' :key='idx')
|
||||
.bg-dark.text-white(v-if="journey_step_data.section==idx")
|
||||
.container.section
|
||||
.aligner.text-center.text-white.text-huge(style='margin-bottom:5px')
|
||||
.aligner--itemTop.fleft
|
||||
a(href='#prev' v-on:click.prevent='prev_step')
|
||||
i.fas.fa-angle-left
|
||||
span.container
|
||||
div
|
||||
| {{ #{map_section}.title + ': Day ' + journey_step_data.day}}
|
||||
.text-big.text-gray {{ #{map_section}.step_title[journey_step_data.day] }}
|
||||
.aligner--itemEnd.fright
|
||||
a(href='#next' v-on:click.prevent='next_step')
|
||||
i.fas.fa-angle-right
|
||||
.row
|
||||
.col-12.col-sm-12
|
||||
include map.pug
|
||||
+map(map_section)
|
||||
.row
|
||||
.col-12.col-sm-12
|
||||
.container
|
Reference in New Issue
Block a user