# HG changeset patch # User Sascha L. Teichmann # Date 1535117613 -7200 # Node ID af1a198391f3b8bb53ed1aef9d95b361cd22a508 # Parent c10c76c9279712405fc5ebd2e63b966a12079e64# Parent f6d61657b48793335d5737a5f6b0fb2f5a302907 Merged default into metamorph-for-all branch. diff -r c10c76c92797 -r af1a198391f3 .hgignore --- a/.hgignore Fri Aug 24 15:30:31 2018 +0200 +++ b/.hgignore Fri Aug 24 15:33:33 2018 +0200 @@ -73,8 +73,8 @@ # Yarn Integrity file .yarn-integrity -# dotenv environment variables file -.env +# local dotenv environment variables file +.env.local ### Vim ### # swap diff -r c10c76c92797 -r af1a198391f3 client/.env --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/client/.env Fri Aug 24 15:33:33 2018 +0200 @@ -0,0 +1,12 @@ +#Name of the application, e.g. displayed at login time +VUE_APP_TITLE=Waterway Monitoring system + +#Backend URL +VUE_APP_API_URL=/api/ +VUE_BACKEND_API_URL=http://gemma_backend:8000 + +#URL of secondary logo +VUE_APP_SECONDARY_LOGO_URL= + +#Path of vendored images is copied during a webpack build +VUE_APP_VENDOR_IMG_PATH= diff -r c10c76c92797 -r af1a198391f3 client/.env.sample --- a/client/.env.sample Fri Aug 24 15:30:31 2018 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,12 +0,0 @@ -#Name of the application, e.g. displayed at login time -VUE_APP_TITLE=Waterway Monitoring system - -#Backend URL -VUE_APP_API_URL=/api/ -VUE_BACKEND_API_URL=http://backend.example.com:8088 - -#URL of secondary logo -VUE_APP_SECONDARY_LOGO_URL= - -#Path of vendored images is copied during a webpack build -VUE_APP_VENDOR_IMG_PATH= diff -r c10c76c92797 -r af1a198391f3 client/README.md --- a/client/README.md Fri Aug 24 15:30:31 2018 +0200 +++ b/client/README.md Fri Aug 24 15:33:33 2018 +0200 @@ -7,14 +7,14 @@ `yarn install` -* Configuration via `.env`-file - - **Example** given via `.env.sample` +* Extend or overwrite configuration via `.env.local`-file ``` - cp .env.sample .env + cp .env .env.local ```` + Modify `.env.local` according to your needs. + * Start Development servers * Javascript diff -r c10c76c92797 -r af1a198391f3 client/src/components/Passwordfield.vue --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/client/src/components/Passwordfield.vue Fri Aug 24 15:33:33 2018 +0200 @@ -0,0 +1,43 @@ + + + diff -r c10c76c92797 -r af1a198391f3 client/src/components/Sidebar.vue --- a/client/src/components/Sidebar.vue Fri Aug 24 15:30:31 2018 +0200 +++ b/client/src/components/Sidebar.vue Fri Aug 24 15:33:33 2018 +0200 @@ -7,6 +7,8 @@ Link Disabled
+
+
Administration
Users
diff -r c10c76c92797 -r af1a198391f3 client/src/components/Userdetail.vue --- a/client/src/components/Userdetail.vue Fri Aug 24 15:30:31 2018 +0200 +++ b/client/src/components/Userdetail.vue Fri Aug 24 15:33:33 2018 +0200 @@ -2,7 +2,7 @@
- {{ currentUser.user }} + {{ this.cardHeader }}
@@ -10,7 +10,7 @@
- +
{{ errors.user }}
@@ -37,14 +37,18 @@
{{ errors.role }}
- - -
{{ errors.password }}
+
- - -
{{ errors.passwordre }}
+
@@ -78,6 +82,7 @@