From 0b93544677da211ec379a75586653c5ae598f90d Mon Sep 17 00:00:00 2001 From: Nicolas Giard Date: Sat, 8 Sep 2018 20:57:37 -0400 Subject: [PATCH] feat: admin rendering UI + module configuration UI + UI fixes --- client/components/admin.vue | 11 ++ client/components/admin/admin-api.vue | 1 + client/components/admin/admin-auth.vue | 1 + client/components/admin/admin-contribute.vue | 1 + client/components/admin/admin-dev.vue | 1 + client/components/admin/admin-editor.vue | 1 + client/components/admin/admin-general.vue | 1 + client/components/admin/admin-groups-edit.vue | 1 + client/components/admin/admin-groups.vue | 1 + client/components/admin/admin-locale.vue | 1 + client/components/admin/admin-logging.vue | 1 + client/components/admin/admin-pages.vue | 79 +++++++++ client/components/admin/admin-rendering.vue | 163 +++++++++++------- client/components/admin/admin-search.vue | 1 + client/components/admin/admin-stats.vue | 1 + client/components/admin/admin-storage.vue | 1 + client/components/admin/admin-system.vue | 1 + client/components/admin/admin-theme.vue | 1 + client/components/admin/admin-users.vue | 1 + client/components/admin/admin-utilities.vue | 1 + client/components/common/nav-header.vue | 2 +- .../renderer/html-blockquotes/definition.yml | 2 +- 22 files changed, 212 insertions(+), 62 deletions(-) create mode 100644 client/components/admin/admin-pages.vue diff --git a/client/components/admin.vue b/client/components/admin.vue index e143869f..c67955ea 100644 --- a/client/components/admin.vue +++ b/client/components/admin.vue @@ -14,6 +14,9 @@ v-list-tile(to='/locale') v-list-tile-avatar: v-icon language v-list-tile-title {{ $t('admin:locale.title') }} + v-list-tile(to='/pages') + v-list-tile-avatar: v-icon insert_drive_file + v-list-tile-title {{ $t('admin:pages.title') }} v-list-tile(to='/stats') v-list-tile-avatar: v-icon show_chart v-list-tile-title {{ $t('admin:stats.title') }} @@ -90,6 +93,7 @@ const router = new VueRouter({ { path: '/dashboard', component: () => import(/* webpackChunkName: "admin" */ './admin/admin-dashboard.vue') }, { path: '/general', component: () => import(/* webpackChunkName: "admin" */ './admin/admin-general.vue') }, { path: '/locale', component: () => import(/* webpackChunkName: "admin" */ './admin/admin-locale.vue') }, + { path: '/pages', component: () => import(/* webpackChunkName: "admin" */ './admin/admin-pages.vue') }, { path: '/stats', component: () => import(/* webpackChunkName: "admin" */ './admin/admin-stats.vue') }, { path: '/theme', component: () => import(/* webpackChunkName: "admin" */ './admin/admin-theme.vue') }, { path: '/groups', component: () => import(/* webpackChunkName: "admin" */ './admin/admin-groups.vue') }, @@ -154,4 +158,11 @@ export default { } } +.admin-header-icon { + position: absolute; + top: 1rem; + right: 1rem; + +} + diff --git a/client/components/admin/admin-api.vue b/client/components/admin/admin-api.vue index 7ce0d4ca..96f010c5 100644 --- a/client/components/admin/admin-api.vue +++ b/client/components/admin/admin-api.vue @@ -1,6 +1,7 @@