diff --git a/client/app.js b/client/app.js index 6bb98be7..e2984492 100644 --- a/client/app.js +++ b/client/app.js @@ -110,7 +110,7 @@ Vue.prototype.Velocity = Velocity Vue.component('admin', () => import(/* webpackChunkName: "admin" */ './components/admin.vue')) Vue.component('editor', () => import(/* webpackChunkName: "editor" */ './components/editor.vue')) Vue.component('login', () => import(/* webpackMode: "eager" */ './components/login.vue')) -Vue.component('nav-header', () => import(/* webpackMode: "eager" */ './components/nav-header.vue')) +Vue.component('nav-header', () => import(/* webpackMode: "eager" */ './components/common/nav-header.vue')) Vue.component('profile', () => import(/* webpackChunkName: "profile" */ './components/profile.vue')) Vue.component('setup', () => import(/* webpackChunkName: "setup" */ './components/setup.vue')) Vue.component('v-card-chin', () => import(/* webpackMode: "eager" */ './components/common/v-card-chin.vue')) diff --git a/client/components/admin/admin-general.vue b/client/components/admin/admin-general.vue index d07dfac0..f6392c26 100644 --- a/client/components/admin/admin-general.vue +++ b/client/components/admin/admin-general.vue @@ -13,14 +13,34 @@ v-toolbar-title .subheading {{ $t('admin:general.siteInfo') }} v-subheader General - .px-3 + .px-3.pb-3 v-text-field(label='Site Title', required, :counter='50', v-model='siteTitle', prepend-icon='public') - v-divider.mt-3 + v-divider v-subheader SEO - .px-3 + .px-3.pb-3 v-text-field(label='Site Description', :counter='255', prepend-icon='public') v-text-field(label='Site Keywords', :counter='255', prepend-icon='public') v-select(label='Meta Robots', chips, tags, :items='metaRobots', v-model='metaRobotsSelection', prepend-icon='public') + v-divider + v-subheader Analytics + .px-3.pb-3 + v-text-field( + label='Google Analytics ID' + :counter='255' + prepend-icon='public' + persistent-hint + hint='Property tracking ID for Google Analytics.' + ) + v-divider + v-subheader Footer Copyright + .px-3.pb-3 + v-text-field( + label='Company / Organization Name' + :counter='255' + prepend-icon='public' + persistent-hint + hint='Name to use when displaying copyright notice in the footer. Leave empty to hide.' + ) v-card-chin v-spacer v-btn(color='primary') diff --git a/client/components/admin/admin-stats.vue b/client/components/admin/admin-stats.vue index ea40e640..c6226c06 100644 --- a/client/components/admin/admin-stats.vue +++ b/client/components/admin/admin-stats.vue @@ -4,10 +4,22 @@ v-flex(xs12) .headline.primary--text Statistics .subheading.grey--text Useful information about your wiki + .pa-3 + fingerprint-spinner( + :animation-duration='1500' + :size='128' + color='#e91e63' + ) + .caption.pink--text.mt-3 Compiling latest data...