diff client/src/components/Bottlenecks.vue @ 2387:f185503ef35a

client: unified box's header styles by creating a reusable component The clients html/css and resulting look and feel of the app is partially very inconsistent. By moving code to more small and reusable components consistency will hopefully be increased.
author Markus Kottlaender <markus@intevation.de>
date Mon, 25 Feb 2019 15:02:34 +0100
parents a08e0f532304
children 3679d604645e
line wrap: on
line diff
--- a/client/src/components/Bottlenecks.vue	Mon Feb 25 14:30:31 2019 +0100
+++ b/client/src/components/Bottlenecks.vue	Mon Feb 25 15:02:34 2019 +0100
@@ -1,9 +1,10 @@
 <template>
   <div>
-    <h6 class="mb-0 py-2 px-3 border-bottom d-flex align-items-center">
-      <font-awesome-icon icon="ship" class="mr-2"></font-awesome-icon>
-      <translate>Bottlenecks</translate>
-    </h6>
+    <UIBoxHeader
+      icon="ship"
+      title="Bottlenecks"
+      :closeCallback="$parent.close"
+    />
     <div class="row p-2 text-left small">
       <div class="col-5">
         <a href="#" @click="sortBy('name')" class="sort-link">