mirror of https://github.com/requarks/wiki
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.
62 lines
1.8 KiB
62 lines
1.8 KiB
7 years ago
|
<template lang='pug'>
|
||
|
v-card(flat)
|
||
|
v-card(color='grey lighten-5')
|
||
|
.pa-3.pt-4
|
||
|
.headline.primary--text Storage
|
||
|
.subheading.grey--text Set backup and sync targets for your content
|
||
7 years ago
|
v-tabs(color='grey lighten-4', fixed-tabs, slider-color='primary', show-arrows)
|
||
7 years ago
|
v-tab(key='settings'): v-icon settings
|
||
|
v-tab(key='local') Local FS
|
||
|
v-tab(key='git') Git
|
||
|
v-tab(key='s3') Amazon S3
|
||
|
v-tab(key='azure') Azure Blob Storage
|
||
|
v-tab(key='digitalocean') DigitalOcean Spaces
|
||
|
v-tab(key='dropbox') Dropbox
|
||
|
v-tab(key='gdrive') Google Drive
|
||
|
v-tab(key='onedrive') OneDrive
|
||
|
v-tab(key='scp') SCP (SSH)
|
||
|
|
||
|
v-tab-item(key='settings')
|
||
|
v-card.pa-3
|
||
|
v-form
|
||
7 years ago
|
v-checkbox(
|
||
|
v-for='(target, n) in targets',
|
||
|
v-model='auths',
|
||
|
:key='n',
|
||
|
:label='target.text',
|
||
|
:value='target.value',
|
||
|
color='primary',
|
||
|
hide-details
|
||
|
)
|
||
7 years ago
|
v-divider
|
||
|
v-btn(color='primary')
|
||
|
v-icon(left) chevron_right
|
||
|
| Set Backup Targets
|
||
|
|
||
|
</template>
|
||
|
|
||
|
<script>
|
||
|
export default {
|
||
|
data() {
|
||
|
return {
|
||
|
targets: [
|
||
7 years ago
|
{ text: 'Local Filesystem', value: 'local' },
|
||
7 years ago
|
{ text: 'Git', value: 'auth0' },
|
||
|
{ text: 'Amazon S3', value: 'algolia' },
|
||
|
{ text: 'Azure Blob Storage', value: 'elasticsearch' },
|
||
|
{ text: 'DigitalOcean Spaces', value: 'solr' },
|
||
|
{ text: 'Dropbox', value: 'solr' },
|
||
|
{ text: 'Google Drive', value: 'solr' },
|
||
|
{ text: 'OneDrive', value: 'solr' },
|
||
|
{ text: 'SCP (SSH)', value: 'solr' }
|
||
|
],
|
||
|
auths: ['local']
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
</script>
|
||
|
|
||
|
<style lang='scss'>
|
||
|
|
||
|
</style>
|