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.

61 lines
1.8 KiB

  1. <template lang='pug'>
  2. v-card(flat)
  3. v-card(color='grey lighten-5')
  4. .pa-3.pt-4
  5. .headline.primary--text Storage
  6. .subheading.grey--text Set backup and sync targets for your content
  7. v-tabs(color='grey lighten-4', fixed-tabs, slider-color='primary', show-arrows)
  8. v-tab(key='settings'): v-icon settings
  9. v-tab(key='local') Local FS
  10. v-tab(key='git') Git
  11. v-tab(key='s3') Amazon S3
  12. v-tab(key='azure') Azure Blob Storage
  13. v-tab(key='digitalocean') DigitalOcean Spaces
  14. v-tab(key='dropbox') Dropbox
  15. v-tab(key='gdrive') Google Drive
  16. v-tab(key='onedrive') OneDrive
  17. v-tab(key='scp') SCP (SSH)
  18. v-tab-item(key='settings')
  19. v-card.pa-3
  20. v-form
  21. v-checkbox(
  22. v-for='(target, n) in targets',
  23. v-model='auths',
  24. :key='n',
  25. :label='target.text',
  26. :value='target.value',
  27. color='primary',
  28. hide-details
  29. )
  30. v-divider
  31. v-btn(color='primary')
  32. v-icon(left) chevron_right
  33. | Set Backup Targets
  34. </template>
  35. <script>
  36. export default {
  37. data() {
  38. return {
  39. targets: [
  40. { text: 'Local Filesystem', value: 'local' },
  41. { text: 'Git', value: 'auth0' },
  42. { text: 'Amazon S3', value: 'algolia' },
  43. { text: 'Azure Blob Storage', value: 'elasticsearch' },
  44. { text: 'DigitalOcean Spaces', value: 'solr' },
  45. { text: 'Dropbox', value: 'solr' },
  46. { text: 'Google Drive', value: 'solr' },
  47. { text: 'OneDrive', value: 'solr' },
  48. { text: 'SCP (SSH)', value: 'solr' }
  49. ],
  50. auths: ['local']
  51. }
  52. }
  53. }
  54. </script>
  55. <style lang='scss'>
  56. </style>