This commit is contained in:
@@ -6,14 +6,14 @@
|
|||||||
<gz-error :errorBoxMessage="formState.errorBoxMessage"></gz-error>
|
<gz-error :errorBoxMessage="formState.errorBoxMessage"></gz-error>
|
||||||
<v-col cols="12">
|
<v-col cols="12">
|
||||||
<v-col cols="12" lg="4">
|
<v-col cols="12" lg="4">
|
||||||
backup files
|
<span class="title"> {{ $ay.t("BackupFiles") }} </span>
|
||||||
<v-simple-table dense>
|
<v-simple-table>
|
||||||
<template v-slot:default>
|
<template v-slot:default>
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th class="text-left">name</th>
|
<th class="text-left">{{ $ay.t("FileName") }}</th>
|
||||||
<th class="text-left">date</th>
|
<th class="text-left">{{ $ay.t("FileDate") }}</th>
|
||||||
<th class="text-left">size</th>
|
<th class="text-left">{{ $ay.t("FileSize") }}</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
@@ -27,7 +27,17 @@
|
|||||||
</tbody>
|
</tbody>
|
||||||
</template>
|
</template>
|
||||||
</v-simple-table>
|
</v-simple-table>
|
||||||
|
<div class="mt-6">
|
||||||
|
({{ $ay.t("AvailableSpace") }} {{ backupAvailableSpace }})
|
||||||
|
</div>
|
||||||
|
<v-btn @click="getBackupStatus" class="mt-6">
|
||||||
|
<v-icon>fa-sync</v-icon>
|
||||||
|
</v-btn>
|
||||||
</v-col>
|
</v-col>
|
||||||
|
<v-divider></v-divider>
|
||||||
|
</v-col>
|
||||||
|
<v-col cols="12">
|
||||||
|
<span class="title"> {{ $ay.t("BackupSettings") }}</span>
|
||||||
</v-col>
|
</v-col>
|
||||||
|
|
||||||
<v-col cols="12" sm="6" lg="4" xl="3">
|
<v-col cols="12" sm="6" lg="4" xl="3">
|
||||||
@@ -187,7 +197,7 @@ export default {
|
|||||||
},
|
},
|
||||||
getBackupStatus() {
|
getBackupStatus() {
|
||||||
let vm = this;
|
let vm = this;
|
||||||
vm.formState.loading = true;
|
// vm.formState.loading = true;
|
||||||
let url = "backup/status";
|
let url = "backup/status";
|
||||||
window.$gz.api
|
window.$gz.api
|
||||||
.get(url)
|
.get(url)
|
||||||
@@ -412,6 +422,7 @@ function initForm(vm) {
|
|||||||
//
|
//
|
||||||
function fetchTranslatedText(vm) {
|
function fetchTranslatedText(vm) {
|
||||||
return window.$gz.translation.fetch([
|
return window.$gz.translation.fetch([
|
||||||
|
"BackupSettings",
|
||||||
"BackupTime",
|
"BackupTime",
|
||||||
"BackupLast",
|
"BackupLast",
|
||||||
"BackupSetsToKeep",
|
"BackupSetsToKeep",
|
||||||
|
|||||||
Reference in New Issue
Block a user