Mercurial > gemma
annotate client/src/components/systemconfiguration/Systemconfiguration.vue @ 3513:ca9590be1da2 waterlevel-in-crossprofile
client: fairway profiles: removed more code
author | Markus Kottlaender <markus@intevation.de> |
---|---|
date | Tue, 28 May 2019 18:40:02 +0200 |
parents | 6c5364ff0abb |
children | cffa99aa523c |
rev | line source |
---|---|
2213 | 1 <template> |
2 <div class="d-flex flex-row"> | |
2919
6c5364ff0abb
client: removed a lot of unnecessary closing tags
Markus Kottlaender <markus@intevation.de>
parents:
2760
diff
changeset
|
3 <Spacer /> |
2534
bb5286acfee2
client: reduced spacings between and inside boxes and more compact main menu
Markus Kottlaender <markus@intevation.de>
parents:
2387
diff
changeset
|
4 <div class="card sysconfig mt-2 shadow-xs"> |
2760
c6fba10926cc
client:correct a set of strings marking
Fadi Abbud <fadi.abbud@intevation.de>
parents:
2534
diff
changeset
|
5 <UIBoxHeader icon="wrench" :title="systemconfigurationLabel" /> |
2213 | 6 <div class="card-body text-left"> |
2247
e6fba449aa3c
merged pdf-export in default
Markus Kottlaender <markus@intevation.de>
parents:
2228
diff
changeset
|
7 <PDFTemplates /> |
2277
5f3110aa1ad1
made configuration page accessible for waterway admins
Markus Kottlaender <markus@intevation.de>
parents:
2276
diff
changeset
|
8 <ColorSettings v-if="isSysAdmin" /> |
2213 | 9 </div> |
10 <!-- card-body --> | |
11 </div> | |
12 </div> | |
13 </template> | |
14 | |
15 <style scoped lang="scss"> | |
16 .sysconfig { | |
2534
bb5286acfee2
client: reduced spacings between and inside boxes and more compact main menu
Markus Kottlaender <markus@intevation.de>
parents:
2387
diff
changeset
|
17 margin-right: $small-offset; |
2213 | 18 width: 100%; |
19 height: 100%; | |
20 } | |
21 </style> | |
22 | |
23 <script> | |
24 /* This is Free Software under GNU Affero General Public License v >= 3.0 | |
25 * without warranty, see README.md and license for details. | |
26 * | |
27 * SPDX-License-Identifier: AGPL-3.0-or-later | |
28 * License-Filename: LICENSES/AGPL-3.0.txt | |
29 * | |
30 * Copyright (C) 2018 by via donau | |
31 * – Österreichische Wasserstraßen-Gesellschaft mbH | |
32 * Software engineering by Intevation GmbH | |
33 * | |
34 * Author(s): | |
35 * Thomas Junk <thomas.junk@intevation.de> | |
36 * Bernhard Reiter <bernhard@intevation.de> | |
2276
920fba6eef0d
moved color settings into own component
Markus Kottlaender <markus@intevation.de>
parents:
2247
diff
changeset
|
37 * Markus Kottländer <markus@intevation.de> |
2213 | 38 */ |
2277
5f3110aa1ad1
made configuration page accessible for waterway admins
Markus Kottlaender <markus@intevation.de>
parents:
2276
diff
changeset
|
39 import { mapGetters } from "vuex"; |
5f3110aa1ad1
made configuration page accessible for waterway admins
Markus Kottlaender <markus@intevation.de>
parents:
2276
diff
changeset
|
40 |
2213 | 41 export default { |
42 name: "systemconfiguration", | |
43 components: { | |
44 Spacer: () => import("../Spacer"), | |
2276
920fba6eef0d
moved color settings into own component
Markus Kottlaender <markus@intevation.de>
parents:
2247
diff
changeset
|
45 PDFTemplates: () => import("./PDFTemplates"), |
920fba6eef0d
moved color settings into own component
Markus Kottlaender <markus@intevation.de>
parents:
2247
diff
changeset
|
46 ColorSettings: () => import("./ColorSettings") |
2277
5f3110aa1ad1
made configuration page accessible for waterway admins
Markus Kottlaender <markus@intevation.de>
parents:
2276
diff
changeset
|
47 }, |
5f3110aa1ad1
made configuration page accessible for waterway admins
Markus Kottlaender <markus@intevation.de>
parents:
2276
diff
changeset
|
48 computed: { |
2760
c6fba10926cc
client:correct a set of strings marking
Fadi Abbud <fadi.abbud@intevation.de>
parents:
2534
diff
changeset
|
49 ...mapGetters("user", ["isSysAdmin"]), |
c6fba10926cc
client:correct a set of strings marking
Fadi Abbud <fadi.abbud@intevation.de>
parents:
2534
diff
changeset
|
50 systemconfigurationLabel() { |
c6fba10926cc
client:correct a set of strings marking
Fadi Abbud <fadi.abbud@intevation.de>
parents:
2534
diff
changeset
|
51 return this.$gettext("Systemconfiguration"); |
c6fba10926cc
client:correct a set of strings marking
Fadi Abbud <fadi.abbud@intevation.de>
parents:
2534
diff
changeset
|
52 } |
2213 | 53 } |
54 }; | |
55 </script> |