2
0

admin-general.vue 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  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. import IconHomeAlert from 'mdi/home-alert'
  36. export default {
  37. components: {
  38. IconHomeAlert
  39. },
  40. data() {
  41. return {
  42. siteTitle: 'Wiki.js',
  43. metaRobotsSelection: ['Index', 'Follow'],
  44. metaRobots: ['Index', 'Follow', 'No Index', 'No Follow']
  45. }
  46. }
  47. }
  48. </script>
  49. <style lang='scss'>
  50. </style>