changeset 2602:5d0e5159190f

overview2: detail components for unified log
author Thomas Junk <thomas.junk@intevation.de>
date Tue, 12 Mar 2019 15:00:40 +0100
parents b9523d876d01
children 8d767359fddb
files client/src/components/importoverview/AdditionalDetail.vue client/src/components/importoverview/ApprovedGaugeMeasurementDetail.vue client/src/components/importoverview/BottleneckDetail.vue client/src/components/importoverview/FairwayDimension.vue client/src/components/importoverview/SoundingResultDetail.vue client/src/components/importoverview/StretchDetails.vue
diffstat 6 files changed, 135 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/client/src/components/importoverview/AdditionalDetail.vue	Tue Mar 12 14:47:14 2019 +0100
+++ b/client/src/components/importoverview/AdditionalDetail.vue	Tue Mar 12 15:00:40 2019 +0100
@@ -1,10 +1,12 @@
 <template>
   <div>
-    <div v-if="isFairwayDimension">Fairwaydimension</div>
-    <div v-if="isApprovedGaugeMeasurement">AGM</div>
-    <div v-if="isBottleneck">Bottlenecks</div>
-    <div v-if="isStretch">Stretch</div>
-    <div v-if="isSoundingResult">SoundingResult</div>
+    <FairwayDimensionDetail v-if="isFairwayDimension"></FairwayDimensionDetail>
+    <ApprovedGaugeMeasurementDetail
+      v-if="isApprovedGaugeMeasurement"
+    ></ApprovedGaugeMeasurementDetail>
+    <BottleneckDetail v-if="isBottleneck"></BottleneckDetail>
+    <StretchDetail v-if="isStretch"></StretchDetail>
+    <SoundingResultDetail v-if="isSoundingResult"></SoundingResultDetail>
   </div>
 </template>
 
@@ -26,6 +28,14 @@
 export default {
   name: "additionaldetail",
   props: ["entry"],
+  components: {
+    SoundingResultDetail: () => import("./SoundingResultDetail.vue"),
+    BottleneckDetail: () => import("./BottleneckDetail.vue"),
+    StretchDetail: () => import("./StretchDetails.vue"),
+    ApprovedGaugeMeasurementDetail: () =>
+      import("./ApprovedGaugeMeasurementDetail.vue"),
+    FairwayDimensionDetail: () => import("./FairwayDimension.vue")
+  },
   computed: {
     kind() {
       return this.entry.kind.toUpperCase();
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/client/src/components/importoverview/ApprovedGaugeMeasurementDetail.vue	Tue Mar 12 15:00:40 2019 +0100
@@ -0,0 +1,24 @@
+<template>
+  <div>AGM</div>
+</template>
+
+<script>
+/* This is Free Software under GNU Affero General Public License v >= 3.0
+ * without warranty, see README.md and license for details.
+ *
+ * SPDX-License-Identifier: AGPL-3.0-or-later
+ * License-Filename: LICENSES/AGPL-3.0.txt
+ *
+ * Copyright (C) 2018 by via donau
+ *   – Österreichische Wasserstraßen-Gesellschaft mbH
+ * Software engineering by Intevation GmbH
+ *
+ * Author(s):
+ * Thomas Junk <thomas.junk@intevation.de>
+ */
+export default {
+  name: "agmdetails"
+};
+</script>
+
+<style></style>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/client/src/components/importoverview/BottleneckDetail.vue	Tue Mar 12 15:00:40 2019 +0100
@@ -0,0 +1,24 @@
+<template>
+  <div>Bottlenecks</div>
+</template>
+
+<script>
+/* This is Free Software under GNU Affero General Public License v >= 3.0
+ * without warranty, see README.md and license for details.
+ *
+ * SPDX-License-Identifier: AGPL-3.0-or-later
+ * License-Filename: LICENSES/AGPL-3.0.txt
+ *
+ * Copyright (C) 2018 by via donau
+ *   – Österreichische Wasserstraßen-Gesellschaft mbH
+ * Software engineering by Intevation GmbH
+ *
+ * Author(s):
+ * Thomas Junk <thomas.junk@intevation.de>
+ */
+export default {
+  name: "bottleneckdetails"
+};
+</script>
+
+<style></style>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/client/src/components/importoverview/FairwayDimension.vue	Tue Mar 12 15:00:40 2019 +0100
@@ -0,0 +1,24 @@
+<template>
+  <div>Fairwaydimension</div>
+</template>
+
+<script>
+/* This is Free Software under GNU Affero General Public License v >= 3.0
+ * without warranty, see README.md and license for details.
+ *
+ * SPDX-License-Identifier: AGPL-3.0-or-later
+ * License-Filename: LICENSES/AGPL-3.0.txt
+ *
+ * Copyright (C) 2018 by via donau
+ *   – Österreichische Wasserstraßen-Gesellschaft mbH
+ * Software engineering by Intevation GmbH
+ *
+ * Author(s):
+ * Thomas Junk <thomas.junk@intevation.de>
+ */
+export default {
+  name: "fairwaydimensiondetails"
+};
+</script>
+
+<style></style>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/client/src/components/importoverview/SoundingResultDetail.vue	Tue Mar 12 15:00:40 2019 +0100
@@ -0,0 +1,24 @@
+<template>
+  <div>SoundingResult</div>
+</template>
+
+<script>
+/* This is Free Software under GNU Affero General Public License v >= 3.0
+ * without warranty, see README.md and license for details.
+ *
+ * SPDX-License-Identifier: AGPL-3.0-or-later
+ * License-Filename: LICENSES/AGPL-3.0.txt
+ *
+ * Copyright (C) 2018 by via donau
+ *   – Österreichische Wasserstraßen-Gesellschaft mbH
+ * Software engineering by Intevation GmbH
+ *
+ * Author(s):
+ * Thomas Junk <thomas.junk@intevation.de>
+ */
+export default {
+  name: "soundingresultdetails"
+};
+</script>
+
+<style></style>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/client/src/components/importoverview/StretchDetails.vue	Tue Mar 12 15:00:40 2019 +0100
@@ -0,0 +1,24 @@
+<template>
+  <div>Stretches Detail</div>
+</template>
+
+<script>
+/* This is Free Software under GNU Affero General Public License v >= 3.0
+ * without warranty, see README.md and license for details.
+ *
+ * SPDX-License-Identifier: AGPL-3.0-or-later
+ * License-Filename: LICENSES/AGPL-3.0.txt
+ *
+ * Copyright (C) 2018 by via donau
+ *   – Österreichische Wasserstraßen-Gesellschaft mbH
+ * Software engineering by Intevation GmbH
+ *
+ * Author(s):
+ * Thomas Junk <thomas.junk@intevation.de>
+ */
+export default {
+  name: "stretchdetails"
+};
+</script>
+
+<style></style>