admin-storage.vue 1.8 KB

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