From 5ded3b16f0880e9acd915ecc007d9d93463a4c84 Mon Sep 17 00:00:00 2001 From: Troplo Date: Fri, 9 Apr 2021 23:22:26 +1000 Subject: [PATCH] Asset creator patch --- src/assets/css/kaverti.css | 1 + src/components/Navbar.vue | 11 ++++++----- src/locales/en.json | 1 + src/views/Admin.vue | 16 +++++++++++++++- 4 files changed, 23 insertions(+), 6 deletions(-) diff --git a/src/assets/css/kaverti.css b/src/assets/css/kaverti.css index 93d8908..86e0da4 100644 --- a/src/assets/css/kaverti.css +++ b/src/assets/css/kaverti.css @@ -24,6 +24,7 @@ main { -ms-transform: translate(-50%, -50%); transform: translate(-50%, -50%); } + .navbar { border-bottom: 2px solid #e5e5e5; } \ No newline at end of file diff --git a/src/components/Navbar.vue b/src/components/Navbar.vue index c25bb96..d025cb6 100644 --- a/src/components/Navbar.vue +++ b/src/components/Navbar.vue @@ -346,6 +346,12 @@ v-if="$store.state.user.admin" >{{ $t("navbar.user.admin") }} + {{ $t("navbar.user.asset") }}

{{ $t("navbar.user.friends") }} 

@@ -635,11 +641,6 @@ export default { .then((res) => { this.$store.commit("setKoins", res.data.koins); }) - .catch((e) => { - if (notify) { - AjaxErrorHandler(this.$store)(e); - } - }); }, getInfo() { Object.assign(axios.defaults, { diff --git a/src/locales/en.json b/src/locales/en.json index f2c4250..895bfa1 100644 --- a/src/locales/en.json +++ b/src/locales/en.json @@ -126,6 +126,7 @@ "settings": "Settings", "logout": "Logout", "admin": "Admin", + "asset": "Item Upload", "friends": "Friends" }, "more": { diff --git a/src/views/Admin.vue b/src/views/Admin.vue index 57db4c8..1f73cbe 100644 --- a/src/views/Admin.vue +++ b/src/views/Admin.vue @@ -18,7 +18,21 @@ -

+
+
+ + + + + +
+
+
+ +
+
+
+