diff client/src/application/Topbar.vue @ 713:badbc0207418

feat: systeminformation feature added Under systeminformation there is a component to display textual data. Currently there is a stub log from my console displayed.
author Thomas Junk <thomas.junk@intevation.de>
date Fri, 21 Sep 2018 13:18:30 +0200
parents 3e2eeb215d0e
children c12ec7fde3f2
line wrap: on
line diff
--- a/client/src/application/Topbar.vue	Fri Sep 21 12:53:09 2018 +0200
+++ b/client/src/application/Topbar.vue	Fri Sep 21 13:18:30 2018 +0200
@@ -3,7 +3,7 @@
         <div @click="toggleSidebar">
             <i class="ui-element menubutton fa fa-bars"></i>
         </div>
-        <div v-if="routeName != 'usermanagement'" :class="searchbarContainerStyle">
+        <div v-if="routeName == 'mainview'" :class="searchbarContainerStyle">
             <div class="input-group-prepend shadow">
                 <span @click="toggleSearchbar" class="ui-element input-group-text searchlabel" for="search">
                     <i class="fa fa-search"></i>
@@ -11,11 +11,11 @@
             </div>
             <input v-if="!searchbarCollapsed" id="search" type="text" class="form-control ui-element search searchbar">
         </div>
-        <div v-if="routeName != 'usermanagement'" class="splitbutton">
+        <div v-if="routeName == 'mainview'" class="splitbutton">
             <i @click="splitScreen" class="ui-element splitscreen fa fa-window-restore shadow"></i>
         </div>
         <div class="">
-            <Layers v-if="routeName != 'usermanagement'"></Layers>
+            <Layers v-if="routeName == 'mainview'"></Layers>
         </div>
     </div>
 </template>
@@ -92,7 +92,7 @@
   },
   data() {
     return {
-      searchbarCollapsed: false
+      searchbarCollapsed: true
     };
   },
   computed: {