Inviato al Server il primo freeplanet.app
e popolodelnuovomondo.insiemesipuo.app
This commit is contained in:
28
_ALL_SITES/freeplanet.app/.env.development
Executable file
28
_ALL_SITES/freeplanet.app/.env.development
Executable file
@@ -0,0 +1,28 @@
|
||||
APP_VERSION="0.1.5"
|
||||
SERVICE_WORKER_FILE="service-worker.js"
|
||||
APP_ID="1"
|
||||
DIRECTORY_LOCAL="newfreeplanet"
|
||||
DIRECTORY_SERVER="freeplanet_serverside"
|
||||
SERVERDIR_WEBSITE=""
|
||||
SERVERPW_WEBSITE=""
|
||||
APP_URL="http://localhost"
|
||||
URL_FACEBOOK="https://www.facebook.com/freeplanetapp"
|
||||
PROVA_PAOLO="PROVA ENV FUNZIONA!"
|
||||
LANG_DEFAULT="it"
|
||||
PAO_APP_ID="KKPPAA5KJK435J3KSS9F9D8S9F8SD98F9SDF"
|
||||
MASTER_KEY="KKPPSS5KJK435J3KSS9F9D8S9F8SD3CR3T"
|
||||
MONGODB_HOST="http://192.168.1.8:3000"
|
||||
LOGO_REG="freeplanet-logo-full.svg"
|
||||
TEST_NAME="Paolo"
|
||||
TEST_SURNAME="Arena"
|
||||
TEST_EMAIL="paolo@freeplanet.app"
|
||||
TEST_USERNAME="paoloar773"
|
||||
TEST_PASSWORD="passpao1fr@1A"
|
||||
TEST_APORTADOR=""
|
||||
PUBLICKEY_PUSH='BDncvMiUZmjaCG2Kr1V9N0_33hOG-AuNSbHSvL24y2dzBiUjAxKm02emx5SeJvz2IGmtRf6YqCgopeQwCwUmZw8'
|
||||
IN_CONSTRUCTION="0"
|
||||
DEBUG="1"
|
||||
TELEGRAM_SUPPORT=""
|
||||
PROJECT_ID_MAIN="5cc0a13fe5c9d156728f400a"
|
||||
TEST_CELL=""
|
||||
ISTEST=1
|
||||
28
_ALL_SITES/freeplanet.app/.env.production
Executable file
28
_ALL_SITES/freeplanet.app/.env.production
Executable file
@@ -0,0 +1,28 @@
|
||||
APP_VERSION="0.1.5"
|
||||
SERVICE_WORKER_FILE="service-worker.js"
|
||||
APP_ID="1"
|
||||
DIRECTORY_LOCAL=newfreeplanet
|
||||
DIRECTORY_SERVER=freeplanet_serverside
|
||||
SERVERDIR_WEBSITE=www.freeplanet.app
|
||||
SERVERPW_WEBSITE=pwdadmin@1AOK
|
||||
APP_URL="https://www.freeplanet.app"
|
||||
URL_FACEBOOK="https://www.facebook.com/freeplanetapp"
|
||||
PROVA_PAOLO="PROVA ENV FUNZIONA!"
|
||||
LANG_DEFAULT="it"
|
||||
PAO_APP_ID="KKPPAA5KJK435J3KSS9F9D8S9F8SD98F9SDF"
|
||||
MASTER_KEY="KKPPSS5KJK435J3KSS9F9D8S9F8SD3CR3T"
|
||||
MONGODB_HOST="https://www.freeplanet.app:3000"
|
||||
LOGO_REG='freeplanet-logo-full.svg'
|
||||
TEST_NAME=""
|
||||
TEST_SURNAME=""
|
||||
TEST_EMAIL=""
|
||||
TEST_USERNAME=""
|
||||
TEST_PASSWORD=""
|
||||
TEST_APORTADOR="------"
|
||||
PUBLICKEY_PUSH="BNM-cEpTbPVc_ujXf3QOC8ggf7b-X44P44esfJUWqNOFq1XhWCoZJpOi71_cbXC5SnfO9HassQ6OouAYgtBA9Pw"
|
||||
IN_CONSTRUCTION="1"
|
||||
DEBUG="1"
|
||||
TELEGRAM_SUPPORT="https://t.me/freeplanet_supporto"
|
||||
PROJECT_ID_MAIN="5cc0a13fe5c9d156728f400a"
|
||||
TEST_CELL=""
|
||||
ISTEST=0
|
||||
28
_ALL_SITES/freeplanet.app/.env.test
Executable file
28
_ALL_SITES/freeplanet.app/.env.test
Executable file
@@ -0,0 +1,28 @@
|
||||
APP_VERSION="0.1.5"
|
||||
SERVICE_WORKER_FILE="service-worker.js"
|
||||
APP_ID="1"
|
||||
DIRECTORY_LOCAL=newfreeplanet
|
||||
DIRECTORY_SERVER=test.freeplanet_serverside
|
||||
SERVERDIR_WEBSITE="test.freeplanet.app"
|
||||
SERVERPW_WEBSITE="pwdadmin@1AOK"
|
||||
APP_URL="https://test.freeplanet.app"
|
||||
URL_FACEBOOK="https://www.facebook.com/freeplanetapp"
|
||||
PROVA_PAOLO="PROVA ENV FUNZIONA!"
|
||||
LANG_DEFAULT="it"
|
||||
PAO_APP_ID="KKPPAA5KJK435J3KSS9F9D8S9F8SD98F9SDF"
|
||||
MASTER_KEY="KKPPSS5KJK435J3KSS9F9D8S9F8SD3CR3T"
|
||||
MONGODB_HOST="https://test.freeplanet.app:3001"
|
||||
LOGO_REG="freeplanet-logo-full.svg"
|
||||
TEST_NAME="Paolo"
|
||||
TEST_SURNAME="Arena"
|
||||
TEST_EMAIL="paolo@freeplanet.app"
|
||||
TEST_USERNAME="paoloar77"
|
||||
TEST_PASSWORD="passpao1fr@1A"
|
||||
TEST_APORTADOR=""
|
||||
PUBLICKEY_PUSH="BNRBtL3iaLVGW-aQckwQBmh5uKKzcizOZsMjnzCtSuHkssEhbyioEN2E_CwItDLDShMO-OQ1uhK51ty6zG_gCT8"
|
||||
IN_CONSTRUCTION="0"
|
||||
DEBUG="1"
|
||||
TELEGRAM_SUPPORT=""
|
||||
PROJECT_ID_MAIN="5cc0a13fe5c9d156728f400a"
|
||||
TEST_CELL=""
|
||||
ISTEST=1
|
||||
0
_ALL_SITES/freeplanet.app/root/home/home.scss
Executable file
0
_ALL_SITES/freeplanet.app/root/home/home.scss
Executable file
58
_ALL_SITES/freeplanet.app/root/home/home.ts
Executable file
58
_ALL_SITES/freeplanet.app/root/home/home.ts
Executable file
@@ -0,0 +1,58 @@
|
||||
import {
|
||||
defineComponent, ref, computed,
|
||||
} from 'vue'
|
||||
|
||||
import { tools } from '@src/store/Modules/tools'
|
||||
import { CSkill } from '@/components/CSkill'
|
||||
import { CFinder } from '@/components/CFinder'
|
||||
import { CChartMap } from '@src/components/CChartMap'
|
||||
import { CMapsEsempio } from '@src/components/CMapsEsempio'
|
||||
import { CVerifyEmail } from '@src/components/CVerifyEmail'
|
||||
import { CVerifyTelegram } from '@src/components/CVerifyTelegram'
|
||||
import { useGlobalStore } from '@store/globalStore'
|
||||
import { useUserStore } from '@store/UserStore'
|
||||
import { static_data } from '@/db/static_data'
|
||||
|
||||
|
||||
export default defineComponent({
|
||||
name: 'Home',
|
||||
components: { CSkill, CChartMap, CMapsEsempio, CFinder, CVerifyEmail, CVerifyTelegram },
|
||||
setup() {
|
||||
const globalStore = useGlobalStore()
|
||||
const userStore = useUserStore()
|
||||
|
||||
function isEmailVerified() {
|
||||
return userStore.my.verified_email
|
||||
}
|
||||
|
||||
function TelegCode() {
|
||||
return userStore.my.profile.teleg_checkcode
|
||||
}
|
||||
|
||||
function TelegVerificato(): boolean {
|
||||
return userStore.my.profile ? userStore.my.profile.teleg_id! > 0 : false
|
||||
}
|
||||
|
||||
function openrighttoolbar() {
|
||||
globalStore.rightDrawerOpen = true
|
||||
}
|
||||
|
||||
function isLogged() {
|
||||
return userStore.isLogged
|
||||
}
|
||||
function isUserOk() {
|
||||
return userStore.isUserOk()
|
||||
}
|
||||
|
||||
return {
|
||||
tools,
|
||||
static_data,
|
||||
isEmailVerified,
|
||||
TelegCode,
|
||||
TelegVerificato,
|
||||
isLogged,
|
||||
openrighttoolbar,
|
||||
isUserOk,
|
||||
}
|
||||
},
|
||||
})
|
||||
73
_ALL_SITES/freeplanet.app/root/home/home.vue
Executable file
73
_ALL_SITES/freeplanet.app/root/home/home.vue
Executable file
@@ -0,0 +1,73 @@
|
||||
<template>
|
||||
<q-page class="">
|
||||
|
||||
<!--<CChartMap
|
||||
title="Mappa"
|
||||
subtitle="cartina..."
|
||||
serie1="Serie 1"
|
||||
>
|
||||
|
||||
</CChartMap>-->
|
||||
|
||||
<!--<CMapsEsempio></CMapsEsempio>-->
|
||||
|
||||
<div v-if="isLogged()">
|
||||
<CVerifyEmail v-if="!isEmailVerified()">
|
||||
|
||||
</CVerifyEmail>
|
||||
|
||||
<CVerifyTelegram v-if="TelegCode() || !TelegVerificato()">
|
||||
|
||||
</CVerifyTelegram>
|
||||
|
||||
<div v-if="isUserOk()">
|
||||
<q-banner rounded class="bg-primary text-white">
|
||||
<div class="text-h6 text-center">
|
||||
Ora Accedi al Bot Telegram <br>
|
||||
per vedere tutti i Menu e le chat !
|
||||
</div>
|
||||
<template v-slot:action>
|
||||
<q-btn flat color="white" label="Accedi al Bot Telegram" @click="getLinkBotTelegram()"/>
|
||||
</template>
|
||||
</q-banner>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div v-else>
|
||||
<div class="q-pa-md q-gutter-sm">
|
||||
<q-banner rounded class="bg-primary text-white">
|
||||
<div class="text-h6 text-center">
|
||||
Accedi al menu inserendo le tue credenziali 🔑<br><br>
|
||||
📝 Non sei <strong>Registrato</strong>?<br>
|
||||
👉🏻 Chiedi in chat il link a chi ti ha <strong>invitato</strong>.<br>
|
||||
</div>
|
||||
<template v-slot:action>
|
||||
<q-btn flat color="white" label="Accedi al Login" @click="openrighttoolbar"/>
|
||||
</template>
|
||||
</q-banner>
|
||||
</div>
|
||||
|
||||
<div
|
||||
v-if="!isLogged() && static_data.functionality.ENABLE_REGISTRATION && static_data.functionality.SHOW_REG_BUTTON"
|
||||
style="margin:20px; text-align: center;">
|
||||
<q-btn rounded size="lg" color="primary" @click="openrighttoolbar">{{ $t('login.enter') }}
|
||||
</q-btn>
|
||||
</div>
|
||||
|
||||
<!--
|
||||
<div v-if="!isLogged && static_data.functionality.ENABLE_REGISTRATION" align="center" style="margin:20px;">
|
||||
<q-btn rounded size="lg" color="primary" to="/signup">{{$t('reg.submit')}}
|
||||
</q-btn>
|
||||
</div>
|
||||
-->
|
||||
|
||||
</div>
|
||||
|
||||
</q-page>
|
||||
|
||||
</template>
|
||||
<script lang="ts" src="./home.ts">
|
||||
</script>
|
||||
<style lang="scss" scoped>
|
||||
@import './home.scss';
|
||||
</style>
|
||||
@@ -760,12 +760,16 @@ const msg_it = {
|
||||
manageremail: 'Email Gestione',
|
||||
replyTo: 'Reply To',
|
||||
host: 'Host',
|
||||
host_test: 'Host Test',
|
||||
portapp: 'Porta',
|
||||
dir: 'Directory',
|
||||
dir: 'Dir',
|
||||
dir_test: 'Dir Test',
|
||||
email_from: 'Email From',
|
||||
email_pwd: 'Email Pwd',
|
||||
telegram_key: 'Chiave Bot Telegram',
|
||||
telegram_bot_name: 'Telegram BotName',
|
||||
telegram_key: 'Chiave Bot',
|
||||
telegram_bot_name: 'BotName',
|
||||
telegram_key_test: 'Chiave Bot Test',
|
||||
telegram_bot_name_test: 'BotName Test',
|
||||
pathreg_add: 'Suffisso',
|
||||
},
|
||||
skill: {
|
||||
|
||||
Reference in New Issue
Block a user