You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

55 lines
1.8 KiB

  1. <template lang='pug'>
  2. v-container(fluid, grid-list-lg)
  3. v-layout(row, wrap)
  4. v-flex(xs12)
  5. .admin-header
  6. v-icon(size='80', color='grey lighten-2') transform
  7. .admin-header-title
  8. .headline.primary--text Editor
  9. .subheading.grey--text Configure the content editor
  10. v-spacer
  11. v-btn(outline, color='grey', @click='refresh', large)
  12. v-icon refresh
  13. v-btn(color='primary', @click='save', depressed, large)
  14. v-icon(left) chevron_right
  15. span Apply Configuration
  16. v-card.mt-3
  17. v-tabs(color='grey darken-2', fixed-tabs, slider-color='white', show-arrows, dark)
  18. v-tab(key='settings'): v-icon settings
  19. v-tab(key='code') Markdown
  20. v-tab-item(key='settings', :transition='false', :reverse-transition='false')
  21. v-card.pa-3(flat, tile)
  22. .body-2.grey--text.text--darken-1 Select which editors to enable:
  23. .caption.grey--text.pb-2 Some editors require additional configuration in their dedicated tab (when selected).
  24. v-form
  25. v-radio-group(v-model='selectedEditor')
  26. v-radio(v-for='(editor, n) in editors', :key='n', :label='editor.text', :value='editor.value', color='primary')
  27. v-tab-item(key='code', :transition='false', :reverse-transition='false')
  28. v-card.pa-3(flat, tile)
  29. v-form
  30. v-subheader Editor Configuration
  31. .body-1.ml-3 This editor has no configuration options you can modify.
  32. </template>
  33. <script>
  34. export default {
  35. data() {
  36. return {
  37. editors: [
  38. { text: 'Markdown (default)', value: 'code' }
  39. ],
  40. selectedEditor: 'code'
  41. }
  42. },
  43. methods: {
  44. save() {},
  45. refresh() {}
  46. }
  47. }
  48. </script>
  49. <style lang='scss'>
  50. </style>