Mercurial > gemma
annotate client/src/components/importconfiguration/types/Waterwayaxis.vue @ 5313:1b4cb1545a44 zpg-exception
Allow ZPG as available depth-reference under stricter rules
LDC is present but no ZPG => add ZPG to the list
LDC is not present and no ZPG but BN is BG or RO => add ZPG to the list
author | Thomas Junk <thomas.junk@intevation.de> |
---|---|
date | Wed, 16 Jun 2021 14:08:39 +0200 |
parents | 1ff56484db4e |
children |
rev | line source |
---|---|
1992 | 1 <template> |
2 <div> | |
3281
439e1865a2d2
client: define stretches/imports: code cleanup / style improvements
Markus Kottlaender <markus@intevation.de>
parents:
2979
diff
changeset
|
3 <div class="d-flex px-2"> |
439e1865a2d2
client: define stretches/imports: code cleanup / style improvements
Markus Kottlaender <markus@intevation.de>
parents:
2979
diff
changeset
|
4 <div class="flex-column w-100"> |
1992 | 5 <div class="flex-row text-left"> |
6 <small class="text-muted"> <translate>URL</translate> </small> | |
7 </div> | |
8 <div class="w-100"> | |
1996 | 9 <input |
2088
e972567100d3
input events for import schedule
Thomas Junk <thomas.junk@intevation.de>
parents:
2069
diff
changeset
|
10 @input="urlChanged" |
3281
439e1865a2d2
client: define stretches/imports: code cleanup / style improvements
Markus Kottlaender <markus@intevation.de>
parents:
2979
diff
changeset
|
11 class="url form-control form-control-sm" |
1996 | 12 type="url" |
13 :value="url" | |
1992 | 14 /> |
15 </div> | |
16 </div> | |
17 </div> | |
3281
439e1865a2d2
client: define stretches/imports: code cleanup / style improvements
Markus Kottlaender <markus@intevation.de>
parents:
2979
diff
changeset
|
18 <div v-if="!url" class="d-flex px-2"> |
1992 | 19 <small |
20 ><translate class="text-danger">Please enter a URL</translate></small | |
21 > | |
22 </div> | |
3281
439e1865a2d2
client: define stretches/imports: code cleanup / style improvements
Markus Kottlaender <markus@intevation.de>
parents:
2979
diff
changeset
|
23 <div class="d-flex px-2"> |
439e1865a2d2
client: define stretches/imports: code cleanup / style improvements
Markus Kottlaender <markus@intevation.de>
parents:
2979
diff
changeset
|
24 <div class="flex-column mt-2 mr-3 w-50"> |
1992 | 25 <div class="flex-row text-left"> |
26 <small class="text-muted"> <translate>Featuretype</translate> </small> | |
27 </div> | |
28 <div class="w-100"> | |
1996 | 29 <input |
2088
e972567100d3
input events for import schedule
Thomas Junk <thomas.junk@intevation.de>
parents:
2069
diff
changeset
|
30 @input="featureTypeChanged" |
3281
439e1865a2d2
client: define stretches/imports: code cleanup / style improvements
Markus Kottlaender <markus@intevation.de>
parents:
2979
diff
changeset
|
31 class="featuretype form-control form-control-sm" |
1996 | 32 type="text" |
33 :value="featureType" | |
34 /> | |
1992 | 35 </div> |
36 <div v-if="!featureType" class="d-flex flex-row"> | |
37 <small | |
38 ><translate class="text-danger" | |
39 >Please enter a Featuretype</translate | |
40 ></small | |
41 > | |
42 </div> | |
43 </div> | |
3281
439e1865a2d2
client: define stretches/imports: code cleanup / style improvements
Markus Kottlaender <markus@intevation.de>
parents:
2979
diff
changeset
|
44 <div class="flex-column mt-2 w-50"> |
1992 | 45 <div class="flex-row text-left"> |
46 <small class="text-muted"> <translate>SortBy</translate> </small> | |
47 </div> | |
48 <div class="w-100"> | |
1996 | 49 <input |
2088
e972567100d3
input events for import schedule
Thomas Junk <thomas.junk@intevation.de>
parents:
2069
diff
changeset
|
50 @input="sortByChanged" |
3281
439e1865a2d2
client: define stretches/imports: code cleanup / style improvements
Markus Kottlaender <markus@intevation.de>
parents:
2979
diff
changeset
|
51 class="sortby form-control form-control-sm" |
1996 | 52 type="text" |
53 :value="sortBy" | |
54 /> | |
1992 | 55 </div> |
56 </div> | |
57 </div> | |
58 </div> | |
59 </template> | |
60 | |
61 <script> | |
2069 | 62 /* This is Free Software under GNU Affero General Public License v >= 3.0 |
63 * without warranty, see README.md and license for details. | |
64 * | |
65 * SPDX-License-Identifier: AGPL-3.0-or-later | |
66 * License-Filename: LICENSES/AGPL-3.0.txt | |
67 * | |
5268
1ff56484db4e
Made SortBy parameter in WMS import optional
wilde@azure1.rgb.intevation.de
parents:
3281
diff
changeset
|
68 * Copyright (C) 2018, 2019, 2020 by via donau |
2069 | 69 * – Österreichische Wasserstraßen-Gesellschaft mbH |
70 * Software engineering by Intevation GmbH | |
71 * | |
72 * Author(s): | |
73 * Thomas Junk <thomas.junk@intevation.de> | |
74 */ | |
1992 | 75 export default { |
1996 | 76 name: "waterwayaxis", |
77 props: ["url", "featureType", "sortBy"], | |
78 methods: { | |
79 urlChanged(e) { | |
80 this.$emit("urlChanged", e.target.value); | |
81 }, | |
82 featureTypeChanged(e) { | |
83 this.$emit("featureTypeChanged", e.target.value); | |
84 }, | |
85 sortByChanged(e) { | |
86 this.$emit("sortByChanged", e.target.value); | |
87 } | |
88 } | |
1992 | 89 }; |
90 </script> | |
91 | |
92 <style></style> |