From 9ab4f2a6db4984328cefebc2c4fd44314345fd66 Mon Sep 17 00:00:00 2001 From: Paul Wilde Date: Tue, 14 Feb 2023 16:29:15 +0000 Subject: [PATCH] added progress bar for logon and nicer logout menu --- src/components/MyNav.vue | 30 +++++++++++++++++++++++++++--- src/views/LoginPage.vue | 35 +++++++++++++++++++++++++++-------- 2 files changed, 54 insertions(+), 11 deletions(-) diff --git a/src/components/MyNav.vue b/src/components/MyNav.vue index f09e4fa..6fdb4e5 100644 --- a/src/components/MyNav.vue +++ b/src/components/MyNav.vue @@ -4,7 +4,25 @@ {{ site_info.name }} - Hi {{ user.first_name }} + + + + + + + x.isUserMgmt == true) + } + }, data(){ return { items: [], - drawer: null + drawer: null, + drawer2: false } }, created() { @@ -87,7 +111,7 @@ export default{ value:"/sop/printed"}] }) - items.push({title: "Logout", value:"/logout"}) + items.push({title: "Logout", value:"/logout", isUserMgmt: true}) return items } } diff --git a/src/views/LoginPage.vue b/src/views/LoginPage.vue index ca0c000..a8e2122 100644 --- a/src/views/LoginPage.vue +++ b/src/views/LoginPage.vue @@ -1,14 +1,22 @@