diff client/src/components/ImportSoundingresults.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 2e57fd9b4f3a
children 4625ae70f076
line wrap: on
line diff
--- a/client/src/components/ImportSoundingresults.vue	Mon Feb 25 14:30:31 2019 +0100
+++ b/client/src/components/ImportSoundingresults.vue	Mon Feb 25 15:02:34 2019 +0100
@@ -3,12 +3,7 @@
     <div class="d-flex flex-row">
       <Spacer></Spacer>
       <div class="card shadow-xs mt-3 mr-3 w-100 importsoundingresultscard">
-        <h6
-          class="mb-0 py-2 px-3 border-bottom d-flex text-info align-items-center"
-        >
-          <font-awesome-icon icon="upload" class="mr-2"></font-awesome-icon>
-          <translate class="headline">Import Soundingresults</translate>
-        </h6>
+        <UIBoxHeader icon="upload" title="Import Soundingresults" />
         <div v-if="editState" class="ml-auto mr-auto mt-4 w-95">
           <div class="d-flex flex-column">
             <div class="d-flex flex-row">