comparison client/src/components/importschedule/importtypes/Bottleneck.vue @ 2586:bc1b43885a4d

Expose axis snapping tolerance in bottleneck upload import
author Tom Gottfried <tom@intevation.de>
date Mon, 11 Mar 2019 17:31:39 +0100
parents dc4fae4bdb8f
children 8d767359fddb
comparison
equal deleted inserted replaced
2585:0b25c75a3a63 2586:bc1b43885a4d
1 <template> 1 <template>
2 <div> 2 <div>
3 <div class="d-flex flex-row"> 3 <div class="d-flex flex-row">
4 <div class="flex-column mt-3 mr-3 w-100"> 4 <div class="flex-column mt-3 mr-3 w-100">
5 <div class="flex-row text-left"> 5 <template v-if="!directImport">
6 <small class="text-muted"> <translate>URL</translate> </small> 6 <div class="flex-row text-left">
7 </div> 7 <small class="text-muted"> <translate>URL</translate> </small>
8 <div class="w-100"> 8 </div>
9 <input 9 <div class="w-100">
10 @input="urlChanged" 10 <input
11 class="url form-control" 11 @input="urlChanged"
12 type="url" 12 class="url form-control"
13 :value="url" 13 type="url"
14 /> 14 :value="url"
15 </div> 15 />
16 </div>
17 </template>
16 </div> 18 </div>
17 <div v-if="false" class="flex-column mt-3 text-left"> 19 <div v-if="false" class="flex-column mt-3 text-left">
18 <div class="d-flex flex-row"> 20 <div class="d-flex flex-row">
19 <small class="text-muted mr-2" 21 <small class="text-muted mr-2"
20 ><translate>Insecure</translate> 22 ><translate>Insecure</translate>
87 * Thomas Junk <thomas.junk@intevation.de> 89 * Thomas Junk <thomas.junk@intevation.de>
88 * Tom Gottfried <tom.gottfried@intevation.de> 90 * Tom Gottfried <tom.gottfried@intevation.de>
89 */ 91 */
90 export default { 92 export default {
91 name: "bottleneckimport", 93 name: "bottleneckimport",
92 props: ["url", "tolerance"], 94 props: ["url", "tolerance", "directImport"],
93 methods: { 95 methods: {
94 urlChanged(e) { 96 urlChanged(e) {
95 this.$emit("urlChanged", e.target.value); 97 this.$emit("urlChanged", e.target.value);
96 }, 98 },
97 toleranceChanged(e) { 99 toleranceChanged(e) {