comparison client/src/components/map/layers/Layers.vue @ 1361:ea3a89a1813a

remove trailing whitespace, add headers for Makefile, add the missed authors * remove trailing whitespace for some cleint files * add headers for licensing to Makefile * add the missed authors in the header to Systemconfiguration.vue file
author Fadi Abbud <fadi.abbud@intevation.de>
date Mon, 26 Nov 2018 11:11:13 +0100
parents 2738a6ae9ad8
children ca33ad696594
comparison
equal deleted inserted replaced
1360:3fee649d3d5d 1361:ea3a89a1813a
1 <template> 1 <template>
2 <div :class="['box ui-element rounded bg-white text-nowrap', { expanded: showLayers }]"> 2 <div :class="['box ui-element rounded bg-white text-nowrap', { expanded: showLayers }]">
3 <div style="width: 20rem"> 3 <div style="width: 20rem">
4 <h6 class="mb-0 py-2 px-3 border-bottom d-flex align-items-center"> 4 <h6 class="mb-0 py-2 px-3 border-bottom d-flex align-items-center">
5 <font-awesome-icon icon="layer-group" class="mr-2"></font-awesome-icon> 5 <font-awesome-icon icon="layer-group" class="mr-2"></font-awesome-icon>Layers
6 Layers 6 <font-awesome-icon
7 <font-awesome-icon 7 icon="times"
8 icon="times" 8 class="ml-auto text-muted"
9 class="ml-auto text-muted" 9 @click="$store.commit('application/showLayers', false)"
10 @click="$store.commit('application/showLayers', false)" 10 ></font-awesome-icon>
11 ></font-awesome-icon> 11 </h6>
12 </h6> 12 <div class="d-flex flex-column p-3 small">
13 <div class="d-flex flex-column p-3 small"> 13 <Layerselect
14 <Layerselect 14 v-for="(layer, index) in layersForLegend"
15 v-for="(layer, index) in layersForLegend" 15 :layerindex="index"
16 :layerindex="index" 16 :layername="layer.name"
17 :layername="layer.name" 17 :key="layer.name"
18 :key="layer.name" 18 :isVisible="layer.isVisible"
19 :isVisible="layer.isVisible" 19 @visibilityToggled="visibilityToggled"
20 @visibilityToggled="visibilityToggled" 20 ></Layerselect>
21 ></Layerselect> 21 </div>
22 </div>
23 </div>
24 </div> 22 </div>
23 </div>
25 </template> 24 </template>
26 25
27 <script> 26 <script>
28 /* 27 /*
29 * This is Free Software under GNU Affero General Public License v >= 3.0 28 * This is Free Software under GNU Affero General Public License v >= 3.0
30 * without warranty, see README.md and license for details. 29 * without warranty, see README.md and license for details.
31 * 30 *
32 * SPDX-License-Identifier: AGPL-3.0-or-later 31 * SPDX-License-Identifier: AGPL-3.0-or-later
33 * License-Filename: LICENSES/AGPL-3.0.txt 32 * License-Filename: LICENSES/AGPL-3.0.txt
34 * 33 *
35 * Copyright (C) 2018 by via donau 34 * Copyright (C) 2018 by via donau
36 * – Österreichische Wasserstraßen-Gesellschaft mbH 35 * – Österreichische Wasserstraßen-Gesellschaft mbH
37 * Software engineering by Intevation GmbH 36 * Software engineering by Intevation GmbH
38 * 37 *
39 * Author(s): 38 * Author(s):
40 * Thomas Junk <thomas.junk@intevation.de> 39 * Thomas Junk <thomas.junk@intevation.de>
41 * Markus Kottländer <markus.kottlaender@intevation.de> 40 * Markus Kottländer <markus.kottlaender@intevation.de>
42 */ 41 */
43 import Layerselect from "./Layerselect"; 42 import Layerselect from "./Layerselect";