Mercurial > gemma
annotate client/src/components/systemconfiguration/Systemconfiguration.vue @ 2276:920fba6eef0d
moved color settings into own component
The configurations page will be accessible for waterway admins too. Roles will be checked for the individual components on this page. It's also better to read and code is better organized.
author | Markus Kottlaender <markus@intevation.de> |
---|---|
date | Fri, 15 Feb 2019 10:44:45 +0100 |
parents | e6fba449aa3c |
children | 5f3110aa1ad1 |
rev | line source |
---|---|
2213 | 1 <template> |
2 <div class="d-flex flex-row"> | |
3 <Spacer></Spacer> | |
4 <div class="card sysconfig mt-3 shadow-xs"> | |
5 <h6 | |
6 class="mb-0 py-2 px-3 border-bottom d-flex text-info align-items-center" | |
7 > | |
8 <font-awesome-icon icon="wrench" class="mr-2"></font-awesome-icon> | |
9 <translate class="headline">Systemconfiguration</translate> | |
10 </h6> | |
11 <div class="card-body text-left"> | |
2247
e6fba449aa3c
merged pdf-export in default
Markus Kottlaender <markus@intevation.de>
parents:
2228
diff
changeset
|
12 <PDFTemplates /> |
2276
920fba6eef0d
moved color settings into own component
Markus Kottlaender <markus@intevation.de>
parents:
2247
diff
changeset
|
13 <ColorSettings /> |
2213 | 14 </div> |
15 <!-- card-body --> | |
16 </div> | |
17 </div> | |
18 </template> | |
19 | |
20 <style scoped lang="scss"> | |
21 .sysconfig { | |
22 margin-right: $offset; | |
23 width: 100%; | |
24 height: 100%; | |
25 } | |
26 </style> | |
27 | |
28 <script> | |
29 /* This is Free Software under GNU Affero General Public License v >= 3.0 | |
30 * without warranty, see README.md and license for details. | |
31 * | |
32 * SPDX-License-Identifier: AGPL-3.0-or-later | |
33 * License-Filename: LICENSES/AGPL-3.0.txt | |
34 * | |
35 * Copyright (C) 2018 by via donau | |
36 * – Österreichische Wasserstraßen-Gesellschaft mbH | |
37 * Software engineering by Intevation GmbH | |
38 * | |
39 * Author(s): | |
40 * Thomas Junk <thomas.junk@intevation.de> | |
41 * Bernhard Reiter <bernhard@intevation.de> | |
2276
920fba6eef0d
moved color settings into own component
Markus Kottlaender <markus@intevation.de>
parents:
2247
diff
changeset
|
42 * Markus Kottländer <markus@intevation.de> |
2213 | 43 */ |
44 export default { | |
45 name: "systemconfiguration", | |
46 components: { | |
47 Spacer: () => import("../Spacer"), | |
2276
920fba6eef0d
moved color settings into own component
Markus Kottlaender <markus@intevation.de>
parents:
2247
diff
changeset
|
48 PDFTemplates: () => import("./PDFTemplates"), |
920fba6eef0d
moved color settings into own component
Markus Kottlaender <markus@intevation.de>
parents:
2247
diff
changeset
|
49 ColorSettings: () => import("./ColorSettings") |
2213 | 50 } |
51 }; | |
52 </script> |