Added Notes and Folding
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
08b3940501
commit
642436b980
@ -122,6 +122,8 @@ const app = new Vue({
|
|||||||
},
|
},
|
||||||
monthBeforeYear: true,
|
monthBeforeYear: true,
|
||||||
},
|
},
|
||||||
|
|
||||||
|
visible_step: 0,
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
start_journey: function(event){
|
start_journey: function(event){
|
||||||
@ -224,7 +226,7 @@ const app = new Vue({
|
|||||||
this.journey_data.main.splice(idx,1);
|
this.journey_data.main.splice(idx,1);
|
||||||
},
|
},
|
||||||
toggle_section_vis: function(idx){
|
toggle_section_vis: function(idx){
|
||||||
this.journey_data.visible = idx;
|
this.visible_step ^= 0x1 << (idx+1);
|
||||||
},
|
},
|
||||||
search_nominatim: function(txt,f){
|
search_nominatim: function(txt,f){
|
||||||
if(txt==""){
|
if(txt==""){
|
||||||
@ -271,8 +273,6 @@ const app = new Vue({
|
|||||||
},
|
},
|
||||||
import_data:function(){
|
import_data:function(){
|
||||||
this.journey_data = Object.assign({}, JSON.parse(toDecoded(this.impexp)));
|
this.journey_data = Object.assign({}, JSON.parse(toDecoded(this.impexp)));
|
||||||
|
|
||||||
this.journey_data.visible = this.journey_data.visible || -1;
|
|
||||||
},
|
},
|
||||||
export_data:function(){
|
export_data:function(){
|
||||||
this.impexp = toEncoded(JSON.stringify(this.journey_data));
|
this.impexp = toEncoded(JSON.stringify(this.journey_data));
|
||||||
|
@ -47,7 +47,7 @@
|
|||||||
<div class="col-auto"><button class="button button--secondary button--mobileFull" v-on:click="toggle_section_vis(idx)">-</button></div>
|
<div class="col-auto"><button class="button button--secondary button--mobileFull" v-on:click="toggle_section_vis(idx)">-</button></div>
|
||||||
<div class="input col-sm-4"><input class="" v-model="item.title" type="text" /></div>
|
<div class="input col-sm-4"><input class="" v-model="item.title" type="text" /></div>
|
||||||
</div>
|
</div>
|
||||||
<div class="row" v-show="journey_data.visible == idx">
|
<div class="row" v-show="journey_data.visible & (0x1 << (idx+1))">
|
||||||
<div class="col-12 col-sm-8">
|
<div class="col-12 col-sm-8">
|
||||||
<l-map
|
<l-map
|
||||||
:zoom.sync="item.map.zoom"
|
:zoom.sync="item.map.zoom"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user