This commit is contained in:
@@ -1,5 +1,18 @@
|
||||
<template>
|
||||
<v-layout row v-if="this.formState.ready">
|
||||
<v-flex xs12 mt-1 mb-2>
|
||||
<v-alert
|
||||
ref="errorbox"
|
||||
v-show="formState.errorBoxMessage"
|
||||
color="error"
|
||||
icon="fa-exclamation-circle "
|
||||
value="true"
|
||||
transition="scale-transition"
|
||||
class="multi-line"
|
||||
outline
|
||||
>{{ formState.errorBoxMessage }}</v-alert
|
||||
>
|
||||
</v-flex>
|
||||
<v-flex>
|
||||
<v-card>
|
||||
<!-- <v-toolbar>
|
||||
@@ -17,14 +30,10 @@
|
||||
<v-list-tile avatar>
|
||||
<v-list-tile-content>
|
||||
<v-list-tile-title>
|
||||
{{
|
||||
this.$gzlocale.get("Version")
|
||||
}}
|
||||
{{ this.$gzlocale.get("Version") }}
|
||||
</v-list-tile-title>
|
||||
<v-list-tile-sub-title>
|
||||
{{
|
||||
clientInfo.version
|
||||
}}
|
||||
{{ clientInfo.version }}
|
||||
</v-list-tile-sub-title>
|
||||
</v-list-tile-content>
|
||||
</v-list-tile>
|
||||
@@ -35,70 +44,50 @@
|
||||
<v-list-tile avatar>
|
||||
<v-list-tile-content>
|
||||
<v-list-tile-title>
|
||||
{{
|
||||
this.$gzlocale.get("ServerAddress")
|
||||
}}
|
||||
{{ this.$gzlocale.get("ServerAddress") }}
|
||||
</v-list-tile-title>
|
||||
<v-list-tile-sub-title>
|
||||
{{
|
||||
this.$store.state.apiUrl
|
||||
}}
|
||||
{{ this.$store.state.apiUrl }}
|
||||
</v-list-tile-sub-title>
|
||||
</v-list-tile-content>
|
||||
</v-list-tile>
|
||||
<v-list-tile avatar>
|
||||
<v-list-tile-content>
|
||||
<v-list-tile-title>
|
||||
{{
|
||||
this.$gzlocale.get("Version")
|
||||
}}
|
||||
{{ this.$gzlocale.get("Version") }}
|
||||
</v-list-tile-title>
|
||||
<v-list-tile-sub-title>
|
||||
{{
|
||||
serverInfo.serverVersion
|
||||
}}
|
||||
{{ serverInfo.serverVersion }}
|
||||
</v-list-tile-sub-title>
|
||||
</v-list-tile-content>
|
||||
</v-list-tile>
|
||||
<v-list-tile avatar>
|
||||
<v-list-tile-content>
|
||||
<v-list-tile-title>
|
||||
{{
|
||||
this.$gzlocale.get("SchemaVersion")
|
||||
}}
|
||||
{{ this.$gzlocale.get("SchemaVersion") }}
|
||||
</v-list-tile-title>
|
||||
<v-list-tile-sub-title>
|
||||
{{
|
||||
serverInfo.dbSchemaVersion
|
||||
}}
|
||||
{{ serverInfo.dbSchemaVersion }}
|
||||
</v-list-tile-sub-title>
|
||||
</v-list-tile-content>
|
||||
</v-list-tile>
|
||||
<v-list-tile avatar>
|
||||
<v-list-tile-content>
|
||||
<v-list-tile-title>
|
||||
{{
|
||||
this.$gzlocale.get("ServerTime")
|
||||
}}
|
||||
{{ this.$gzlocale.get("ServerTime") }}
|
||||
</v-list-tile-title>
|
||||
<v-list-tile-sub-title>
|
||||
{{
|
||||
serverInfo.serverLocalTime
|
||||
}}
|
||||
{{ serverInfo.serverLocalTime }}
|
||||
</v-list-tile-sub-title>
|
||||
</v-list-tile-content>
|
||||
</v-list-tile>
|
||||
<v-list-tile avatar>
|
||||
<v-list-tile-content>
|
||||
<v-list-tile-title>
|
||||
{{
|
||||
this.$gzlocale.get("TimeZone")
|
||||
}}
|
||||
{{ this.$gzlocale.get("TimeZone") }}
|
||||
</v-list-tile-title>
|
||||
<v-list-tile-sub-title>
|
||||
{{
|
||||
serverInfo.serverTimeZone
|
||||
}}
|
||||
{{ serverInfo.serverTimeZone }}
|
||||
</v-list-tile-sub-title>
|
||||
</v-list-tile-content>
|
||||
</v-list-tile>
|
||||
@@ -109,79 +98,57 @@
|
||||
<v-list-tile avatar>
|
||||
<v-list-tile-content>
|
||||
<v-list-tile-title>
|
||||
{{
|
||||
this.$gzlocale.get("RegisteredUser")
|
||||
}}
|
||||
{{ this.$gzlocale.get("RegisteredUser") }}
|
||||
</v-list-tile-title>
|
||||
<v-list-tile-sub-title>
|
||||
{{
|
||||
serverInfo.license.license.licensedTo
|
||||
}}
|
||||
{{ serverInfo.license.license.licensedTo }}
|
||||
</v-list-tile-sub-title>
|
||||
</v-list-tile-content>
|
||||
</v-list-tile>
|
||||
<v-list-tile avatar>
|
||||
<v-list-tile-content>
|
||||
<v-list-tile-title>
|
||||
{{
|
||||
this.$gzlocale.get("DatabaseID")
|
||||
}}
|
||||
{{ this.$gzlocale.get("DatabaseID") }}
|
||||
</v-list-tile-title>
|
||||
<v-list-tile-sub-title>
|
||||
{{
|
||||
serverInfo.license.license.dbId
|
||||
}}
|
||||
{{ serverInfo.license.license.dbId }}
|
||||
</v-list-tile-sub-title>
|
||||
</v-list-tile-content>
|
||||
</v-list-tile>
|
||||
<v-list-tile avatar>
|
||||
<v-list-tile-content>
|
||||
<v-list-tile-title>
|
||||
{{
|
||||
this.$gzlocale.get("LicenseSerial")
|
||||
}}
|
||||
{{ this.$gzlocale.get("LicenseSerial") }}
|
||||
</v-list-tile-title>
|
||||
<v-list-tile-sub-title>
|
||||
{{
|
||||
serverInfo.license.license.keySerial
|
||||
}}
|
||||
{{ serverInfo.license.license.keySerial }}
|
||||
</v-list-tile-sub-title>
|
||||
</v-list-tile-content>
|
||||
</v-list-tile>
|
||||
<v-list-tile avatar>
|
||||
<v-list-tile-content>
|
||||
<v-list-tile-title>
|
||||
{{
|
||||
this.$gzlocale.get("LicenseExpiration")
|
||||
}}
|
||||
{{ this.$gzlocale.get("LicenseExpiration") }}
|
||||
</v-list-tile-title>
|
||||
<v-list-tile-sub-title>
|
||||
{{
|
||||
serverInfo.license.license.licenseExpiration
|
||||
}}
|
||||
{{ serverInfo.license.license.licenseExpiration }}
|
||||
</v-list-tile-sub-title>
|
||||
</v-list-tile-content>
|
||||
</v-list-tile>
|
||||
<v-list-tile avatar>
|
||||
<v-list-tile-content>
|
||||
<v-list-tile-title>
|
||||
{{
|
||||
this.$gzlocale.get("SupportedUntil")
|
||||
}}
|
||||
{{ this.$gzlocale.get("SupportedUntil") }}
|
||||
</v-list-tile-title>
|
||||
<v-list-tile-sub-title>
|
||||
{{
|
||||
serverInfo.license.license.maintenanceExpiration
|
||||
}}
|
||||
{{ serverInfo.license.license.maintenanceExpiration }}
|
||||
</v-list-tile-sub-title>
|
||||
</v-list-tile-content>
|
||||
</v-list-tile>
|
||||
<v-list-tile avatar>
|
||||
<v-list-tile-content>
|
||||
<v-list-tile-title>
|
||||
{{
|
||||
this.$gzlocale.get("LicensedOptions")
|
||||
}}
|
||||
{{ this.$gzlocale.get("LicensedOptions") }}
|
||||
</v-list-tile-title>
|
||||
<v-list-tile-sub-title
|
||||
v-for="item in serverInfo.license.license.features"
|
||||
@@ -205,24 +172,26 @@ import aboutInfo from "../api/aboutinfo";
|
||||
export default {
|
||||
beforeCreate() {
|
||||
var vm = this;
|
||||
this.$gzlocale.fetch([
|
||||
"HelpAboutAyaNova",
|
||||
"ClientApp",
|
||||
"Server",
|
||||
"Version",
|
||||
"SchemaVersion",
|
||||
"ServerTime",
|
||||
"ServerAddress",
|
||||
"TimeZone",
|
||||
"HelpLicense",
|
||||
"RegisteredUser",
|
||||
"DatabaseID",
|
||||
"LicenseSerial",
|
||||
"LicenseExpiration",
|
||||
"SupportedUntil",
|
||||
"LicensedOptions",
|
||||
"Log"
|
||||
]).then(() => (vm.formState.ready = true))
|
||||
this.$gzlocale
|
||||
.fetch([
|
||||
"HelpAboutAyaNova",
|
||||
"ClientApp",
|
||||
"Server",
|
||||
"Version",
|
||||
"SchemaVersion",
|
||||
"ServerTime",
|
||||
"ServerAddress",
|
||||
"TimeZone",
|
||||
"HelpLicense",
|
||||
"RegisteredUser",
|
||||
"DatabaseID",
|
||||
"LicenseSerial",
|
||||
"LicenseExpiration",
|
||||
"SupportedUntil",
|
||||
"LicensedOptions",
|
||||
"Log"
|
||||
])
|
||||
.then(() => (vm.formState.ready = true))
|
||||
.catch(err => {
|
||||
vm.formState.ready = true;
|
||||
vm.$gzHandleFormError(err);
|
||||
|
||||
Reference in New Issue
Block a user