This commit is contained in:
@@ -28,32 +28,6 @@
|
|||||||
</template>
|
</template>
|
||||||
</v-simple-table>
|
</v-simple-table>
|
||||||
</v-col>
|
</v-col>
|
||||||
|
|
||||||
<!-- <div>
|
|
||||||
<ul>
|
|
||||||
<li v-for="item in backupFileList" :key="item.id">
|
|
||||||
<a :href="item.url">{{ item }}</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</div> -->
|
|
||||||
<!-- <div>
|
|
||||||
<v-list color="grey lighten-5" three-line>
|
|
||||||
<v-list-item
|
|
||||||
v-for="item in backupFileList"
|
|
||||||
:key="item.id"
|
|
||||||
:href="item.url"
|
|
||||||
target="_blank"
|
|
||||||
>
|
|
||||||
<v-list-item-avatar>
|
|
||||||
<v-icon v-text="item.icon"></v-icon>
|
|
||||||
</v-list-item-avatar>
|
|
||||||
|
|
||||||
<v-list-item-content>
|
|
||||||
<v-list-item-title v-text="item.name"></v-list-item-title>
|
|
||||||
</v-list-item-content>
|
|
||||||
</v-list-item>
|
|
||||||
</v-list>
|
|
||||||
</div> -->
|
|
||||||
</v-col>
|
</v-col>
|
||||||
|
|
||||||
<v-col cols="12" sm="6" lg="4" xl="3">
|
<v-col cols="12" sm="6" lg="4" xl="3">
|
||||||
@@ -168,7 +142,11 @@ export default {
|
|||||||
appError: null,
|
appError: null,
|
||||||
serverError: {}
|
serverError: {}
|
||||||
},
|
},
|
||||||
rights: window.$gz.role.fullRightsObject()
|
rights: window.$gz.role.fullRightsObject(),
|
||||||
|
//cache display format stuff
|
||||||
|
timeZoneName: window.$gz.locale.getBrowserTimeZoneName(),
|
||||||
|
languageName: window.$gz.locale.getBrowserLanguages(),
|
||||||
|
hour12: window.$gz.locale.getHour12()
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
@@ -235,7 +213,12 @@ export default {
|
|||||||
let o = res.data.backupFiles[i];
|
let o = res.data.backupFiles[i];
|
||||||
ret.push({
|
ret.push({
|
||||||
id: i,
|
id: i,
|
||||||
created: o.created,
|
created: window.$gz.locale.utcDateToShortDateAndTimeLocalized(
|
||||||
|
o.created,
|
||||||
|
this.timeZoneName,
|
||||||
|
this.languageName,
|
||||||
|
this.hour12
|
||||||
|
),
|
||||||
url: window.$gz.api.backupDownloadUrl(o.name),
|
url: window.$gz.api.backupDownloadUrl(o.name),
|
||||||
name: o.name,
|
name: o.name,
|
||||||
length: o.length
|
length: o.length
|
||||||
|
|||||||
Reference in New Issue
Block a user