Update template/module/journey_sec.pug
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2025-02-24 15:15:49 +01:00
parent 17cfcc77da
commit 63eb47f855

View File

@@ -1,20 +1,20 @@
draggable.list-group.bg-dark( draggable.list-group.bg-dark(
tag="div", tag="div",
:list="journey_data.main", :list="journey.data.main",
handle=".handle" handle=".handle"
) )
.list-group-item.handle( .list-group-item.handle(
v-for="(element, idx) in journey_data.main", v-for="(element, idx) in journey.data.main",
:key="idx", :key="idx",
@click="sel_section(idx)", @click="journey.leg_sel(idx)",
:class="journey_step_data.section == idx ? 'bg-primary' : 'bg-white'" :class="journey.sel_leg == idx ? 'bg-primary' : 'bg-white'"
) )
.text {{ element.title }} .text {{ element.title }}
i.fa.fa-times.close.fright( i.fa.fa-times.close.fright(
style="top: 2px; right: 2px; position: absolute", style="top: 2px; right: 2px; position: absolute",
@click="rm_section(idx)" @click="journey.rm_leg(idx)"
) )
.list-group-item.bg-white(@click="add_section()") .list-group-item.bg-white(@click="journey.add_leg()")
.text Add Section .text Add Section
i.fa.fa-plus.add(style="top: 12px; right: 5px; position: absolute") i.fa.fa-plus.add(style="top: 12px; right: 5px; position: absolute")