Reorganize cycle_infra, fix bug with length-input, add some images

This commit is contained in:
Pieter Vander Vennet 2021-08-06 20:22:23 +02:00
parent 7f4235ef88
commit bf2d634208
16 changed files with 3152 additions and 2212 deletions

View file

@ -208,8 +208,8 @@
"nl": "Ruimte tussen barrières (langs de lengte van de weg): {width:seperation} m"
},
"question": {
"en": "How much space is there between the barriers (along the length of the road)?",
"nl": "Hoeveel ruimte is er tussen de barrières (langs de lengte van de weg)?"
"en": "How much space is there between the barriers (along the length of the road, in meter)?<br/><img src='./assets/themes/cycle_infra/Cycle_barrier_double_length.svg' style='width: 8em'/>",
"nl": "Hoeveel ruimte is er tussen de barrières (langs de lengte van de weg, in meter)?<br/><img src='./assets/themes/cycle_infra/Cycle_barrier_double_length.svg' style='width: 8em'/>"
},
"condition": {
"or": [
@ -221,7 +221,7 @@
"key": "width:seperation",
"type": "length",
"helperArgs": [
"20",
"21",
"map"
]
}
@ -233,8 +233,8 @@
"nl": "Breedte van de opening: {width:opening} m"
},
"question": {
"en": "How wide is the smallest opening next to the barriers?",
"nl": "Hoe breed is de smalste opening naast de barrières?"
"en": "How wide is the smallest opening next to the barriers (in meter)?<br/><img src='./assets/themes/cycle_infra/Cycle_barrier_double_width.svg' style='width: 8em'/>",
"nl": "Hoe breed is de smalste opening naast de barrières (in meter)?<br/><img src='./assets/themes/cycle_infra/Cycle_barrier_double_width.svg' style='width: 8em'/>"
},
"condition": {
"or": [
@ -244,7 +244,11 @@
},
"freeform": {
"key": "width:opening",
"type": "pfloat"
"type": "length",
"helperArgs": [
"21",
"map"
]
}
},
{
@ -253,8 +257,8 @@
"en": "Overlap: {overlap} m"
},
"question": {
"en": "How much overlap do the barriers have?",
"nl": "Hoeveel overlappen de barrières?"
"en": "How much overlap do the barriers have?<br/><img src='./assets/themes/cycle_infra/Cycle_barrier_double_overlap.svg' style='width: 8em'/>",
"nl": "Hoeveel overlappen de barrières (in meter)?<br/><img src='./assets/themes/cycle_infra/Cycle_barrier_double_overlap.svg' style='width: 8em'/>"
},
"condition": {
"or": [
@ -264,7 +268,11 @@
},
"freeform": {
"key": "overlap",
"type": "pfloat"
"type": "length",
"helperArgs": [
"21",
"map"
]
}
}
]