changeset 2709:fdc392299ff1

import_overview: scrollable and renaming to 'import events'
author Thomas Junk <thomas.junk@intevation.de>
date Mon, 18 Mar 2019 16:54:33 +0100
parents cefef8234d27
children f393fabfdd35
files client/src/components/Sidebar.vue client/src/components/importoverview/ImportOverview.vue
diffstat 2 files changed, 14 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/client/src/components/Sidebar.vue	Mon Mar 18 16:38:19 2019 +0100
+++ b/client/src/components/Sidebar.vue	Mon Mar 18 16:54:33 2019 +0100
@@ -34,7 +34,7 @@
               fixed-width
               icon="clipboard-check"
             ></font-awesome-icon>
-            <span class="fix-trans-space" v-translate>Staging area</span>
+            <span class="fix-trans-space" v-translate>Import events</span>
             <span class="indicator" v-if="showSidebar && stagingNotifications">
               {{ stagingNotifications }}
             </span>
--- a/client/src/components/importoverview/ImportOverview.vue	Mon Mar 18 16:38:19 2019 +0100
+++ b/client/src/components/importoverview/ImportOverview.vue	Mon Mar 18 16:54:33 2019 +0100
@@ -2,7 +2,7 @@
   <div class="overview">
     <UIBoxHeader
       icon="clipboard-check"
-      title="Staging Area"
+      title="Import events"
       :closeCallback="$parent.close"
       :actions="[{ callback: loadLogs, icon: 'redo' }]"
     />
@@ -58,12 +58,14 @@
         ]"
         @sortingChanged="sortBy"
       />
-      <LogEntry
-        class="border-top d-flex-flex-column w-100"
-        :entry="entry"
-        v-for="entry in imports"
-        :key="entry.id"
-      ></LogEntry>
+      <div class="debugm logentries">
+        <LogEntry
+          class="border-top d-flex-flex-column w-100"
+          :entry="entry"
+          v-for="entry in imports"
+          :key="entry.id"
+        ></LogEntry>
+      </div>
     </div>
   </div>
 </template>
@@ -93,6 +95,10 @@
   width: 16%
 .signer
   width: 16%
+
+.logentries
+  overflow-y: auto
+  max-height: 80vh
 </style>
 
 <script>