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.

87 lines
3.4 KiB

  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 {{ $t('admin:general.title') }}
  6. .subheading.grey--text {{ $t('admin:general.subtitle') }}
  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 {{ $t('admin:general.siteInfo') }}
  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.mt-3
  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-card-chin
  25. v-spacer
  26. v-btn(color='primary')
  27. v-icon(left) chevron_right
  28. span Save
  29. v-flex(lg6 xs12)
  30. v-card
  31. v-toolbar(color='primary', dark, dense, flat)
  32. v-toolbar-title
  33. .subheading {{ $t('admin:general.siteBranding') }}
  34. v-card-text
  35. v-layout.pa-3(row, align-center)
  36. v-avatar(size='120', color='grey lighten-3', :tile='useSquareLogo')
  37. .ml-4
  38. v-layout(row, align-center)
  39. v-btn(color='teal', depressed, dark)
  40. v-icon(left) cloud_upload
  41. span Upload Logo
  42. v-btn(color='teal', depressed, disabled)
  43. v-icon(left) clear
  44. span Clear
  45. .caption.grey--text An image of 120x120 pixels is recommended for best results.
  46. .caption.grey--text SVG, PNG or JPG files only.
  47. v-switch(
  48. v-model='useSquareLogo'
  49. label='Use Square Logo Frame'
  50. color='primary'
  51. persistent-hint
  52. hint='Check this option if a round logo frame doesn\'t work with your logo.'
  53. )
  54. v-divider.mt-3
  55. v-switch(
  56. v-model='displayMascot'
  57. label='Display Wiki.js Mascot'
  58. color='primary'
  59. persistent-hint
  60. hint='Uncheck this box if you don\'t want Henry, Wiki.js mascot, to be displayed on client-facing pages.'
  61. )
  62. v-card-chin
  63. v-spacer
  64. v-btn(color='primary')
  65. v-icon(left) chevron_right
  66. span Save
  67. </template>
  68. <script>
  69. export default {
  70. data() {
  71. return {
  72. siteTitle: 'Wiki.js',
  73. metaRobotsSelection: ['Index', 'Follow'],
  74. metaRobots: ['Index', 'Follow', 'No Index', 'No Follow'],
  75. useSquareLogo: false,
  76. displayMascot: true
  77. }
  78. }
  79. }
  80. </script>
  81. <style lang='scss'>
  82. </style>