diff --git a/client/app.js b/client/app.js index 47f3d072..6bb98be7 100644 --- a/client/app.js +++ b/client/app.js @@ -18,6 +18,7 @@ import Velocity from 'velocity-animate' import Hammer from 'hammerjs' import moment from 'moment' import VueMoment from 'vue-moment' +import VueTour from 'vue-tour' import store from './store' // ==================================== @@ -98,6 +99,7 @@ Vue.use(helpers) Vue.use(VeeValidate, { events: '' }) Vue.use(Vuetify) Vue.use(VueMoment, { moment }) +Vue.use(VueTour) Vue.prototype.Velocity = Velocity diff --git a/client/components/editor.vue b/client/components/editor.vue index 6baeed03..33dc2e1c 100644 --- a/client/components/editor.vue +++ b/client/components/editor.vue @@ -4,9 +4,12 @@ template(slot='actions') v-btn(outline, color='green', @click.native.stop='save') v-icon(color='green', left) check - span.white--text Save - v-btn(icon): v-icon(color='red') close - v-btn(icon, @click.native.stop='openModal(`properties`)'): v-icon(color='white') sort_by_alpha + span.white--text(v-if='mode === "create"') {{ $t('common:actions.create') }} + span.white--text(v-else) {{ $t('common:actions.save') }} + v-btn.is-icon(outline, color='red').mx-0: v-icon(color='red') close + v-btn(outline, color='blue', @click.native.stop='openModal(`properties`)', dark) + v-icon(left) sort_by_alpha + span.white--text {{ $t('editor:page') }} v-content editor-code component(:is='currentModal') @@ -24,6 +27,7 @@