OTM/template/module/journey_sec.pug
soraefir 9cdb3b54f7
All checks were successful
continuous-integration/drone/push Build is passing
Fixing style
2023-07-13 19:11:16 +02:00

8 lines
542 B
Plaintext

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)')
div.list-group-item()
div.text Add Section
i.fa.fa-plus.add(style='top:12px;right:5px;position:absolute;' @click='add_section()')