This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<v-col cols="12" mt-1 mb-2>
|
<v-col v-if="errorBoxMessage" cols="12" mt-1 mb-2>
|
||||||
<v-alert
|
<v-alert
|
||||||
ref="errorbox"
|
ref="errorbox"
|
||||||
:data-cy="!!$ay.dev ? 'errorbox' : false"
|
:data-cy="!!$ay.dev ? 'errorbox' : false"
|
||||||
|
|||||||
@@ -1,165 +1,103 @@
|
|||||||
<template>
|
<template>
|
||||||
<v-row v-if="formState.ready">
|
<v-row v-if="formState.ready">
|
||||||
|
<gz-error :errorBoxMessage="formState.errorBoxMessage"></gz-error>
|
||||||
<v-col>
|
<v-col>
|
||||||
<v-form ref="form">
|
<v-form ref="form">
|
||||||
<v-row>
|
<v-row align="start" justify="center">
|
||||||
<gz-error :errorBoxMessage="formState.errorBoxMessage"></gz-error>
|
|
||||||
<template v-if="showLicenseUi() == 'ok'">
|
<template v-if="showLicenseUi() == 'ok'">
|
||||||
<!-- Normal active license UI -->
|
<!-- Normal active license UI -->
|
||||||
|
<v-col cols="12" md="7">
|
||||||
|
<v-card>
|
||||||
|
<v-list two-line subheader>
|
||||||
|
<v-subheader>{{ $ay.t("HelpLicense") }}</v-subheader>
|
||||||
|
|
||||||
<v-list two-line subheader>
|
<v-list-item>
|
||||||
<v-subheader>{{ $ay.t("HelpLicense") }}</v-subheader>
|
<v-list-item-content>
|
||||||
|
<v-list-item-title>{{
|
||||||
|
$ay.t("RegisteredUser")
|
||||||
|
}}</v-list-item-title>
|
||||||
|
<v-list-item-subtitle class="text-wrap">{{
|
||||||
|
currentLicenseInfo.licensedTo
|
||||||
|
}}</v-list-item-subtitle>
|
||||||
|
</v-list-item-content>
|
||||||
|
</v-list-item>
|
||||||
|
|
||||||
<v-list-item>
|
<v-list-item>
|
||||||
<v-list-item-content>
|
<v-list-item-content>
|
||||||
<v-list-item-title>{{
|
<v-list-item-title>{{
|
||||||
$ay.t("RegisteredUser")
|
$ay.t("DatabaseID")
|
||||||
}}</v-list-item-title>
|
}}</v-list-item-title>
|
||||||
<v-list-item-subtitle>{{
|
<v-list-item-subtitle class="text-wrap">{{
|
||||||
currentLicenseInfo.licensedTo
|
currentLicenseInfo.serverDbId
|
||||||
}}</v-list-item-subtitle>
|
}}</v-list-item-subtitle>
|
||||||
</v-list-item-content>
|
</v-list-item-content>
|
||||||
</v-list-item>
|
</v-list-item>
|
||||||
|
|
||||||
<v-list-item>
|
<v-list-item>
|
||||||
<v-list-item-content>
|
<v-list-item-content>
|
||||||
<v-list-item-title>{{
|
<v-list-item-title>
|
||||||
$ay.t("DatabaseID")
|
{{ $ay.t("LicenseSerial") }}</v-list-item-title
|
||||||
}}</v-list-item-title>
|
>
|
||||||
<v-list-item-subtitle>{{
|
<v-list-item-subtitle class="text-wrap">{{
|
||||||
currentLicenseInfo.serverDbId
|
currentLicenseInfo.keySerial
|
||||||
}}</v-list-item-subtitle>
|
}}</v-list-item-subtitle>
|
||||||
</v-list-item-content>
|
</v-list-item-content>
|
||||||
</v-list-item>
|
</v-list-item>
|
||||||
|
|
||||||
<v-list-item>
|
<v-list-item v-if="currentLicenseInfo.licenseWillExpire">
|
||||||
<v-list-item-content>
|
<v-list-item-content>
|
||||||
<v-list-item-title>
|
<v-list-item-title>
|
||||||
{{ $ay.t("LicenseSerial") }}</v-list-item-title
|
{{ $ay.t("LicenseExpiration") }}</v-list-item-title
|
||||||
|
>
|
||||||
|
<v-list-item-subtitle class="text-wrap">{{
|
||||||
|
$ay.sd(currentLicenseInfo.licenseExpiration)
|
||||||
|
}}</v-list-item-subtitle>
|
||||||
|
</v-list-item-content>
|
||||||
|
</v-list-item>
|
||||||
|
|
||||||
|
<v-list-item>
|
||||||
|
<v-list-item-content
|
||||||
|
v-bind:class="{
|
||||||
|
'red--text text-h6':
|
||||||
|
currentLicenseInfo.maintenanceExpired
|
||||||
|
}"
|
||||||
|
>
|
||||||
|
<v-list-item-title>
|
||||||
|
{{ $ay.t("SupportedUntil") }}</v-list-item-title
|
||||||
|
>
|
||||||
|
<v-list-item-subtitle class="text-wrap">{{
|
||||||
|
$ay.sd(currentLicenseInfo.maintenanceExpiration)
|
||||||
|
}}</v-list-item-subtitle>
|
||||||
|
</v-list-item-content>
|
||||||
|
</v-list-item>
|
||||||
|
|
||||||
|
<v-subheader>{{ $ay.t("LicensedOptions") }}</v-subheader>
|
||||||
|
|
||||||
|
<v-list-item
|
||||||
|
v-for="item in currentLicenseInfo.features"
|
||||||
|
:key="item.Feature"
|
||||||
>
|
>
|
||||||
<v-list-item-subtitle>{{
|
<v-list-item-content>
|
||||||
currentLicenseInfo.keySerial
|
<v-list-item-title>{{ item.Feature }}</v-list-item-title>
|
||||||
}}</v-list-item-subtitle>
|
<v-list-item-subtitle class="text-wrap">{{
|
||||||
</v-list-item-content>
|
item.Count ? +item.Count : "✓"
|
||||||
</v-list-item>
|
}}</v-list-item-subtitle>
|
||||||
|
</v-list-item-content>
|
||||||
|
</v-list-item>
|
||||||
|
</v-list>
|
||||||
|
</v-card>
|
||||||
|
</v-col>
|
||||||
|
|
||||||
<v-list-item v-if="currentLicenseInfo.licenseWillExpire">
|
<v-col cols="12" md="7">
|
||||||
<v-list-item-content>
|
<v-btn :href="purchaseLink()" target="_blank" class="mt-4 mr-4">{{
|
||||||
<v-list-item-title>
|
$ay.t("PurchaseLicense")
|
||||||
{{ $ay.t("LicenseExpiration") }}</v-list-item-title
|
}}</v-btn>
|
||||||
>
|
<v-btn @click="fetchKey()" class="mt-4">{{
|
||||||
<v-list-item-subtitle>{{
|
$ay.t("CheckForLicense")
|
||||||
$ay.sd(currentLicenseInfo.licenseExpiration)
|
}}</v-btn>
|
||||||
}}</v-list-item-subtitle>
|
</v-col>
|
||||||
</v-list-item-content>
|
<!-- </div> -->
|
||||||
</v-list-item>
|
</template>
|
||||||
|
|
||||||
<v-list-item>
|
|
||||||
<v-list-item-content
|
|
||||||
v-bind:class="{
|
|
||||||
'red--text text-h6': currentLicenseInfo.maintenanceExpired
|
|
||||||
}"
|
|
||||||
>
|
|
||||||
<v-list-item-title>
|
|
||||||
{{ $ay.t("SupportedUntil") }}</v-list-item-title
|
|
||||||
>
|
|
||||||
<v-list-item-subtitle>{{
|
|
||||||
$ay.sd(currentLicenseInfo.maintenanceExpiration)
|
|
||||||
}}</v-list-item-subtitle>
|
|
||||||
</v-list-item-content>
|
|
||||||
</v-list-item>
|
|
||||||
|
|
||||||
<v-subheader>{{ $ay.t("LicensedOptions") }}</v-subheader>
|
|
||||||
|
|
||||||
<v-list-item
|
|
||||||
v-for="item in currentLicenseInfo.features"
|
|
||||||
:key="item.Feature"
|
|
||||||
>
|
|
||||||
<v-list-item-content>
|
|
||||||
<v-list-item-title>{{ item.Feature }}</v-list-item-title>
|
|
||||||
<v-list-item-subtitle>{{
|
|
||||||
item.Count ? +item.Count : "✓"
|
|
||||||
}}</v-list-item-subtitle>
|
|
||||||
</v-list-item-content>
|
|
||||||
</v-list-item>
|
|
||||||
</v-list>
|
|
||||||
|
|
||||||
<div class="ml-1 ml-sm-6">
|
|
||||||
<div class="text-h5 mb-2">{{ $ay.t("HelpLicense") }}</div>
|
|
||||||
|
|
||||||
<div class="my-1">
|
|
||||||
<span class="text-subtitle-1 text-sm-h5">{{
|
|
||||||
$ay.t("RegisteredUser")
|
|
||||||
}}</span>
|
|
||||||
<br />
|
|
||||||
<span class="text-subtitle-2 text-sm-h6">{{
|
|
||||||
currentLicenseInfo.licensedTo
|
|
||||||
}}</span>
|
|
||||||
</div>
|
|
||||||
<div class="my-1">
|
|
||||||
<span class="text-subtitle-1 text-sm-h5">{{
|
|
||||||
$ay.t("DatabaseID")
|
|
||||||
}}</span>
|
|
||||||
<br />
|
|
||||||
<span class="text-subtitle-2 text-sm-h6">{{
|
|
||||||
currentLicenseInfo.serverDbId
|
|
||||||
}}</span>
|
|
||||||
</div>
|
|
||||||
<div class="my-1">
|
|
||||||
<span class="text-subtitle-1 text-sm-h5 mt-1">
|
|
||||||
{{ $ay.t("LicenseSerial") }}</span
|
|
||||||
>
|
|
||||||
<br />
|
|
||||||
<span class="text-subtitle-2 text-sm-h6">{{
|
|
||||||
currentLicenseInfo.keySerial
|
|
||||||
}}</span>
|
|
||||||
</div>
|
|
||||||
<div v-if="currentLicenseInfo.licenseWillExpire">
|
|
||||||
{{ $ay.t("LicenseExpiration") }}
|
|
||||||
<span class="font-weight-bold ml-1">{{
|
|
||||||
$ay.sd(currentLicenseInfo.licenseExpiration)
|
|
||||||
}}</span>
|
|
||||||
</div>
|
|
||||||
<div
|
|
||||||
v-bind:class="{
|
|
||||||
'red--text text-h6': currentLicenseInfo.maintenanceExpired
|
|
||||||
}"
|
|
||||||
>
|
|
||||||
{{ $ay.t("SupportedUntil") }}
|
|
||||||
<span class="font-weight-bold ml-1">{{
|
|
||||||
$ay.sd(currentLicenseInfo.maintenanceExpiration)
|
|
||||||
}}</span>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="text-h5 mb-2 mt-5">
|
|
||||||
{{ $ay.t("LicensedOptions") }}
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div
|
|
||||||
v-for="item in currentLicenseInfo.features"
|
|
||||||
:key="item.Feature"
|
|
||||||
>
|
|
||||||
{{ item.Feature }}
|
|
||||||
<span class="font-weight-bold ml-1">{{
|
|
||||||
item.Count ? +item.Count : ""
|
|
||||||
}}</span>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="mt-8">
|
|
||||||
<v-col cols="12">
|
|
||||||
<v-btn
|
|
||||||
:href="purchaseLink()"
|
|
||||||
target="_blank"
|
|
||||||
class="mt-4 mr-4"
|
|
||||||
>{{ $ay.t("PurchaseLicense") }}</v-btn
|
|
||||||
>
|
|
||||||
<v-btn @click="fetchKey()" class="mt-4">{{
|
|
||||||
$ay.t("CheckForLicense")
|
|
||||||
}}</v-btn>
|
|
||||||
</v-col>
|
|
||||||
</div>
|
|
||||||
</div></template
|
|
||||||
>
|
|
||||||
<template
|
<template
|
||||||
v-if="
|
v-if="
|
||||||
showLicenseUi() == 'needcantrial' ||
|
showLicenseUi() == 'needcantrial' ||
|
||||||
|
|||||||
@@ -1,63 +1,93 @@
|
|||||||
<template>
|
<template>
|
||||||
<v-row v-if="this.formState.ready">
|
<v-row v-if="this.formState.ready" align="start" justify="center">
|
||||||
<gz-error :errorBoxMessage="formState.errorBoxMessage"></gz-error>
|
<gz-error :errorBoxMessage="formState.errorBoxMessage"></gz-error>
|
||||||
<v-col>
|
<v-col cols="12" md="7">
|
||||||
<div>
|
<v-card>
|
||||||
<span class="ml-sm-6 text-sm-subtitle-1"
|
<v-list two-line>
|
||||||
>AYANOVA_DEFAULT_TRANSLATION:
|
<v-list-item>
|
||||||
</span>
|
<v-list-item-content>
|
||||||
<span class="text-sm-h6">{{ config.ayanovA_DEFAULT_TRANSLATION }}</span>
|
<v-list-item-title>AYANOVA_DEFAULT_TRANSLATION</v-list-item-title>
|
||||||
</div>
|
<v-list-item-subtitle class="text-wrap">{{
|
||||||
|
config.ayanovA_DEFAULT_TRANSLATION
|
||||||
|
}}</v-list-item-subtitle>
|
||||||
|
</v-list-item-content>
|
||||||
|
</v-list-item>
|
||||||
|
|
||||||
<div class="mt-3">
|
<v-list-item>
|
||||||
<span class="ml-sm-6 text-sm-subtitle-1">AYANOVA_USE_URLS: </span>
|
<v-list-item-content>
|
||||||
<span class="text-sm-h6">{{ config.ayanovA_USE_URLS }}</span>
|
<v-list-item-title>AYANOVA_USE_URLS</v-list-item-title>
|
||||||
</div>
|
<v-list-item-subtitle class="text-wrap">{{
|
||||||
|
config.ayanovA_USE_URLS
|
||||||
|
}}</v-list-item-subtitle>
|
||||||
|
</v-list-item-content>
|
||||||
|
</v-list-item>
|
||||||
|
|
||||||
<div class="mt-3">
|
<v-list-item>
|
||||||
<span class="ml-sm-6 text-sm-subtitle-1">AYANOVA_DB_CONNECTION: </span>
|
<v-list-item-content>
|
||||||
<span class="text-sm-h6">{{ config.ayanovA_DB_CONNECTION }}</span>
|
<v-list-item-title>AYANOVA_DB_CONNECTION</v-list-item-title>
|
||||||
</div>
|
<v-list-item-subtitle class="text-wrap">{{
|
||||||
|
config.ayanovA_DB_CONNECTION
|
||||||
|
}}</v-list-item-subtitle>
|
||||||
|
</v-list-item-content>
|
||||||
|
</v-list-item>
|
||||||
|
|
||||||
<div class="mt-3">
|
<v-list-item>
|
||||||
<span class="ml-sm-6 text-sm-subtitle-1"
|
<v-list-item-content>
|
||||||
>AYANOVA_FOLDER_USER_FILES:
|
<v-list-item-title>AYANOVA_FOLDER_USER_FILES</v-list-item-title>
|
||||||
</span>
|
<v-list-item-subtitle class="text-wrap">{{
|
||||||
<span class="text-sm-h6">{{ config.ayanovA_FOLDER_USER_FILES }}</span>
|
config.ayanovA_FOLDER_USER_FILES
|
||||||
</div>
|
}}</v-list-item-subtitle>
|
||||||
|
</v-list-item-content>
|
||||||
|
</v-list-item>
|
||||||
|
|
||||||
<div class="mt-3">
|
<v-list-item>
|
||||||
<span class="ml-sm-6 text-sm-subtitle-1"
|
<v-list-item-content>
|
||||||
>AYANOVA_FOLDER_BACKUP_FILES:
|
<v-list-item-title>AYANOVA_FOLDER_BACKUP_FILES</v-list-item-title>
|
||||||
</span>
|
<v-list-item-subtitle class="text-wrap">{{
|
||||||
<span class="text-sm-h6">{{ config.ayanovA_FOLDER_BACKUP_FILES }}</span>
|
config.ayanovA_FOLDER_BACKUP_FILES
|
||||||
</div>
|
}}</v-list-item-subtitle>
|
||||||
|
</v-list-item-content>
|
||||||
|
</v-list-item>
|
||||||
|
|
||||||
<div class="mt-3">
|
<v-list-item>
|
||||||
<span class="ml-sm-6 text-sm-subtitle-1"
|
<v-list-item-content>
|
||||||
>AYANOVA_BACKUP_PG_DUMP_PATH:
|
<v-list-item-title>AYANOVA_BACKUP_PG_DUMP_PATH</v-list-item-title>
|
||||||
</span>
|
<v-list-item-subtitle class="text-wrap">{{
|
||||||
<span class="text-sm-h6">{{ config.ayanovA_BACKUP_PG_DUMP_PATH }}</span>
|
config.ayanovA_BACKUP_PG_DUMP_PATH
|
||||||
</div>
|
}}</v-list-item-subtitle>
|
||||||
|
</v-list-item-content>
|
||||||
|
</v-list-item>
|
||||||
|
|
||||||
<div class="mt-3">
|
<v-list-item>
|
||||||
<span class="ml-sm-6 text-sm-subtitle-1">AYANOVA_LOG_PATH: </span>
|
<v-list-item-content>
|
||||||
<span class="text-sm-h6">{{ config.ayanovA_LOG_PATH }}</span>
|
<v-list-item-title>AYANOVA_LOG_PATH</v-list-item-title>
|
||||||
</div>
|
<v-list-item-subtitle class="text-wrap">{{
|
||||||
|
config.ayanovA_LOG_PATH
|
||||||
|
}}</v-list-item-subtitle>
|
||||||
|
</v-list-item-content>
|
||||||
|
</v-list-item>
|
||||||
|
|
||||||
<div class="mt-3">
|
<v-list-item>
|
||||||
<span class="ml-sm-6 text-sm-subtitle-1">AYANOVA_LOG_LEVEL: </span>
|
<v-list-item-content>
|
||||||
<span class="text-sm-h6">{{ config.ayanovA_LOG_LEVEL }}</span>
|
<v-list-item-title>AYANOVA_LOG_LEVEL</v-list-item-title>
|
||||||
</div>
|
<v-list-item-subtitle class="text-wrap">{{
|
||||||
|
config.ayanovA_LOG_LEVEL
|
||||||
|
}}</v-list-item-subtitle>
|
||||||
|
</v-list-item-content>
|
||||||
|
</v-list-item>
|
||||||
|
|
||||||
<div class="mt-3">
|
<v-list-item>
|
||||||
<span class="ml-sm-6 text-sm-subtitle-1"
|
<v-list-item-content>
|
||||||
>AYANOVA_LOG_ENABLE_LOGGER_DIAGNOSTIC_LOG:
|
<v-list-item-title class="text-wrap"
|
||||||
</span>
|
>AYANOVA_LOG_ENABLE_LOGGER_DIAGNOSTIC_LOG</v-list-item-title
|
||||||
<span class="text-sm-h6">{{
|
>
|
||||||
config.ayanovA_LOG_ENABLE_LOGGER_DIAGNOSTIC_LOG
|
<v-list-item-subtitle class="text-wrap">{{
|
||||||
}}</span>
|
config.ayanovA_LOG_ENABLE_LOGGER_DIAGNOSTIC_LOG
|
||||||
</div>
|
}}</v-list-item-subtitle>
|
||||||
|
</v-list-item-content>
|
||||||
|
</v-list-item>
|
||||||
|
</v-list>
|
||||||
|
</v-card>
|
||||||
</v-col>
|
</v-col>
|
||||||
</v-row>
|
</v-row>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
Reference in New Issue
Block a user