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.

64 lines
2.2 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 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. v-card.mt-3
  34. v-toolbar(color='primary', dark, dense, flat)
  35. v-toolbar-title
  36. .subheading Maintenance Mode
  37. v-card-text
  38. .body-1 Maintenance mode restrict access to the site to administrators only, regarless of current permissions.
  39. v-btn.mt-3(color='orange darken-2', dark)
  40. icon-home-alert.mr-2(fillColor='#FFFFFF')
  41. | Turn On Maintenance Mode
  42. </template>
  43. <script>
  44. import IconHomeAlert from 'mdi/home-alert'
  45. export default {
  46. components: {
  47. IconHomeAlert
  48. },
  49. data() {
  50. return {
  51. siteTitle: 'Wiki.js',
  52. metaRobotsSelection: ['Index', 'Follow'],
  53. metaRobots: ['Index', 'Follow', 'No Index', 'No Follow']
  54. }
  55. }
  56. }
  57. </script>
  58. <style lang='scss'>
  59. </style>