diff options
author | Derick Montague <derick.montague@ibm.com> | 2019-12-05 01:30:08 +0300 |
---|---|---|
committer | Derick Montague <derick.montague@ibm.com> | 2020-01-23 02:44:50 +0300 |
commit | e080a1a7593e83a49d623ffdd452fd0e1c617889 (patch) | |
tree | bb94dee85cae80a3f54f4fbcf1d816f304129e67 /src/App.vue | |
parent | 186ce2e407812f417aba7a2ee2ab6cae5d5f3b0e (diff) | |
download | webui-vue-e080a1a7593e83a49d623ffdd452fd0e1c617889.tar.xz |
Add login and logout functionality
- Add AuthenticationStore
- Add ability to login and logout
- Add route navigation guard
- Add login styles
- Add temporary authentication for api call
- Add Login directory
- Add index.js
In order to login a .env.development.local file that contains
BASE_URL="https://<ip address> or <FQDN>"
Signed-off-by: Derick Montague <derick.montague@ibm.com>
Change-Id: I88b93e287e66f4bae82a1ec2934cdef12d78264e
Diffstat (limited to 'src/App.vue')
-rw-r--r-- | src/App.vue | 31 |
1 files changed, 2 insertions, 29 deletions
diff --git a/src/App.vue b/src/App.vue index d0e1a0ae..56674955 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,18 +1,6 @@ <template> <div id="app"> - <AppHeader /> - <b-container fluid class="page-container"> - <b-row no-gutters> - <b-col tag="nav" cols="12" md="3" lg="2"> - <AppNavigation /> - </b-col> - <b-col cols="12" md="9" lg="10"> - <main id="#main-content"> - <router-view /> - </main> - </b-col> - </b-row> - </b-container> + <router-view /> </div> </template> @@ -21,22 +9,7 @@ </style> <script> -import AppHeader from "@/components/AppHeader"; -import AppNavigation from "@/components/AppNavigation"; export default { - name: "App", - components: { - AppHeader, - AppNavigation - } + name: "App" }; </script> - -<style lang="scss" scoped> -.page-container { - margin-right: 0; - margin-left: 0; - padding-right: 0; - padding-left: 0; -} -</style> |