From 5d6cdcb6dfdc9a440aec094d64db81f3f02dddbe Mon Sep 17 00:00:00 2001 From: carlosjr Date: Tue, 1 Mar 2022 16:58:30 +0100 Subject: [PATCH] user panel refactor --- src/views/Login/Login.vue | 2 +- src/views/Main/Main.vue | 108 +++++++++++++++++++++++--------------- 2 files changed, 66 insertions(+), 44 deletions(-) diff --git a/src/views/Login/Login.vue b/src/views/Login/Login.vue index a597e0df6..50fa2d709 100644 --- a/src/views/Login/Login.vue +++ b/src/views/Login/Login.vue @@ -109,7 +109,7 @@ export default class Login extends Vue { message: this.$t('login.loginSuccess'), type: 'positive', }); - this.$router.push('/dashboard'); + this.$router.push('/'); }) .catch(() => this.$q.notify({ diff --git a/src/views/Main/Main.vue b/src/views/Main/Main.vue index 92157012b..bd023315c 100644 --- a/src/views/Main/Main.vue +++ b/src/views/Main/Main.vue @@ -2,13 +2,16 @@ - + Salix - - + + Account @@ -17,8 +20,20 @@
Settings
- - + +
@@ -26,17 +41,17 @@
- - +
{{ nickname }}
-
@{{ nickname }}
+
@{{ username }}
- - - - - + @@ -140,10 +131,16 @@