Mercurial > gemma
comparison client/src/components/Main.vue @ 2549:9bf6b767a56a
client: refactored and improved splitscreen for diagrams
To make different diagrams possible, the splitscreen view needed to be decoupled from the cross profiles.
Also the style has changed to make it more consistent with the rest of the app. The standard box header
is now used and there are collapse and expand animations.
author | Markus Kottlaender <markus@intevation.de> |
---|---|
date | Fri, 08 Mar 2019 08:50:47 +0100 |
parents | 16fb9667ddf8 |
children | 2d2b7fdc0c01 |
comparison
equal
deleted
inserted
replaced
2548:6b34d0fb4498 | 2549:9bf6b767a56a |
---|---|
1 <template> | 1 <template> |
2 <div class="main d-flex flex-column"> | 2 <div class="main d-flex flex-column"> |
3 <Maplayer></Maplayer> | 3 <Maplayer /> |
4 <FairwayProfile></FairwayProfile> | |
5 </div> | 4 </div> |
6 </template> | 5 </template> |
7 | 6 |
8 <script> | 7 <script> |
9 /* This is Free Software under GNU Affero General Public License v >= 3.0 | 8 /* This is Free Software under GNU Affero General Public License v >= 3.0 |
16 * – Österreichische Wasserstraßen-Gesellschaft mbH | 15 * – Österreichische Wasserstraßen-Gesellschaft mbH |
17 * Software engineering by Intevation GmbH | 16 * Software engineering by Intevation GmbH |
18 * | 17 * |
19 * Author(s): | 18 * Author(s): |
20 * Thomas Junk <thomas.junk@intevation.de> | 19 * Thomas Junk <thomas.junk@intevation.de> |
20 * Markus Kottländer <markus.kottlaender@intevation.de> | |
21 */ | 21 */ |
22 | 22 |
23 export default { | 23 export default { |
24 name: "mainview", | 24 name: "mainview", |
25 components: { | 25 components: { |
26 Maplayer: () => import("./Maplayer"), | 26 Maplayer: () => import("./Maplayer") |
27 FairwayProfile: () => import("./fairway/Fairwayprofile") | |
28 } | 27 } |
29 }; | 28 }; |
30 </script> | 29 </script> |