Mercurial > gemma
annotate client/src/components/systemconfiguration/Systemconfiguration.vue @ 3588:cffa99aa523c
client: systemconfiguration: made container scrollable for more configuration options
author | Markus Kottlaender <markus@intevation.de> |
---|---|
date | Tue, 04 Jun 2019 12:12:30 +0200 |
parents | 6c5364ff0abb |
children | d1bbfb9635ca |
rev | line source |
---|---|
2213 | 1 <template> |
3588
cffa99aa523c
client: systemconfiguration: made container scrollable for more configuration options
Markus Kottlaender <markus@intevation.de>
parents:
2919
diff
changeset
|
2 <div class="d-flex h-100"> |
2919
6c5364ff0abb
client: removed a lot of unnecessary closing tags
Markus Kottlaender <markus@intevation.de>
parents:
2760
diff
changeset
|
3 <Spacer /> |
3588
cffa99aa523c
client: systemconfiguration: made container scrollable for more configuration options
Markus Kottlaender <markus@intevation.de>
parents:
2919
diff
changeset
|
4 <div class="card my-2 mr-2 flex-fill 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" /> |
3588
cffa99aa523c
client: systemconfiguration: made container scrollable for more configuration options
Markus Kottlaender <markus@intevation.de>
parents:
2919
diff
changeset
|
6 <div class="card-body text-left flex-fill" style="overflow: auto"> |
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 <script> | |
16 /* This is Free Software under GNU Affero General Public License v >= 3.0 | |
17 * without warranty, see README.md and license for details. | |
18 * | |
19 * SPDX-License-Identifier: AGPL-3.0-or-later | |
20 * License-Filename: LICENSES/AGPL-3.0.txt | |
21 * | |
22 * Copyright (C) 2018 by via donau | |
23 * – Österreichische Wasserstraßen-Gesellschaft mbH | |
24 * Software engineering by Intevation GmbH | |
25 * | |
26 * Author(s): | |
27 * Thomas Junk <thomas.junk@intevation.de> | |
28 * Bernhard Reiter <bernhard@intevation.de> | |
2276
920fba6eef0d
moved color settings into own component
Markus Kottlaender <markus@intevation.de>
parents:
2247
diff
changeset
|
29 * Markus Kottländer <markus@intevation.de> |
2213 | 30 */ |
2277
5f3110aa1ad1
made configuration page accessible for waterway admins
Markus Kottlaender <markus@intevation.de>
parents:
2276
diff
changeset
|
31 import { mapGetters } from "vuex"; |
5f3110aa1ad1
made configuration page accessible for waterway admins
Markus Kottlaender <markus@intevation.de>
parents:
2276
diff
changeset
|
32 |
2213 | 33 export default { |
34 name: "systemconfiguration", | |
35 components: { | |
36 Spacer: () => import("../Spacer"), | |
2276
920fba6eef0d
moved color settings into own component
Markus Kottlaender <markus@intevation.de>
parents:
2247
diff
changeset
|
37 PDFTemplates: () => import("./PDFTemplates"), |
920fba6eef0d
moved color settings into own component
Markus Kottlaender <markus@intevation.de>
parents:
2247
diff
changeset
|
38 ColorSettings: () => import("./ColorSettings") |
2277
5f3110aa1ad1
made configuration page accessible for waterway admins
Markus Kottlaender <markus@intevation.de>
parents:
2276
diff
changeset
|
39 }, |
5f3110aa1ad1
made configuration page accessible for waterway admins
Markus Kottlaender <markus@intevation.de>
parents:
2276
diff
changeset
|
40 computed: { |
2760
c6fba10926cc
client:correct a set of strings marking
Fadi Abbud <fadi.abbud@intevation.de>
parents:
2534
diff
changeset
|
41 ...mapGetters("user", ["isSysAdmin"]), |
c6fba10926cc
client:correct a set of strings marking
Fadi Abbud <fadi.abbud@intevation.de>
parents:
2534
diff
changeset
|
42 systemconfigurationLabel() { |
c6fba10926cc
client:correct a set of strings marking
Fadi Abbud <fadi.abbud@intevation.de>
parents:
2534
diff
changeset
|
43 return this.$gettext("Systemconfiguration"); |
c6fba10926cc
client:correct a set of strings marking
Fadi Abbud <fadi.abbud@intevation.de>
parents:
2534
diff
changeset
|
44 } |
2213 | 45 } |
46 }; | |
47 </script> |