From b360dc776b22bfedfa99075331d8bdf4cb69b5b1 Mon Sep 17 00:00:00 2001 From: Ovyerus Date: Thu, 9 May 2019 18:17:44 +1000 Subject: [PATCH] feat(admin/mods): pull data from backend --- package.json | 5 +- pages/admin/mods.vue | 43 +- pages/admin/user-control.vue | 6 +- yarn.lock | 913 ++++++++++++++++++++++++++++++++++- 4 files changed, 927 insertions(+), 40 deletions(-) diff --git a/package.json b/package.json index e51662d..921fdfb 100644 --- a/package.json +++ b/package.json @@ -20,18 +20,19 @@ "clipboard-copy": "^3.0.0", "cookie-universal-nuxt": "^2.0.14", "cross-env": "^5.2.0", + "date-fns": "^1.30.1", "node-vibrant": "~3.1.1", "nuxt": "^2.6.3", "nuxt-env": "^0.1.0", "router": "^1.3.3", + "snyk": "^1.161.1", "vue": "^2.6.10", "vue-async-computed": "^3.6.1", "vue-recaptcha": "^1.1.1", "vue-recaptcha-v3": "^1.4.0", "vue-social-sharing": "^2.4.3", "vuetify": "^1.5.13", - "zxcvbn": "^4.4.2", - "snyk": "^1.161.1" + "zxcvbn": "^4.4.2" }, "devDependencies": { "babel-eslint": "^10.0.1", diff --git a/pages/admin/mods.vue b/pages/admin/mods.vue index e6ed9f9..c0fe051 100644 --- a/pages/admin/mods.vue +++ b/pages/admin/mods.vue @@ -35,34 +35,35 @@ - + - Z + + - Obamas Sexy time club + {{ mod.title }} - Submitted by God + Submitted by {{ mod.author.username }}
- 20 March, 20219 + On 1{{ formatDate(mod.created_at) }}
- View + View
- +
@@ -132,6 +133,7 @@ @@ -157,8 +177,7 @@ export default { .verify-entry position: relative; - // background-image: url('~assets/img/login-bg.jpg'); - background-image: linear-gradient(to right,#7c75ee,#e767eb 75%); + background-image: url('~assets/img/login-bg.jpg'); background-position: left center; &::before @@ -169,6 +188,6 @@ export default { width: 100%; border-radius: 8px; -.zoop:hover +.verify-entry__card:hover elevation(10, true); diff --git a/pages/admin/user-control.vue b/pages/admin/user-control.vue index d44326a..1426d2c 100644 --- a/pages/admin/user-control.vue +++ b/pages/admin/user-control.vue @@ -23,7 +23,8 @@