changeset 2703:c887666b110f

import_overview: increase log fontsize. errors in log are marked red
author Thomas Junk <thomas.junk@intevation.de>
date Mon, 18 Mar 2019 15:49:41 +0100
parents d7ef169fd0d3
children 84145179ec72
files client/src/components/importoverview/AdditionalLog.vue
diffstat 1 files changed, 11 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/client/src/components/importoverview/AdditionalLog.vue	Mon Mar 18 15:45:42 2019 +0100
+++ b/client/src/components/importoverview/AdditionalLog.vue	Mon Mar 18 15:49:41 2019 +0100
@@ -5,8 +5,9 @@
         :class="[
           'kind',
           {
+            'text-danger': /error/.test(line.kind),
             'text-warning': /warn/.test(line.kind),
-            'font-weight-bold': /warn/.test(line.kind)
+            'font-weight-bold': /warn|error/.test(line.kind)
           }
         ]"
         >{{ line.kind.toUpperCase() }}</small
@@ -15,8 +16,9 @@
         :class="[
           'time',
           {
+            'text-danger': /error/.test(line.kind),
             'text-warning': /warn/.test(line.kind),
-            'font-weight-bold': /warn/.test(line.kind)
+            'font-weight-bold': /warn|error/.test(line.kind)
           }
         ]"
         >{{ line.time }}</small
@@ -25,8 +27,9 @@
         :class="[
           'message',
           {
+            'text-danger': /error/.test(line.kind),
             'text-warning': /warn/.test(line.kind),
-            'font-weight-bold': /warn/.test(line.kind)
+            'font-weight-bold': /warn|error/.test(line.kind)
           }
         ]"
         >{{ line.message }}</small
@@ -67,9 +70,13 @@
   overflow-y: auto;
 }
 .kind {
-  width: 7%;
+  width: 8%;
 }
 .time {
   width: 24%;
 }
+
+small {
+  font-size: smaller;
+}
 </style>