diff client/src/components/Logs.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 16fb9667ddf8
children bb5286acfee2
line wrap: on
line diff
--- a/client/src/components/Logs.vue	Mon Feb 25 14:30:31 2019 +0100
+++ b/client/src/components/Logs.vue	Mon Feb 25 15:02:34 2019 +0100
@@ -3,12 +3,7 @@
     <div class="d-flex flex-row">
       <Spacer></Spacer>
       <div class="card logs shadow-xs mt-3 mr-3">
-        <h6
-          class="mb-0 py-2 px-3 border-bottom d-flex text-info align-items-center"
-        >
-          <font-awesome-icon class="mr-2 fa-fw" icon="book"></font-awesome-icon>
-          <translate class="headline">Logs</translate>
-        </h6>
+        <UIBoxHeader icon="book" title="Logs" />
         <div class="logoutput text-left bg-white">
           <pre id="code" v-highlightjs="logs">
           <code class="bash hljs hljs-string"></code>