Mercurial > gemma
comparison client/src/main.js @ 1163:fb5c83d4ea1d
added copy coordinates button to fairway profile
author | Markus Kottlaender <markus@intevation.de> |
---|---|
date | Wed, 14 Nov 2018 07:29:51 +0100 |
parents | 874d19f32015 |
children | 24797f66f268 |
comparison
equal
deleted
inserted
replaced
1162:fae17a9dee9e | 1163:fb5c83d4ea1d |
---|---|
29 import "../node_modules/highlight.js/styles/paraiso-dark.css"; | 29 import "../node_modules/highlight.js/styles/paraiso-dark.css"; |
30 import VTooltip from "v-tooltip"; | 30 import VTooltip from "v-tooltip"; |
31 import { library } from "@fortawesome/fontawesome-svg-core"; | 31 import { library } from "@fortawesome/fontawesome-svg-core"; |
32 import { faEye, faEyeSlash } from "@fortawesome/free-solid-svg-icons"; | 32 import { faEye, faEyeSlash } from "@fortawesome/free-solid-svg-icons"; |
33 import { FontAwesomeIcon } from "@fortawesome/vue-fontawesome"; | 33 import { FontAwesomeIcon } from "@fortawesome/vue-fontawesome"; |
34 import VueClipboard from "vue-clipboard2"; | |
34 | 35 |
35 library.add(faEye, faEyeSlash); | 36 library.add(faEye, faEyeSlash); |
36 Vue.component("font-awesome-icon", FontAwesomeIcon); | 37 Vue.component("font-awesome-icon", FontAwesomeIcon); |
37 | 38 |
38 Vue.use(VTooltip); | 39 Vue.use(VTooltip); |
40 | |
41 Vue.use(VueClipboard); | |
39 | 42 |
40 var toastrConfigs = { | 43 var toastrConfigs = { |
41 position: "bottom center", | 44 position: "bottom center", |
42 showDuration: 2000, | 45 showDuration: 2000, |
43 timeOut: 8000, | 46 timeOut: 8000, |