Mercurial > gemma
annotate client/src/main.js @ 2787:2ce5ee6d65b5
client:translations: merge translations from weblate
author | Fadi Abbud <fadi.abbud@intevation.de> |
---|---|
date | Mon, 25 Mar 2019 10:34:33 +0100 |
parents | 4063adda3095 |
children | 563bcd8b7d7b |
rev | line source |
---|---|
1243
24797f66f268
Client: remove (minor) superfluous things
Bernhard Reiter <bernhard@intevation.de>
parents:
1163
diff
changeset
|
1 /* This is Free Software under GNU Affero General Public License v >= 3.0 |
1019
ca628dce90dd
Licensing information added
Thomas Junk <thomas.junk@intevation.de>
parents:
880
diff
changeset
|
2 * without warranty, see README.md and license for details. |
1243
24797f66f268
Client: remove (minor) superfluous things
Bernhard Reiter <bernhard@intevation.de>
parents:
1163
diff
changeset
|
3 * |
1019
ca628dce90dd
Licensing information added
Thomas Junk <thomas.junk@intevation.de>
parents:
880
diff
changeset
|
4 * SPDX-License-Identifier: AGPL-3.0-or-later |
ca628dce90dd
Licensing information added
Thomas Junk <thomas.junk@intevation.de>
parents:
880
diff
changeset
|
5 * License-Filename: LICENSES/AGPL-3.0.txt |
1243
24797f66f268
Client: remove (minor) superfluous things
Bernhard Reiter <bernhard@intevation.de>
parents:
1163
diff
changeset
|
6 * |
1363 | 7 * Copyright (C) 2018 by via donau |
1019
ca628dce90dd
Licensing information added
Thomas Junk <thomas.junk@intevation.de>
parents:
880
diff
changeset
|
8 * – Österreichische Wasserstraßen-Gesellschaft mbH |
ca628dce90dd
Licensing information added
Thomas Junk <thomas.junk@intevation.de>
parents:
880
diff
changeset
|
9 * Software engineering by Intevation GmbH |
1243
24797f66f268
Client: remove (minor) superfluous things
Bernhard Reiter <bernhard@intevation.de>
parents:
1163
diff
changeset
|
10 * |
1019
ca628dce90dd
Licensing information added
Thomas Junk <thomas.junk@intevation.de>
parents:
880
diff
changeset
|
11 * Author(s): |
ca628dce90dd
Licensing information added
Thomas Junk <thomas.junk@intevation.de>
parents:
880
diff
changeset
|
12 * Thomas Junk <thomas.junk@intevation.de> |
1363 | 13 * Markus Kottländer <markus@intevation.de> |
1019
ca628dce90dd
Licensing information added
Thomas Junk <thomas.junk@intevation.de>
parents:
880
diff
changeset
|
14 */ |
ca628dce90dd
Licensing information added
Thomas Junk <thomas.junk@intevation.de>
parents:
880
diff
changeset
|
15 |
2385
279334be495c
client: cleaned up main.js
Markus Kottlaender <markus@intevation.de>
parents:
2224
diff
changeset
|
16 // 3rd-party |
3 | 17 import Vue from "vue"; |
2385
279334be495c
client: cleaned up main.js
Markus Kottlaender <markus@intevation.de>
parents:
2224
diff
changeset
|
18 import VTooltip from "v-tooltip"; |
279334be495c
client: cleaned up main.js
Markus Kottlaender <markus@intevation.de>
parents:
2224
diff
changeset
|
19 import GetTextPlugin from "vue-gettext"; |
279334be495c
client: cleaned up main.js
Markus Kottlaender <markus@intevation.de>
parents:
2224
diff
changeset
|
20 import Snotify, { SnotifyPosition } from "vue-snotify"; |
279334be495c
client: cleaned up main.js
Markus Kottlaender <markus@intevation.de>
parents:
2224
diff
changeset
|
21 import VueClipboard from "vue-clipboard2"; |
279334be495c
client: cleaned up main.js
Markus Kottlaender <markus@intevation.de>
parents:
2224
diff
changeset
|
22 import ToggleButton from "vue-js-toggle-button"; |
279334be495c
client: cleaned up main.js
Markus Kottlaender <markus@intevation.de>
parents:
2224
diff
changeset
|
23 import { FontAwesomeIcon } from "@fortawesome/vue-fontawesome"; |
279334be495c
client: cleaned up main.js
Markus Kottlaender <markus@intevation.de>
parents:
2224
diff
changeset
|
24 import { library } from "@fortawesome/fontawesome-svg-core"; |
279334be495c
client: cleaned up main.js
Markus Kottlaender <markus@intevation.de>
parents:
2224
diff
changeset
|
25 |
279334be495c
client: cleaned up main.js
Markus Kottlaender <markus@intevation.de>
parents:
2224
diff
changeset
|
26 // local |
2541
468c8dc796cf
client: convert lib helper functions to Vue filters
Markus Kottlaender <markus@intevation.de>
parents:
2464
diff
changeset
|
27 import router from "@/router"; |
468c8dc796cf
client: convert lib helper functions to Vue filters
Markus Kottlaender <markus@intevation.de>
parents:
2464
diff
changeset
|
28 import store from "@/store"; |
468c8dc796cf
client: convert lib helper functions to Vue filters
Markus Kottlaender <markus@intevation.de>
parents:
2464
diff
changeset
|
29 import translations from "@/locale/translations.json"; |
468c8dc796cf
client: convert lib helper functions to Vue filters
Markus Kottlaender <markus@intevation.de>
parents:
2464
diff
changeset
|
30 import filters from "@/lib/filters"; |
2385
279334be495c
client: cleaned up main.js
Markus Kottlaender <markus@intevation.de>
parents:
2224
diff
changeset
|
31 import { supportedLanguages, defaultLanguage } from "./locale/languages.js"; |
2541
468c8dc796cf
client: convert lib helper functions to Vue filters
Markus Kottlaender <markus@intevation.de>
parents:
2464
diff
changeset
|
32 import App from "@/components/App.vue"; |
2408
02d30251d594
client: table component for unified style
Markus Kottlaender <markus@intevation.de>
parents:
2387
diff
changeset
|
33 import UIBoxHeader from "@/components/ui/UIBoxHeader"; |
02d30251d594
client: table component for unified style
Markus Kottlaender <markus@intevation.de>
parents:
2387
diff
changeset
|
34 import UITableHeader from "@/components/ui/UITableHeader"; |
02d30251d594
client: table component for unified style
Markus Kottlaender <markus@intevation.de>
parents:
2387
diff
changeset
|
35 import UITableBody from "@/components/ui/UITableBody"; |
2385
279334be495c
client: cleaned up main.js
Markus Kottlaender <markus@intevation.de>
parents:
2224
diff
changeset
|
36 |
279334be495c
client: cleaned up main.js
Markus Kottlaender <markus@intevation.de>
parents:
2224
diff
changeset
|
37 // styles |
159
3d9341f6da4e
feat: Locale of browser determines the default language
Thomas Junk <thomas.junk@intevation.de>
parents:
141
diff
changeset
|
38 import "../node_modules/bootstrap/dist/css/bootstrap.min.css"; |
428
d7a06b9fffc9
feat: Usability for usermanagement improved.
Thomas Junk <thomas.junk@intevation.de>
parents:
375
diff
changeset
|
39 import "../node_modules/animate.css/animate.min.css"; |
159
3d9341f6da4e
feat: Locale of browser determines the default language
Thomas Junk <thomas.junk@intevation.de>
parents:
141
diff
changeset
|
40 import "../node_modules/ol/ol.css"; |
713
badbc0207418
feat: systeminformation feature added
Thomas Junk <thomas.junk@intevation.de>
parents:
565
diff
changeset
|
41 import "../node_modules/highlight.js/styles/paraiso-dark.css"; |
2461
b60efa7d4cee
client: adjusted notification style
Markus Kottlaender <markus@intevation.de>
parents:
2408
diff
changeset
|
42 import "../node_modules/vue-snotify/styles/simple.css"; |
2385
279334be495c
client: cleaned up main.js
Markus Kottlaender <markus@intevation.de>
parents:
2224
diff
changeset
|
43 |
279334be495c
client: cleaned up main.js
Markus Kottlaender <markus@intevation.de>
parents:
2224
diff
changeset
|
44 // fontawesome5 icons |
1698
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
45 import { |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
46 faAngleDown, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
47 faAngleLeft, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
48 faAngleRight, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
49 faAngleUp, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
50 faBars, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
51 faBook, |
1800 | 52 faBullseye, |
1698
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
53 faChartArea, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
54 faCheck, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
55 faCity, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
56 faClipboardCheck, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
57 faClock, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
58 faCloudUploadAlt, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
59 faCopy, |
2212
733cfc3db48a
started pdf template administration
Markus Kottlaender <markus@intevation.de>
parents:
1800
diff
changeset
|
60 faDownload, |
1698
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
61 faDrawPolygon, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
62 faExclamationTriangle, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
63 faEye, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
64 faEyeSlash, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
65 faFilePdf, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
66 faFolderPlus, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
67 faInfo, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
68 faLayerGroup, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
69 faMapMarkedAlt, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
70 faMinus, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
71 faPaperPlane, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
72 faPencilAlt, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
73 faPlay, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
74 faPlus, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
75 faPowerOff, |
1797
67340ceecc5f
feat: define sections and stretches etd
Thomas Junk <thomas.junk@intevation.de>
parents:
1698
diff
changeset
|
76 faRoad, |
1698
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
77 faRuler, |
2464
bc0f1771497a
Use better suited icon for gauges in search results.
Sascha Wilde <wilde@intevation.de>
parents:
2461
diff
changeset
|
78 faRulerVertical, |
1698
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
79 faSearch, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
80 faShip, |
2408
02d30251d594
client: table component for unified style
Markus Kottlaender <markus@intevation.de>
parents:
2387
diff
changeset
|
81 faSort, |
1698
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
82 faSortAmountDown, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
83 faSortAmountUp, |
2408
02d30251d594
client: table component for unified style
Markus Kottlaender <markus@intevation.de>
parents:
2387
diff
changeset
|
84 faSortDown, |
02d30251d594
client: table component for unified style
Markus Kottlaender <markus@intevation.de>
parents:
2387
diff
changeset
|
85 faSortUp, |
1698
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
86 faSpinner, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
87 faStar, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
88 faTasks, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
89 faTimes, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
90 faTrash, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
91 faUpload, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
92 faUser, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
93 faUsersCog, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
94 faWater, |
2184
826fc7309370
client: Added refresh button to reload the WFS layer data.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
1800
diff
changeset
|
95 faWrench, |
2743
4063adda3095
client: identified box: moved bbox zoom button to feature headers and removed bbox from the feature's properties list
Markus Kottlaender <markus@intevation.de>
parents:
2566
diff
changeset
|
96 faRedo, |
4063adda3095
client: identified box: moved bbox zoom button to feature headers and removed bbox from the feature's properties list
Markus Kottlaender <markus@intevation.de>
parents:
2566
diff
changeset
|
97 faCrosshairs |
1698
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
98 } from "@fortawesome/free-solid-svg-icons"; |
2566
83b938bf4da9
client: prepared store and minimized splitscreens for multiple simultaneous diagrams
Markus Kottlaender <markus@intevation.de>
parents:
2541
diff
changeset
|
99 import { |
83b938bf4da9
client: prepared store and minimized splitscreens for multiple simultaneous diagrams
Markus Kottlaender <markus@intevation.de>
parents:
2541
diff
changeset
|
100 faWindowMinimize, |
83b938bf4da9
client: prepared store and minimized splitscreens for multiple simultaneous diagrams
Markus Kottlaender <markus@intevation.de>
parents:
2541
diff
changeset
|
101 faWindowMaximize |
83b938bf4da9
client: prepared store and minimized splitscreens for multiple simultaneous diagrams
Markus Kottlaender <markus@intevation.de>
parents:
2541
diff
changeset
|
102 } from "@fortawesome/free-regular-svg-icons"; |
1698
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
103 import { faAdn } from "@fortawesome/free-brands-svg-icons"; |
1097
874d19f32015
added fontawesome5 and implemented one example icon on login screen
Markus Kottlaender <markus@intevation.de>
parents:
1019
diff
changeset
|
104 |
1698
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
105 library.add( |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
106 faAdn, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
107 faAngleDown, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
108 faAngleLeft, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
109 faAngleRight, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
110 faAngleUp, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
111 faBars, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
112 faBook, |
1800 | 113 faBullseye, |
1698
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
114 faChartArea, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
115 faCheck, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
116 faCity, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
117 faClipboardCheck, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
118 faClock, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
119 faCloudUploadAlt, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
120 faCopy, |
2212
733cfc3db48a
started pdf template administration
Markus Kottlaender <markus@intevation.de>
parents:
1800
diff
changeset
|
121 faDownload, |
1698
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
122 faDrawPolygon, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
123 faExclamationTriangle, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
124 faEye, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
125 faEyeSlash, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
126 faFilePdf, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
127 faFolderPlus, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
128 faInfo, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
129 faLayerGroup, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
130 faMapMarkedAlt, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
131 faMinus, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
132 faPaperPlane, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
133 faPencilAlt, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
134 faPlay, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
135 faPlus, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
136 faPowerOff, |
1797
67340ceecc5f
feat: define sections and stretches etd
Thomas Junk <thomas.junk@intevation.de>
parents:
1698
diff
changeset
|
137 faRoad, |
1698
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
138 faRuler, |
2464
bc0f1771497a
Use better suited icon for gauges in search results.
Sascha Wilde <wilde@intevation.de>
parents:
2461
diff
changeset
|
139 faRulerVertical, |
1698
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
140 faSearch, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
141 faShip, |
2408
02d30251d594
client: table component for unified style
Markus Kottlaender <markus@intevation.de>
parents:
2387
diff
changeset
|
142 faSort, |
02d30251d594
client: table component for unified style
Markus Kottlaender <markus@intevation.de>
parents:
2387
diff
changeset
|
143 faSortDown, |
02d30251d594
client: table component for unified style
Markus Kottlaender <markus@intevation.de>
parents:
2387
diff
changeset
|
144 faSortUp, |
1698
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
145 faSortAmountDown, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
146 faSortAmountUp, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
147 faSpinner, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
148 faStar, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
149 faTasks, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
150 faTimes, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
151 faTrash, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
152 faUpload, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
153 faUser, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
154 faUsersCog, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
155 faWater, |
2184
826fc7309370
client: Added refresh button to reload the WFS layer data.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
1800
diff
changeset
|
156 faWrench, |
2566
83b938bf4da9
client: prepared store and minimized splitscreens for multiple simultaneous diagrams
Markus Kottlaender <markus@intevation.de>
parents:
2541
diff
changeset
|
157 faRedo, |
83b938bf4da9
client: prepared store and minimized splitscreens for multiple simultaneous diagrams
Markus Kottlaender <markus@intevation.de>
parents:
2541
diff
changeset
|
158 faWindowMinimize, |
2743
4063adda3095
client: identified box: moved bbox zoom button to feature headers and removed bbox from the feature's properties list
Markus Kottlaender <markus@intevation.de>
parents:
2566
diff
changeset
|
159 faWindowMaximize, |
4063adda3095
client: identified box: moved bbox zoom button to feature headers and removed bbox from the feature's properties list
Markus Kottlaender <markus@intevation.de>
parents:
2566
diff
changeset
|
160 faCrosshairs |
1698
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
161 ); |
1549
b03db5726ca5
importqueue detail view
Thomas Junk <thomas.junk@intevation.de>
parents:
1543
diff
changeset
|
162 |
2385
279334be495c
client: cleaned up main.js
Markus Kottlaender <markus@intevation.de>
parents:
2224
diff
changeset
|
163 // register plugins |
141 | 164 Vue.use(GetTextPlugin, { |
165 translations: translations, | |
159
3d9341f6da4e
feat: Locale of browser determines the default language
Thomas Junk <thomas.junk@intevation.de>
parents:
141
diff
changeset
|
166 availableLanguages: supportedLanguages, |
141 | 167 defaultLanguage: defaultLanguage |
168 }); | |
2385
279334be495c
client: cleaned up main.js
Markus Kottlaender <markus@intevation.de>
parents:
2224
diff
changeset
|
169 Vue.use(Snotify, { toast: { position: SnotifyPosition.centerBottom } }); |
279334be495c
client: cleaned up main.js
Markus Kottlaender <markus@intevation.de>
parents:
2224
diff
changeset
|
170 Vue.use(ToggleButton); |
279334be495c
client: cleaned up main.js
Markus Kottlaender <markus@intevation.de>
parents:
2224
diff
changeset
|
171 Vue.use(VTooltip); |
279334be495c
client: cleaned up main.js
Markus Kottlaender <markus@intevation.de>
parents:
2224
diff
changeset
|
172 Vue.use(VueClipboard); |
141 | 173 |
2385
279334be495c
client: cleaned up main.js
Markus Kottlaender <markus@intevation.de>
parents:
2224
diff
changeset
|
174 // register global components |
279334be495c
client: cleaned up main.js
Markus Kottlaender <markus@intevation.de>
parents:
2224
diff
changeset
|
175 Vue.component("font-awesome-icon", FontAwesomeIcon); |
2408
02d30251d594
client: table component for unified style
Markus Kottlaender <markus@intevation.de>
parents:
2387
diff
changeset
|
176 Vue.component("UIBoxHeader", UIBoxHeader); |
02d30251d594
client: table component for unified style
Markus Kottlaender <markus@intevation.de>
parents:
2387
diff
changeset
|
177 Vue.component("UITableHeader", UITableHeader); |
02d30251d594
client: table component for unified style
Markus Kottlaender <markus@intevation.de>
parents:
2387
diff
changeset
|
178 Vue.component("UITableBody", UITableBody); |
2385
279334be495c
client: cleaned up main.js
Markus Kottlaender <markus@intevation.de>
parents:
2224
diff
changeset
|
179 |
2541
468c8dc796cf
client: convert lib helper functions to Vue filters
Markus Kottlaender <markus@intevation.de>
parents:
2464
diff
changeset
|
180 // register global filters |
468c8dc796cf
client: convert lib helper functions to Vue filters
Markus Kottlaender <markus@intevation.de>
parents:
2464
diff
changeset
|
181 for (let name in filters) Vue.filter(name, filters[name]); |
468c8dc796cf
client: convert lib helper functions to Vue filters
Markus Kottlaender <markus@intevation.de>
parents:
2464
diff
changeset
|
182 |
2385
279334be495c
client: cleaned up main.js
Markus Kottlaender <markus@intevation.de>
parents:
2224
diff
changeset
|
183 // global vue config |
3 | 184 Vue.config.productionTip = false; |
1698
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
185 |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
186 const app = new Vue({ |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
187 router, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
188 store, |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
189 render: h => h(App) |
b38a71d1c08a
Backed out changeset 5af8c82c3d21
Thomas Junk <thomas.junk@intevation.de>
parents:
1673
diff
changeset
|
190 }).$mount("#app"); |
295
22deb76dff2c
feat: Added vue2-toastr
Thomas Junk <thomas.junk@intevation.de>
parents:
159
diff
changeset
|
191 |
22deb76dff2c
feat: Added vue2-toastr
Thomas Junk <thomas.junk@intevation.de>
parents:
159
diff
changeset
|
192 export default app; |