Mercurial > gemma
comparison client/src/components/map/toolbar/Identify.vue @ 1272:bc55ffaeb639
cleaned up client/src directory
better organization of files and directories, better naming, separation of admin and map context
author | Markus Kottlaender <markus@intevation.de> |
---|---|
date | Thu, 22 Nov 2018 07:07:12 +0100 |
parents | |
children | 2738a6ae9ad8 |
comparison
equal
deleted
inserted
replaced
1268:aca692e73028 | 1272:bc55ffaeb639 |
---|---|
1 <template> | |
2 <div @click="$store.commit('application/showIdentify', !showIdentify)" class="toolbar-button"> | |
3 <i :class="['fa fa-info', {inverted: showIdentify}]"></i> | |
4 </div> | |
5 </template> | |
6 | |
7 <script> | |
8 /* This is Free Software under GNU Affero General Public License v >= 3.0 | |
9 * without warranty, see README.md and license for details. | |
10 * | |
11 * SPDX-License-Identifier: AGPL-3.0-or-later | |
12 * License-Filename: LICENSES/AGPL-3.0.txt | |
13 * | |
14 * Copyright (C) 2018 by via donau | |
15 * – Österreichische Wasserstraßen-Gesellschaft mbH | |
16 * Software engineering by Intevation GmbH | |
17 * | |
18 * Author(s): | |
19 * Markus Kottländer <markus.kottlaender@intevation.de> | |
20 */ | |
21 import { mapState } from "vuex"; | |
22 | |
23 export default { | |
24 name: "identify", | |
25 computed: { | |
26 ...mapState("application", ["showIdentify"]) | |
27 } | |
28 }; | |
29 </script> |