changeset 1061:3418f3e2c822

client: remove version number from login page
author Bernhard Reiter <bernhard@intevation.de>
date Thu, 25 Oct 2018 21:04:32 +0200
parents c9badb264d16
children d3bdad8ed8d3
files client/src/login/Login.vue
diffstat 1 files changed, 1 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- a/client/src/login/Login.vue	Thu Oct 25 20:55:03 2018 +0200
+++ b/client/src/login/Login.vue	Thu Oct 25 21:04:32 2018 +0200
@@ -46,7 +46,6 @@
 
             <!-- bottom logo section -->
             <div class="mb-3 secondary-logo"><img :src="secondaryLogo"></div>
-            <div id="versioninfo"><small>Version: {{version}}</small></div>
         </div>
     </div>
 </template>)
@@ -59,12 +58,6 @@
   @extend %fully-centered;
 }
 
-#versioninfo {
-  position: absolute;
-  bottom: 0;
-  right: 0;
-}
-
 .loginform {
   max-width: 375px;
   margin-left: auto;
@@ -103,7 +96,6 @@
 import { mapGetters } from "vuex";
 import { HTTP } from "../application/lib/http.js";
 import { displayError } from "../application/lib/errors.js";
-import { version } from "../../package.json";
 
 const UNAUTHORIZED = 401;
 
@@ -118,8 +110,7 @@
       passwordJustResetted: false,
       readablePassword: false,
       showPasswordReset: false,
-      usernameToReset: "",
-      version: version
+      usernameToReset: ""
     };
   },
   computed: {