admin-storage.vue 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  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', grow, 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(v-for='(target, n) in targets', v-model='auths', :key='n', :label='target.text', :value='target.value', color='primary')
  22. v-divider
  23. v-btn(color='primary')
  24. v-icon(left) chevron_right
  25. | Set Backup Targets
  26. </template>
  27. <script>
  28. export default {
  29. data() {
  30. return {
  31. targets: [
  32. { text: 'Local FS', value: 'local' },
  33. { text: 'Git', value: 'auth0' },
  34. { text: 'Amazon S3', value: 'algolia' },
  35. { text: 'Azure Blob Storage', value: 'elasticsearch' },
  36. { text: 'DigitalOcean Spaces', value: 'solr' },
  37. { text: 'Dropbox', value: 'solr' },
  38. { text: 'Google Drive', value: 'solr' },
  39. { text: 'OneDrive', value: 'solr' },
  40. { text: 'SCP (SSH)', value: 'solr' }
  41. ],
  42. auths: ['local']
  43. }
  44. }
  45. }
  46. </script>
  47. <style lang='scss'>
  48. </style>