2018-03-18 02:41:16 +00:00
|
|
|
<template lang='pug'>
|
2018-09-30 03:30:20 +00:00
|
|
|
v-container(fluid, grid-list-lg)
|
|
|
|
v-layout(row, wrap)
|
|
|
|
v-flex(xs12)
|
|
|
|
.admin-header
|
2018-12-15 22:15:13 +00:00
|
|
|
img(src='/svg/icon-web-design.svg', alt='Editor', style='width: 80px;')
|
2018-09-30 03:30:20 +00:00
|
|
|
.admin-header-title
|
|
|
|
.headline.primary--text Editor
|
|
|
|
.subheading.grey--text Configure the content editor
|
|
|
|
v-spacer
|
|
|
|
v-btn(outline, color='grey', @click='refresh', large)
|
|
|
|
v-icon refresh
|
|
|
|
v-btn(color='primary', @click='save', depressed, large)
|
|
|
|
v-icon(left) chevron_right
|
|
|
|
span Apply Configuration
|
2018-03-18 02:41:16 +00:00
|
|
|
|
2018-09-30 03:30:20 +00:00
|
|
|
v-card.mt-3
|
|
|
|
v-tabs(color='grey darken-2', fixed-tabs, slider-color='white', show-arrows, dark)
|
|
|
|
v-tab(key='settings'): v-icon settings
|
|
|
|
v-tab(key='code') Markdown
|
2018-03-18 02:41:16 +00:00
|
|
|
|
2018-09-30 03:30:20 +00:00
|
|
|
v-tab-item(key='settings', :transition='false', :reverse-transition='false')
|
|
|
|
v-card.pa-3(flat, tile)
|
|
|
|
.body-2.grey--text.text--darken-1 Select which editors to enable:
|
|
|
|
.caption.grey--text.pb-2 Some editors require additional configuration in their dedicated tab (when selected).
|
|
|
|
v-form
|
|
|
|
v-radio-group(v-model='selectedEditor')
|
|
|
|
v-radio(v-for='(editor, n) in editors', :key='n', :label='editor.text', :value='editor.value', color='primary')
|
|
|
|
v-tab-item(key='code', :transition='false', :reverse-transition='false')
|
2018-12-03 02:42:43 +00:00
|
|
|
v-card.wiki-form.pa-3(flat, tile)
|
2018-09-30 03:30:20 +00:00
|
|
|
v-form
|
|
|
|
v-subheader Editor Configuration
|
|
|
|
.body-1.ml-3 This editor has no configuration options you can modify.
|
2018-03-18 02:41:16 +00:00
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
export default {
|
|
|
|
data() {
|
|
|
|
return {
|
|
|
|
editors: [
|
|
|
|
{ text: 'Markdown (default)', value: 'code' }
|
|
|
|
],
|
|
|
|
selectedEditor: 'code'
|
|
|
|
}
|
2018-09-01 03:42:14 +00:00
|
|
|
},
|
|
|
|
methods: {
|
|
|
|
save() {},
|
|
|
|
refresh() {}
|
2018-03-18 02:41:16 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<style lang='scss'>
|
|
|
|
|
|
|
|
</style>
|