Verifica telegram + email

- convertito la Configurazione newsletter
- Protetto le password (al load) che vengono settate in settings
This commit is contained in:
paoloar77
2021-12-23 14:14:39 +01:00
parent eaed1e0813
commit f29c9e0413
30 changed files with 1327 additions and 17 deletions

View File

@@ -0,0 +1,39 @@
<template>
<div class="text-center q-gutter-sm q-ma-sm clBorderWarning">
<div v-if="TelegCode() > 0">
<div class="text-h5 text-center text-red">
{{ $t('reg.teleg_auth') }} Telegram:
</div>
<CCopyBtn :title="$t('reg.click_per_copiare')" :texttocopy="TelegCode()">
</CCopyBtn>
<div class="text-h6 text-center" v-html="$t('reg.teleg_torna_sul_bot', {botname: getBotNameTelegram()})">
</div>
</div>
<div v-if="!TelegVerificato()" class="q-pa-sm q-gutter-sm">
<div v-if="!TelegCode()"><strong>{{ $t('components.authentication.telegram.open')}}</strong></div>
<div class="q-ma-md">
<q-btn rounded color="primary" icon="fab fa-telegram" :label="$t('components.authentication.telegram.openbot', {botname: $t('ws.botname') })"
type="a"
:href="getLinkBotTelegram()" target="_blank"></q-btn>
<br>
</div>
<strong>{{ $t('components.authentication.telegram.ifclose', {botname: getBotNameTelegram() })}}</strong>
<div class="q-my-sm">
<q-img src="statics/images/ayni_bot.jpg" class="" :alt="$t('ws.sitename')" style="height: 100px; width: 250px;">
</q-img>
</div>
</div>
</div>
</template>
<script lang="ts" src="./CVerifyTelegram.ts">
</script>
<style lang="scss" scoped>
@import './CVerifyTelegram.scss';
</style>