From 2a68777f67f925f1d27a28cb45fcde7537139466 Mon Sep 17 00:00:00 2001
From: Tim Zieger
Date: Mon, 25 May 2020 12:10:02 +0200
Subject: [PATCH] implement default actions
---
frontend/src/App.vue | 5 ++++-
frontend/src/views/SignIn.vue | 21 ++++++++++++++++++---
2 files changed, 22 insertions(+), 4 deletions(-)
diff --git a/frontend/src/App.vue b/frontend/src/App.vue
index fa428ca..cef32c6 100644
--- a/frontend/src/App.vue
+++ b/frontend/src/App.vue
@@ -50,7 +50,7 @@
-
+
Geo Timetracking
@@ -160,6 +160,9 @@ export default {
role: sessionStorage.getItem("role")
}),
methods: {
+ forward() {
+ this.$router.push("/")
+ },
signIn(loginData) {
var xhttp = new XMLHttpRequest();
diff --git a/frontend/src/views/SignIn.vue b/frontend/src/views/SignIn.vue
index baeef74..a4cfbe4 100644
--- a/frontend/src/views/SignIn.vue
+++ b/frontend/src/views/SignIn.vue
@@ -10,7 +10,7 @@
Sign in
-
+
- Sign In
+ Sign In
@@ -112,7 +112,7 @@
- Sign Up
+ Sign Up
@@ -125,6 +125,7 @@