From 8726494340cfa53a9d947cafed670bb6f00769a9 Mon Sep 17 00:00:00 2001 From: NGPixel Date: Sat, 14 Apr 2018 15:22:45 -0400 Subject: [PATCH] feat: admin - contribute --- client/components/admin.vue | 7 +- client/components/admin/admin-contribute.vue | 60 ++++++++++++++ client/components/admin/admin-dashboard.vue | 2 +- client/components/login.vue | 87 ++++++++++++-------- 4 files changed, 119 insertions(+), 37 deletions(-) create mode 100644 client/components/admin/admin-contribute.vue diff --git a/client/components/admin.vue b/client/components/admin.vue index 59ea4986..a6166e60 100644 --- a/client/components/admin.vue +++ b/client/components/admin.vue @@ -62,6 +62,10 @@ v-list-tile(to='/dev') v-list-tile-action: v-icon weekend v-list-tile-title Developer Tools + v-divider.my-2 + v-list-tile(to='/contribute') + v-list-tile-action: v-icon favorite + v-list-tile-title Contribute to Wiki.js v-content transition(name='admin-router') @@ -108,7 +112,8 @@ const router = new VueRouter({ { path: '/api', component: () => import(/* webpackChunkName: "admin" */ './admin/admin-api.vue') }, { path: '/system', component: () => import(/* webpackChunkName: "admin" */ './admin/admin-system.vue') }, { path: '/utilities', component: () => import(/* webpackChunkName: "admin" */ './admin/admin-utilities.vue') }, - { path: '/dev', component: () => import(/* webpackChunkName: "admin-dev" */ './admin/admin-dev.vue') } + { path: '/dev', component: () => import(/* webpackChunkName: "admin-dev" */ './admin/admin-dev.vue') }, + { path: '/contribute', component: () => import(/* webpackChunkName: "admin-dev" */ './admin/admin-contribute.vue') } ] }) diff --git a/client/components/admin/admin-contribute.vue b/client/components/admin/admin-contribute.vue new file mode 100644 index 00000000..9cbf6c91 --- /dev/null +++ b/client/components/admin/admin-contribute.vue @@ -0,0 +1,60 @@ + + + + + diff --git a/client/components/admin/admin-dashboard.vue b/client/components/admin/admin-dashboard.vue index c38a3252..464141f8 100644 --- a/client/components/admin/admin-dashboard.vue +++ b/client/components/admin/admin-dashboard.vue @@ -3,7 +3,7 @@ v-layout(row wrap) v-flex(xs12) .headline.primary--text Dashboard - .subheading.grey--text Coming soon + .subheading.grey--text Wiki.js v2 ALPHA Build - NOT FOR PRODUCTION USE