This commit is contained in:
@@ -1,8 +1,20 @@
|
||||
draggable(tag='div' :list='journey_data.main' class='list-group bg-dark' handle='.handle')
|
||||
div.list-group-item.handle(v-for='(element, idx) in journey_data.main' :key='idx' @click='sel_section(idx)' :class='(journey_step_data.section==idx)?"bg-primary":"bg-white"')
|
||||
div.text {{element.title}}
|
||||
i.fa.fa-times.close.fright(style='top:2px;right:2px;position:absolute;' @click='rm_section(idx)')
|
||||
draggable.list-group.bg-dark(
|
||||
tag="div",
|
||||
:list="journey_data.main",
|
||||
handle=".handle"
|
||||
)
|
||||
.list-group-item.handle(
|
||||
v-for="(element, idx) in journey_data.main",
|
||||
:key="idx",
|
||||
@click="sel_section(idx)",
|
||||
:class="journey_step_data.section == idx ? 'bg-primary' : 'bg-white'"
|
||||
)
|
||||
.text {{ element.title }}
|
||||
i.fa.fa-times.close.fright(
|
||||
style="top: 2px; right: 2px; position: absolute",
|
||||
@click="rm_section(idx)"
|
||||
)
|
||||
|
||||
div.list-group-item.bg-white(@click='add_section()')
|
||||
div.text Add Section
|
||||
i.fa.fa-plus.add(style='top:12px;right:5px;position:absolute;')
|
||||
.list-group-item.bg-white(@click="add_section()")
|
||||
.text Add Section
|
||||
i.fa.fa-plus.add(style="top: 12px; right: 5px; position: absolute")
|
||||
|
Reference in New Issue
Block a user