This commit is contained in:
Troplo 2021-04-11 16:32:17 +10:00
parent 2ce96638ac
commit 5a2448b4ff
5 changed files with 36 additions and 11636 deletions

View File

@ -19,7 +19,7 @@
<div class="hero-body" style="padding: 1rem 1rem !important">
<div class="mobile-container">
<div class="container">
<p style="text-align: center">Kaverti is being accessed insecurely, Authentication will be disabled.</p>
<p style="text-align: center">{{$t('errors.insecure')}}</p>
</div>
</div>
</div>
@ -27,16 +27,14 @@
<section
v-if="
$store.state.client.clientVersion !==
$store.state.client.latestClientVersion && showOutdatedBanner && $store.state.client.latestClientVersion
$store.state.client.latestClientVersion && showOutdatedBanner && $store.state.client.latestClientVersion && !$store.state.client.development
"
class="hero is-warning"
>
<div class="hero-body" style="padding: 1rem 1rem !important">
<div class="mobile-container">
<div class="container">
<p style="text-align: center">
You are using an outdated version of Kaverti, please
refresh.<button
<p style="text-align: center">{{$t('errors.outdated')}}<button
type="button"
class="delete"
style="float: right"

View File

@ -105,6 +105,7 @@
<p>Version: {{$store.state.client.clientVersion}}</p>
<p>Build Date: {{$store.state.client.buildDate}}</p>
<p v-if="$store.state.client.development">!! DEVELOPMENT MODE !! {{$store.state.client.domain}}</p>
<p style="color: red" v-if="!$store.state.client.secure">!! BEING ACCESSED INSECURELY !!</p>
<div class="buttons">
<b-button type="is-info" @click="langModal = true">{{ $t("languages.title") }}</b-button>
<b-button type="is-info" @click="feedbackModal = true">Provide Feedback</b-button>

View File

@ -69,6 +69,20 @@
:label="$t('login.login')"
:loading="login.loading"
type="is-primary"
v-if="$store.state.client.secure && !$store.state.client.development"
/>
<b-button
@click="doLogin()"
:label="$t('login.login')"
:loading="login.loading"
type="is-primary"
v-if="$store.state.client.development"
/>
<b-button
:label="$t('generic.insecure')"
type="is-primary"
v-if="!$store.state.client.secure && !$store.state.client.development"
disabled
/>
<b-button :label="$t('close')" @click="loginModal = false" />
</footer>
@ -181,6 +195,20 @@
:label="$t('register.text')"
:loading="register.loading"
type="is-primary"
v-if="$store.state.client.secure && !$store.state.client.development"
/>
<b-button
@click="doRegister()"
:label="$t('register.text')"
:loading="register.loading"
type="is-primary"
v-if="$store.state.client.development"
/>
<b-button
:label="$t('generic.insecure')"
type="is-primary"
v-if="!$store.state.client.secure && !$store.state.client.development"
disabled
/>
<b-button :label="$t('close')" @click="registerModal = false" />
</footer>

View File

@ -167,7 +167,9 @@
"canaryBuild": "You are using the Canary client, if you are expecting a stable experience, please use the regular one on Kaverti.com.",
"logout": "You have been logged out of Kaverti.",
"register": "You have been registered to Kaverti, Welcome!",
"emailVerify": "Please verify your email to get full access to Kaverti!"
"emailVerify": "Please verify your email to get full access to Kaverti!",
"outdated": "You are using an outdated version of Kaverti, please refresh.",
"insecure": "You are accessing Kaverti insecurely, authentication features will be disabled for security."
},
"generic": {
"name": "Kaverti",

File diff suppressed because it is too large Load Diff