admin-general.vue 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. <template lang='pug'>
  2. v-container(fluid, fill-height, grid-list-lg)
  3. v-layout(row wrap)
  4. v-flex(xs12)
  5. .headline.primary--text General
  6. .subheading.grey--text Main settings of your wiki
  7. v-form.pt-3
  8. v-layout(row wrap)
  9. v-flex(lg6 xs12)
  10. v-form
  11. v-card
  12. v-toolbar(color='primary', dark, dense, flat)
  13. v-toolbar-title
  14. .subheading Site Info
  15. v-subheader General
  16. .px-3
  17. v-text-field(label='Site Title', required, :counter='50', v-model='siteTitle', prepend-icon='public')
  18. v-divider
  19. v-subheader SEO
  20. .px-3
  21. v-text-field(label='Site Description', :counter='255', prepend-icon='public')
  22. v-text-field(label='Site Keywords', :counter='255', prepend-icon='public')
  23. v-select(label='Meta Robots', chips, tags, :items='metaRobots', v-model='metaRobotsSelection', prepend-icon='public')
  24. v-divider
  25. .px-3.pb-3
  26. v-btn(color='primary') Save
  27. v-flex(lg6 xs12)
  28. v-card
  29. v-toolbar(color='primary', dark, dense, flat)
  30. v-toolbar-title
  31. .subheading Site Branding
  32. v-card-text ---
  33. </template>
  34. <script>
  35. export default {
  36. data() {
  37. return {
  38. siteTitle: 'Wiki.js',
  39. metaRobotsSelection: ['Index', 'Follow'],
  40. metaRobots: ['Index', 'Follow', 'No Index', 'No Follow']
  41. }
  42. }
  43. }
  44. </script>
  45. <style lang='scss'>
  46. </style>