Mercurial > gemma
annotate client/src/components/importschedule/importtypes/Bottleneck.vue @ 2406:b72d3da6409c
client: fixed indicator style in sidebar menu when menu item is active
author | Markus Kottlaender <markus@intevation.de> |
---|---|
date | Thu, 28 Feb 2019 10:18:21 +0100 |
parents | dfa4db82e784 |
children | dc4fae4bdb8f |
rev | line source |
---|---|
1992 | 1 <template> |
2 <div> | |
3 <div class="d-flex flex-row"> | |
4 <div class="flex-column mt-3 mr-3 w-100"> | |
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" |
2269
dfa4db82e784
refac: classes for automatic filling added
Thomas Junk <thomas.junk@intevation.de>
parents:
2088
diff
changeset
|
11 class="url form-control" |
1996 | 12 type="url" |
13 :value="url" | |
14 /> | |
1992 | 15 </div> |
16 </div> | |
17 <div v-if="false" class="flex-column mt-3 text-left"> | |
18 <div class="d-flex flex-row"> | |
19 <small class="text-muted mr-2" | |
20 ><translate>Insecure</translate> | |
21 </small> | |
22 </div> | |
23 <div class="d-flex flex-row"> | |
24 <toggle-button | |
25 v-model="insecure" | |
26 class="mt-2" | |
27 :speed="100" | |
28 :color="{ | |
29 checked: '#FF0000', | |
30 unchecked: '#E9ECEF', | |
31 disabled: '#CCCCCC' | |
32 }" | |
33 :labels="{ | |
34 checked: this.$options.on, | |
35 unchecked: this.$options.off | |
36 }" | |
37 :width="60" | |
38 :height="30" | |
39 /> | |
40 </div> | |
41 </div> | |
42 </div> | |
43 <div v-if="!url" class="d-flex flex-row"> | |
44 <small | |
45 ><translate class="text-danger">Please enter a URL</translate></small | |
46 > | |
47 </div> | |
48 </div> | |
49 </template> | |
50 | |
51 <script> | |
2069 | 52 /* This is Free Software under GNU Affero General Public License v >= 3.0 |
53 * without warranty, see README.md and license for details. | |
54 * | |
55 * SPDX-License-Identifier: AGPL-3.0-or-later | |
56 * License-Filename: LICENSES/AGPL-3.0.txt | |
57 * | |
58 * Copyright (C) 2018 by via donau | |
59 * – Österreichische Wasserstraßen-Gesellschaft mbH | |
60 * Software engineering by Intevation GmbH | |
61 * | |
62 * Author(s): | |
63 * Thomas Junk <thomas.junk@intevation.de> | |
64 */ | |
1992 | 65 export default { |
1996 | 66 name: "bottleneckimport", |
67 props: ["url"], | |
68 methods: { | |
69 urlChanged(e) { | |
70 this.$emit("urlChanged", e.target.value); | |
71 } | |
72 } | |
1992 | 73 }; |
74 </script> | |
75 | |
76 <style></style> |