Update src/template/module/journey/main.pug
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
77e3a36a8f
commit
e2b27e03a4
@ -1,33 +1,27 @@
|
|||||||
.row.fleft(style="position:absolute;right:0;")
|
include smallbar.pug
|
||||||
.col-1
|
|
||||||
a(:href="'/short/' + journey.id")
|
|
||||||
i.fas.fa-file-contract
|
|
||||||
.col-1
|
|
||||||
a(:href="'/view/' + journey.id")
|
|
||||||
i.fas.fa-camera
|
|
||||||
.col-1
|
|
||||||
a(href="#", v-on:click.prevent="first_step")
|
|
||||||
i.fas.fa-tools
|
|
||||||
|
|
||||||
|
|
||||||
.bg-dark.text-white(v-if="journey && journey.leg_get()")
|
.bg-dark.text-white(v-if="journey && journey.leg_get()")
|
||||||
.container
|
.container
|
||||||
.row.align(style="padding-top:45px;")
|
.row.align(style="padding-top:45px;position:relative")
|
||||||
.col-6.col-sm-4.col-md-3.input.text-big
|
.col-6.col-sm-4.col-md-3
|
||||||
input.text-center(v-model="journey.data.name" placeholder="My Journey" type="text")
|
.input.text-big
|
||||||
|
input.text-center(v-model="journey.data.name" placeholder="My Journey" type="text")
|
||||||
|
.col-6.col-sm-4.col-md-3( v-if="nav.useDay" )
|
||||||
|
.input.text-small
|
||||||
|
input.text-center(v-model="journey.leg_get().title" placeholder="Leg" type="text")
|
||||||
//- input.small(type="text", :placeholder="journey.date_tot() + ' (' + journey.tot_len() + ')'" )
|
//- input.small(type="text", :placeholder="journey.date_tot() + ' (' + journey.tot_len() + ')'" )
|
||||||
|
|
||||||
include leg/top_leg.pug
|
template(v-if="nav.useDay")
|
||||||
include leg/top_day.pug
|
include leg/top_day.pug
|
||||||
//- include leg/nav.pug
|
template(v-else)
|
||||||
//- include leg/top.pug
|
include leg/top_leg.pug
|
||||||
.row(style="aspect-ratio:1.25;")
|
.row(style="aspect-ratio:1.25;min-height:432px;max-height:calc(100vh - 125px);width:calc(100% + 24px);")
|
||||||
.map-container(:class=" { 'col-2 col-sm-5 col-md-8': query.type, 'col-2 col-sm-5 col-md-6': query.note , 'col-12': (!query.type && !query.note) }" )
|
.map-container(:class=" { 'col-2 col-sm-5 col-md-8': query.type, 'col-2 col-sm-5 col-md-6': query.note , 'col-12': (!query.type && !query.note) }" )
|
||||||
include map.pug
|
include map.pug
|
||||||
.row.drawer-container(:class="{ 'col-10 col-sm-7 col-md-4': query.type, 'col-10 col-sm-7 col-md-6': query.note, 'col-0': (!query.type && !query.note) }")
|
.row.drawer-container(:class="{ 'col-10 col-sm-7 col-md-4': query.type, 'col-10 col-sm-7 col-md-6': query.note, 'col-0': (!query.type && !query.note) }")
|
||||||
.drawer-container(:class="{ 'col-12 ': query.type, 'col-0': !query.type }")
|
.h-100(:class="{ 'w-100 ': query.type, 'w-0': !query.type }")
|
||||||
include leg/drawer.pug
|
include leg/drawer.pug
|
||||||
.drawer-container(:class="{ 'col-12': query.note, 'col-0': !query.note }")
|
.h-100(:class="{ 'w-100': query.note, 'w-0': !query.note }")
|
||||||
include leg/drawer-notes.pug
|
include leg/drawer-notes.pug
|
||||||
|
|
||||||
//- include impexp.pug
|
//- include impexp.pug
|
Loading…
x
Reference in New Issue
Block a user