diff --git a/frontend/src/App.vue b/frontend/src/App.vue index 4d368d6..03d28d0 100644 --- a/frontend/src/App.vue +++ b/frontend/src/App.vue @@ -1,12 +1,44 @@ - - + + Wohoot + + + FastAuth + + + + + + Create + + Logout + + + + + + + + + + + + Show secrets + + Hide secrets + + + @@ -15,8 +47,40 @@ export default { data() { return { loggedin: false, + showSecrets: false, + creationDialog: false, }; }, + methods: { + logout() { + localStorage.removeItem("token"); + this.loggedin = false; + }, + }, }; - + + diff --git a/frontend/src/components/ListSecrets.vue b/frontend/src/components/ListSecrets.vue index 36d0c00..91eeb39 100644 --- a/frontend/src/components/ListSecrets.vue +++ b/frontend/src/components/ListSecrets.vue @@ -1,5 +1,12 @@ - + + + + + + + +