mirror of
https://github.com/Sebclem/hassio-nextcloud-backup.git
synced 2024-11-22 09:12:58 +01:00
Add custom chunk url to front
This commit is contained in:
parent
39e2478a03
commit
13883ab883
@ -32,9 +32,12 @@
|
|||||||
</v-select>
|
</v-select>
|
||||||
</v-col>
|
</v-col>
|
||||||
</v-row>
|
</v-row>
|
||||||
<v-row v-if="data.webdavEndpoint.type == WebdavEndpointType.CUSTOM">
|
<div v-if="data.webdavEndpoint.type == WebdavEndpointType.CUSTOM">
|
||||||
|
<v-row>
|
||||||
<v-col>
|
<v-col>
|
||||||
<div class="text-subtitle-1 text-medium-emphasis">Custom Endpoint</div>
|
<div class="text-subtitle-1 text-medium-emphasis">
|
||||||
|
Custom endpoint
|
||||||
|
</div>
|
||||||
<v-text-field
|
<v-text-field
|
||||||
placeholder="/remote.php/dav/files/$username"
|
placeholder="/remote.php/dav/files/$username"
|
||||||
hint="You can use the $username variable"
|
hint="You can use the $username variable"
|
||||||
@ -48,10 +51,30 @@
|
|||||||
></v-text-field>
|
></v-text-field>
|
||||||
</v-col>
|
</v-col>
|
||||||
</v-row>
|
</v-row>
|
||||||
|
<v-row>
|
||||||
|
<v-col>
|
||||||
|
<div class="text-subtitle-1 text-medium-emphasis">
|
||||||
|
Custom chunk endpoint
|
||||||
|
</div>
|
||||||
|
<v-text-field
|
||||||
|
placeholder="/remote.php/dav/uploads/$username"
|
||||||
|
hint="You can use the $username variable"
|
||||||
|
variant="outlined"
|
||||||
|
density="compact"
|
||||||
|
hide-details="auto"
|
||||||
|
v-model="data.webdavEndpoint.customChunkEndpoint"
|
||||||
|
:error-messages="errors.customChunkEndpoint"
|
||||||
|
:loading="loading"
|
||||||
|
color="orange"
|
||||||
|
></v-text-field>
|
||||||
|
</v-col>
|
||||||
|
</v-row>
|
||||||
|
</div>
|
||||||
|
|
||||||
<v-row class="mt-0">
|
<v-row class="mt-0">
|
||||||
<v-col class="d-flex align-content-end">
|
<v-col class="d-flex align-content-end">
|
||||||
<v-switch
|
<v-switch
|
||||||
label="Allow Self Signed Certificate"
|
label="Allow self signed certificate"
|
||||||
v-model="data.allowSelfSignedCerts"
|
v-model="data.allowSelfSignedCerts"
|
||||||
hide-details="auto"
|
hide-details="auto"
|
||||||
density="compact"
|
density="compact"
|
||||||
@ -65,7 +88,7 @@
|
|||||||
<v-row class="mt-0">
|
<v-row class="mt-0">
|
||||||
<v-col class="d-flex align-content-end">
|
<v-col class="d-flex align-content-end">
|
||||||
<v-switch
|
<v-switch
|
||||||
label="Chunked Upload (Beta)"
|
label="Chunked upload (Beta)"
|
||||||
v-model="data.chunckedUpload"
|
v-model="data.chunckedUpload"
|
||||||
hide-details="auto"
|
hide-details="auto"
|
||||||
density="compact"
|
density="compact"
|
||||||
@ -171,6 +194,7 @@ const errors = ref({
|
|||||||
allowSelfSignedCerts: [],
|
allowSelfSignedCerts: [],
|
||||||
type: [],
|
type: [],
|
||||||
customEndpoint: [],
|
customEndpoint: [],
|
||||||
|
customChunkEndpoint: [],
|
||||||
chunckedUpload: [],
|
chunckedUpload: [],
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -13,5 +13,6 @@ export interface WebdavConfig {
|
|||||||
webdavEndpoint: {
|
webdavEndpoint: {
|
||||||
type: WebdavEndpointType;
|
type: WebdavEndpointType;
|
||||||
customEndpoint?: string;
|
customEndpoint?: string;
|
||||||
|
customChunkEndpoint?: string;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user