mirror of
https://github.com/Sebclem/hassio-nextcloud-backup.git
synced 2024-11-30 04:44:54 +01:00
Add custom chunk url to front
This commit is contained in:
parent
f6db3499a4
commit
2b639a0df5
@ -32,26 +32,49 @@
|
|||||||
</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-col>
|
<v-row>
|
||||||
<div class="text-subtitle-1 text-medium-emphasis">Custom Endpoint</div>
|
<v-col>
|
||||||
<v-text-field
|
<div class="text-subtitle-1 text-medium-emphasis">
|
||||||
placeholder="/remote.php/dav/files/$username"
|
Custom endpoint
|
||||||
hint="You can use the $username variable"
|
</div>
|
||||||
variant="outlined"
|
<v-text-field
|
||||||
density="compact"
|
placeholder="/remote.php/dav/files/$username"
|
||||||
hide-details="auto"
|
hint="You can use the $username variable"
|
||||||
v-model="data.webdavEndpoint.customEndpoint"
|
variant="outlined"
|
||||||
:error-messages="errors.customEndpoint"
|
density="compact"
|
||||||
:loading="loading"
|
hide-details="auto"
|
||||||
color="orange"
|
v-model="data.webdavEndpoint.customEndpoint"
|
||||||
></v-text-field>
|
:error-messages="errors.customEndpoint"
|
||||||
</v-col>
|
:loading="loading"
|
||||||
</v-row>
|
color="orange"
|
||||||
|
></v-text-field>
|
||||||
|
</v-col>
|
||||||
|
</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