Fix Registration
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
APP_VERSION="0.5.41"
|
APP_VERSION="0.5.42"
|
||||||
SERVICE_WORKER_FILE="service-worker.js"
|
SERVICE_WORKER_FILE="service-worker.js"
|
||||||
APP_ID="13"
|
APP_ID="13"
|
||||||
DIRECTORY_LOCAL="newfreeplanet"
|
DIRECTORY_LOCAL="newfreeplanet"
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
APP_VERSION="0.5.41"
|
APP_VERSION="0.5.42"
|
||||||
SERVICE_WORKER_FILE="service-worker.js"
|
SERVICE_WORKER_FILE="service-worker.js"
|
||||||
APP_ID="13"
|
APP_ID="13"
|
||||||
DIRECTORY_LOCAL=newfreeplanet
|
DIRECTORY_LOCAL=newfreeplanet
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
APP_VERSION="0.5.41"
|
APP_VERSION="0.5.42"
|
||||||
SERVICE_WORKER_FILE="service-worker.js"
|
SERVICE_WORKER_FILE="service-worker.js"
|
||||||
APP_ID="13"
|
APP_ID="13"
|
||||||
DIRECTORY_LOCAL="newfreeplanet"
|
DIRECTORY_LOCAL="newfreeplanet"
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
APP_VERSION="0.5.41"
|
APP_VERSION="0.5.42"
|
||||||
SERVICE_WORKER_FILE="service-worker.js"
|
SERVICE_WORKER_FILE="service-worker.js"
|
||||||
APP_ID="13"
|
APP_ID="13"
|
||||||
DIRECTORY_LOCAL=newfreeplanet
|
DIRECTORY_LOCAL=newfreeplanet
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
APP_VERSION="0.5.41"
|
APP_VERSION="0.5.42"
|
||||||
SERVICE_WORKER_FILE="service-worker.js"
|
SERVICE_WORKER_FILE="service-worker.js"
|
||||||
APP_ID="14"
|
APP_ID="14"
|
||||||
DIRECTORY_LOCAL="newfreeplanet"
|
DIRECTORY_LOCAL="newfreeplanet"
|
||||||
|
|||||||
@@ -78,13 +78,20 @@ export default {
|
|||||||
|
|
||||||
let displayMode = 'browser';
|
let displayMode = 'browser';
|
||||||
const mqStandAlone = '(display-mode: standalone)';
|
const mqStandAlone = '(display-mode: standalone)';
|
||||||
|
if (navigator)
|
||||||
|
console.log('navigator')
|
||||||
|
// @ts-ignore
|
||||||
|
if (navigator && navigator.standalone)
|
||||||
|
console.log('navigator.standalone')
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
if (((navigator && (navigator.standalone))) ||
|
if (((navigator && (navigator.standalone))) ||
|
||||||
(window.matchMedia(mqStandAlone).matches)) {
|
(window.matchMedia(mqStandAlone).matches)) {
|
||||||
|
console.log('navigator.standalone')
|
||||||
displayMode = 'standalone'
|
displayMode = 'standalone'
|
||||||
}
|
}
|
||||||
|
|
||||||
globalStore.isAppRunning = displayMode === 'standalone';
|
globalStore.isAppRunning = displayMode === 'standalone';
|
||||||
|
console.log('isapp running = ', globalStore.isAppRunning)
|
||||||
}
|
}
|
||||||
|
|
||||||
function mounted() {
|
function mounted() {
|
||||||
|
|||||||
@@ -1401,6 +1401,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div v-else>
|
<div v-else>
|
||||||
<CMySingleEvent
|
<CMySingleEvent
|
||||||
|
v-if="mysingleevent"
|
||||||
:myevent="mysingleevent"
|
:myevent="mysingleevent"
|
||||||
calendarView="month"
|
calendarView="month"
|
||||||
:iseditable="editable"
|
:iseditable="editable"
|
||||||
|
|||||||
@@ -30,6 +30,11 @@ export default defineComponent({
|
|||||||
required: false,
|
required: false,
|
||||||
default: false,
|
default: false,
|
||||||
},
|
},
|
||||||
|
showBarSelection: {
|
||||||
|
type: Boolean,
|
||||||
|
required: false,
|
||||||
|
default: true,
|
||||||
|
},
|
||||||
noButtAdd: {
|
noButtAdd: {
|
||||||
type: Boolean,
|
type: Boolean,
|
||||||
required: false,
|
required: false,
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<CTitlePage :ind="ind" :table="table">
|
<CTitlePage :ind="ind" :table="table" :showBarSelection="showBarSelection">
|
||||||
<div class="bi-border-all">
|
<div class="bi-border-all">
|
||||||
<div class="q-ma-xs q-gutter-xs">
|
<div class="q-ma-xs q-gutter-xs">
|
||||||
<div v-if="showFilterPersonal" class="text-center">
|
<div v-if="showFilterPersonal" class="text-center">
|
||||||
|
|||||||
@@ -31,6 +31,11 @@ export default defineComponent({
|
|||||||
required: false,
|
required: false,
|
||||||
default: true,
|
default: true,
|
||||||
},
|
},
|
||||||
|
showBarSelection: {
|
||||||
|
type: Boolean,
|
||||||
|
required: false,
|
||||||
|
default: true,
|
||||||
|
},
|
||||||
circuit: {
|
circuit: {
|
||||||
type: Object as PropType<ICircuit | null>,
|
type: Object as PropType<ICircuit | null>,
|
||||||
required: false,
|
required: false,
|
||||||
|
|||||||
@@ -16,7 +16,12 @@
|
|||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<div v-if="finder" class="">
|
<div v-if="finder" class="">
|
||||||
<div v-if="modelValue === costanti.FIND_CIRCUIT || listcircuitsfiltered.length === 0">
|
<div
|
||||||
|
v-if="
|
||||||
|
modelValue === costanti.FIND_CIRCUIT ||
|
||||||
|
listcircuitsfiltered.length === 0
|
||||||
|
"
|
||||||
|
>
|
||||||
<slot></slot>
|
<slot></slot>
|
||||||
</div>
|
</div>
|
||||||
<div v-else>
|
<div v-else>
|
||||||
@@ -26,12 +31,15 @@
|
|||||||
|
|
||||||
<q-btn label="test" @click="userStore.my.profile.mycircuits = [...userStore.my.profile.mycircuits, {circuitname: 'prova'}]; circuitStore.listcircuits = [...circuitStore.listcircuits, {name: 'prova', path: 'prova'}]"></q-btn>
|
<q-btn label="test" @click="userStore.my.profile.mycircuits = [...userStore.my.profile.mycircuits, {circuitname: 'prova'}]; circuitStore.listcircuits = [...circuitStore.listcircuits, {name: 'prova', path: 'prova'}]"></q-btn>
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<q-list>
|
<q-list>
|
||||||
<span v-for="(circuit, index) in listcircuitsfiltered" :key="index" class="q-my-sm" clickable>
|
<span
|
||||||
<CMyCircuit
|
v-for="(circuit, index) in listcircuitsfiltered"
|
||||||
:mycircuit="circuit"
|
:key="index"
|
||||||
:visu="modelValue">
|
class="q-my-sm"
|
||||||
</CMyCircuit>
|
clickable
|
||||||
|
>
|
||||||
|
<CMyCircuit :mycircuit="circuit" :visu="modelValue"> </CMyCircuit>
|
||||||
</span>
|
</span>
|
||||||
</q-list>
|
</q-list>
|
||||||
</div>
|
</div>
|
||||||
@@ -39,10 +47,7 @@
|
|||||||
<div v-else>
|
<div v-else>
|
||||||
<q-list class="width-container">
|
<q-list class="width-container">
|
||||||
<span class="q-my-sm" clickable>
|
<span class="q-my-sm" clickable>
|
||||||
<CMyCircuit
|
<CMyCircuit :mycircuit="mycircuit" :visu="visu"> </CMyCircuit>
|
||||||
:mycircuit="mycircuit"
|
|
||||||
:visu="visu">
|
|
||||||
</CMyCircuit>
|
|
||||||
</span>
|
</span>
|
||||||
</q-list>
|
</q-list>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -442,7 +442,7 @@
|
|||||||
<div v-else-if="myel.type === shared_consts.ELEMTYPE.REGISTRATION">
|
<div v-else-if="myel.type === shared_consts.ELEMTYPE.REGISTRATION">
|
||||||
<div v-if="editOn" class="elemEdit">Registrazione</div>
|
<div v-if="editOn" class="elemEdit">Registrazione</div>
|
||||||
|
|
||||||
<div v-if="isAppRunning || $q.screen.gt.xs">
|
<div v-if="true">
|
||||||
<CRegistration />
|
<CRegistration />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -24,6 +24,11 @@ export default defineComponent({
|
|||||||
type: Boolean,
|
type: Boolean,
|
||||||
required: true,
|
required: true,
|
||||||
},
|
},
|
||||||
|
showBarSelection: {
|
||||||
|
type: Boolean,
|
||||||
|
required: false,
|
||||||
|
default: true,
|
||||||
|
},
|
||||||
mygrp: {
|
mygrp: {
|
||||||
type: Object as PropType<IMyGroup | null>,
|
type: Object as PropType<IMyGroup | null>,
|
||||||
required: false,
|
required: false,
|
||||||
|
|||||||
@@ -21,11 +21,13 @@
|
|||||||
</div>
|
</div>
|
||||||
<div v-else>
|
<div v-else>
|
||||||
<q-list>
|
<q-list>
|
||||||
<span v-for="(grp, index) in listgroupsfiltered" :key="index" class="q-my-sm" clickable>
|
<span
|
||||||
<CMyGroup
|
v-for="(grp, index) in listgroupsfiltered"
|
||||||
:mygrp="grp"
|
:key="index"
|
||||||
:visu="modelValue">
|
class="q-my-sm"
|
||||||
</CMyGroup>
|
clickable
|
||||||
|
>
|
||||||
|
<CMyGroup :mygrp="grp" :visu="modelValue"> </CMyGroup>
|
||||||
</span>
|
</span>
|
||||||
</q-list>
|
</q-list>
|
||||||
</div>
|
</div>
|
||||||
@@ -33,10 +35,7 @@
|
|||||||
<div v-else>
|
<div v-else>
|
||||||
<q-list class="width-container">
|
<q-list class="width-container">
|
||||||
<span class="q-my-sm" clickable>
|
<span class="q-my-sm" clickable>
|
||||||
<CMyGroup
|
<CMyGroup :mygrp="mygrp" :visu="visu"> </CMyGroup>
|
||||||
:mygrp="mygrp"
|
|
||||||
:visu="visu">
|
|
||||||
</CMyGroup>
|
|
||||||
</span>
|
</span>
|
||||||
</q-list>
|
</q-list>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -50,7 +50,7 @@
|
|||||||
<q-item-label lines="4" v-if="myrec.descr">{{ myrec.descr }}<br>
|
<q-item-label lines="4" v-if="myrec.descr">{{ myrec.descr }}<br>
|
||||||
</q-item-label>
|
</q-item-label>
|
||||||
<q-item-label lines="2" style="text-align: right" class="text_user_city">
|
<q-item-label lines="2" style="text-align: right" class="text_user_city">
|
||||||
<span class="text-weight-bold">{{ getNameToShow(myrec) }}</span> -
|
<span class="text-weight-bold">{{ tools.getNameToShow(myrec) }}</span> -
|
||||||
<span v-for="(rec, ind) of myrec.mycities" :key="ind"><span v-if="ind > 0">, </span>{{ rec.comune }} ({{ rec.prov }})</span>
|
<span v-for="(rec, ind) of myrec.mycities" :key="ind"><span v-if="ind > 0">, </span>{{ rec.comune }} ({{ rec.prov }})</span>
|
||||||
</q-item-label>
|
</q-item-label>
|
||||||
|
|
||||||
|
|||||||
@@ -41,7 +41,7 @@
|
|||||||
<q-icon name="fas fa-lock"></q-icon></span>
|
<q-icon name="fas fa-lock"></q-icon></span>
|
||||||
<span v-if="myrec.visibility.includes(shared_consts.Visibility_Group.HIDDEN)" class="q-mr-xs">
|
<span v-if="myrec.visibility.includes(shared_consts.Visibility_Group.HIDDEN)" class="q-mr-xs">
|
||||||
<q-icon name="fas fa-eye-slash"></q-icon></span>
|
<q-icon name="fas fa-eye-slash"></q-icon></span>
|
||||||
<span class="text-weight-bold">{{ getNameToShow(myrec) }}</span> -
|
<span class="text-weight-bold">{{ tools.getNameToShow(myrec) }}</span> -
|
||||||
<span v-for="(rec, ind) of myrec.mycities" :key="ind"><span v-if="ind > 0">, </span>{{ rec.comune }}</span>
|
<span v-for="(rec, ind) of myrec.mycities" :key="ind"><span v-if="ind > 0">, </span>{{ rec.comune }}</span>
|
||||||
</q-item-label>
|
</q-item-label>
|
||||||
|
|
||||||
|
|||||||
@@ -141,10 +141,6 @@
|
|||||||
|
|
||||||
<div>
|
<div>
|
||||||
<div v-if="!tools.isLogged()" style="margin: 5px; padding: 5px;" class="home">
|
<div v-if="!tools.isLogged()" style="margin: 5px; padding: 5px;" class="home">
|
||||||
<q-btn
|
|
||||||
v-if="site.confpages.enableReg && site.confpages.enableRegByBot"
|
|
||||||
type="a" rounded size="lg" color="primary" href="/bot" :label="$t('reg.submit')" class="buttreg">
|
|
||||||
</q-btn>
|
|
||||||
<q-btn
|
<q-btn
|
||||||
rounded size="lg" color="primary" @click="PagLogin"
|
rounded size="lg" color="primary" @click="PagLogin"
|
||||||
class="btn-start">
|
class="btn-start">
|
||||||
|
|||||||
@@ -23,6 +23,11 @@ export default defineComponent({
|
|||||||
required: false,
|
required: false,
|
||||||
default: '',
|
default: '',
|
||||||
},
|
},
|
||||||
|
signupform: {
|
||||||
|
type: Boolean,
|
||||||
|
required: false,
|
||||||
|
default: false,
|
||||||
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
setup(props, { emit }) {
|
setup(props, { emit }) {
|
||||||
@@ -59,7 +64,11 @@ export default defineComponent({
|
|||||||
}
|
}
|
||||||
|
|
||||||
function regEventEmail() {
|
function regEventEmail() {
|
||||||
|
if (props.signupform) {
|
||||||
emit('regEventEmail', props.invited)
|
emit('regEventEmail', props.invited)
|
||||||
|
} else {
|
||||||
|
$router.push('/signup')
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
onMounted(mounted)
|
onMounted(mounted)
|
||||||
|
|||||||
@@ -28,7 +28,7 @@
|
|||||||
:class="`text-white bg-primary shadow-1 rounded-borders`"
|
:class="`text-white bg-primary shadow-1 rounded-borders`"
|
||||||
>
|
>
|
||||||
<q-carousel-slide name="start" class="column no-wrap flex-center">
|
<q-carousel-slide name="start" class="column no-wrap flex-center">
|
||||||
<q-icon name="fas fa-user" size="56px" />
|
<q-icon name="fas fa-user-plus" size="56px" />
|
||||||
<div class="q-mt-md text-center">
|
<div class="q-mt-md text-center">
|
||||||
<span class="text-h6 text-white"> {{ $t('reg.invitante') }}</span>
|
<span class="text-h6 text-white"> {{ $t('reg.invitante') }}</span>
|
||||||
<q-card class="dialog_card q-mb-lg">
|
<q-card class="dialog_card q-mb-lg">
|
||||||
@@ -91,8 +91,8 @@
|
|||||||
gruppo.<br />
|
gruppo.<br />
|
||||||
</div>
|
</div>
|
||||||
<div v-else-if="chooseReg">
|
<div v-else-if="chooseReg">
|
||||||
<div class="text-center">
|
<div class="row justify-center items-center">
|
||||||
<q-icon name="fas fa-user" size="23px" />
|
<q-icon name="fas fa-user-plus" size="27px" class="q-mx-md" />
|
||||||
<span class="text-h6 text-white"> {{ $t('reg.page_title') }}</span>
|
<span class="text-h6 text-white"> {{ $t('reg.page_title') }}</span>
|
||||||
<q-card class="q-mt-sm dialog_card q-mb-sm">
|
<q-card class="q-mt-sm dialog_card q-mb-sm">
|
||||||
<q-card-section>
|
<q-card-section>
|
||||||
@@ -108,19 +108,18 @@
|
|||||||
` text-h7`
|
` text-h7`
|
||||||
"
|
"
|
||||||
>Chiedi alla persona che ti ha invitato su RISO il suo
|
>Chiedi alla persona che ti ha invitato su RISO il suo
|
||||||
Username e poi :</span
|
<strong>Username</strong></span
|
||||||
>
|
>
|
||||||
<div class="row items-center">
|
<div class="row items-center">
|
||||||
<div class="col-12">
|
<div class="col-12">
|
||||||
<q-btn
|
<q-btn
|
||||||
rounded
|
rounded
|
||||||
:type="invited ? 'a' : 'button'"
|
type="a"
|
||||||
class="flex-item-btn"
|
class="flex-item-btn"
|
||||||
icon="fab fa-telegram"
|
icon="fab fa-telegram"
|
||||||
size="md"
|
size="md"
|
||||||
color="primary"
|
color="primary"
|
||||||
:href="invited ? tools.getLinkBotTelegram(invited, regexpire) : ``"
|
:href="invited ? tools.getLinkBotTelegram(invited, regexpire) : `/bot`"
|
||||||
to="/bot"
|
|
||||||
:label="$t('reg.bytelegram')"
|
:label="$t('reg.bytelegram')"
|
||||||
>
|
>
|
||||||
<q-badge color="red" align="bottom" floating
|
<q-badge color="red" align="bottom" floating
|
||||||
|
|||||||
@@ -36,3 +36,11 @@
|
|||||||
color: red;
|
color: red;
|
||||||
font-size: 1.5rem;
|
font-size: 1.5rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.cosa_chiedere{
|
||||||
|
font-weight: bold;
|
||||||
|
color: blue;
|
||||||
|
font-size: 1rem;
|
||||||
|
padding: 10px;
|
||||||
|
|
||||||
|
}
|
||||||
|
|||||||
@@ -86,6 +86,27 @@ export default defineComponent({
|
|||||||
const visubuttBOT = ref(false)
|
const visubuttBOT = ref(false)
|
||||||
const isalreadyReg = ref(false)
|
const isalreadyReg = ref(false)
|
||||||
const needTelegram = ref(false)
|
const needTelegram = ref(false)
|
||||||
|
const slide = ref('1')
|
||||||
|
const inputEmail = ref(<any>null)
|
||||||
|
const inputUsername = ref(<any>null)
|
||||||
|
const inputPassword = ref(<any>null)
|
||||||
|
const inputPassword2 = ref(<any>null)
|
||||||
|
|
||||||
|
const checkifDisabled = computed(() => {
|
||||||
|
let ret = true
|
||||||
|
if (slide.value === '1') {
|
||||||
|
// Invitante + Email
|
||||||
|
ret = !signup.email || !v$.value.aportador_solidario || v$.value.aportador_solidario.$invalid || (inputEmail.value && inputEmail.value.hasError)
|
||||||
|
} else if (slide.value === '2') {
|
||||||
|
// Username
|
||||||
|
ret = !signup.username || (inputUsername.value && inputUsername.value.hasError)
|
||||||
|
} else if (slide.value === '3') {
|
||||||
|
// Password
|
||||||
|
ret = !signup.password || (!inputPassword.value && inputPassword.value.hasError) || (!inputPassword2.value && inputPassword2.value.hasError)
|
||||||
|
}
|
||||||
|
|
||||||
|
return ret
|
||||||
|
})
|
||||||
|
|
||||||
const typePassword = ref('password')
|
const typePassword = ref('password')
|
||||||
|
|
||||||
@@ -253,9 +274,6 @@ export default defineComponent({
|
|||||||
countryname.value = name
|
countryname.value = name
|
||||||
}
|
}
|
||||||
|
|
||||||
function inputUsername(value: string) {
|
|
||||||
signup.username = value.trim()
|
|
||||||
}
|
|
||||||
|
|
||||||
async function created() {
|
async function created() {
|
||||||
|
|
||||||
@@ -308,11 +326,16 @@ export default defineComponent({
|
|||||||
// --> content is NOT valid, no error message
|
// --> content is NOT valid, no error message
|
||||||
// resolve(error_message)
|
// resolve(error_message)
|
||||||
// --> content is NOT valid, we have error message
|
// --> content is NOT valid, we have error message
|
||||||
tools.registeredemail(val).then((ris) => {
|
tools.registeredemail(val).then((emailOk) => {
|
||||||
let risp = !!ris || t('reg.err.duplicate_email')
|
let risp = !!emailOk || t('reg.err.duplicate_email')
|
||||||
if (ris) {
|
if (emailOk) {
|
||||||
risp = tools.isEmail(val) || t('reg.err.invalid_email')
|
risp = tools.isEmail(val) || t('reg.err.invalid_email')
|
||||||
|
emailOk = emailOk && tools.isEmail(val)
|
||||||
}
|
}
|
||||||
|
if (emailOk) {
|
||||||
|
risp = !tools.isEmailNoMicroZozz(val) || t('reg.err.invalid_email_micro')
|
||||||
|
}
|
||||||
|
|
||||||
resolve(risp)
|
resolve(risp)
|
||||||
|
|
||||||
})
|
})
|
||||||
@@ -330,7 +353,8 @@ export default defineComponent({
|
|||||||
typePassword.value = typePassword.value === 'password' ? 'text' : 'password'
|
typePassword.value = typePassword.value === 'password' ? 'text' : 'password'
|
||||||
}
|
}
|
||||||
|
|
||||||
function regEventEmail() {
|
function regEventEmail(invited: boolean) {
|
||||||
|
console.log('EVENT RECEIVED: regEventEmail', invited)
|
||||||
// reg
|
// reg
|
||||||
visubuttBOT.value = false
|
visubuttBOT.value = false
|
||||||
needTelegram.value = false
|
needTelegram.value = false
|
||||||
@@ -343,7 +367,6 @@ export default defineComponent({
|
|||||||
changeemail,
|
changeemail,
|
||||||
changeusername,
|
changeusername,
|
||||||
submitOk,
|
submitOk,
|
||||||
inputUsername,
|
|
||||||
selectcountry,
|
selectcountry,
|
||||||
intcode_change,
|
intcode_change,
|
||||||
tools,
|
tools,
|
||||||
@@ -364,6 +387,12 @@ export default defineComponent({
|
|||||||
ap_iniziale,
|
ap_iniziale,
|
||||||
regEventEmail,
|
regEventEmail,
|
||||||
needTelegram,
|
needTelegram,
|
||||||
|
slide,
|
||||||
|
checkifDisabled,
|
||||||
|
inputEmail,
|
||||||
|
inputUsername,
|
||||||
|
inputPassword,
|
||||||
|
inputPassword2,
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -44,36 +44,14 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div v-if="visubuttBOT && needTelegram" class="q-gutter-md">
|
<div v-if="visubuttBOT && needTelegram" class="q-gutter-md">
|
||||||
<q-banner
|
|
||||||
rounded
|
|
||||||
class="bg-green-5 text-white"
|
|
||||||
style="text-align: center"
|
|
||||||
>
|
|
||||||
<div class="q-ma-md">
|
<div class="q-ma-md">
|
||||||
<CRegistration
|
<CRegistration
|
||||||
:invited="signup.aportador_solidario"
|
:invited="signup.aportador_solidario"
|
||||||
:regexpire="regexpire"
|
:regexpire="regexpire"
|
||||||
@regEventEmail="regEventEmail"
|
@regEventEmail="regEventEmail"
|
||||||
|
:signupform="true"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<!--<q-btn
|
|
||||||
rounded
|
|
||||||
color="primary"
|
|
||||||
icon="fab fa-telegram"
|
|
||||||
:label="
|
|
||||||
$t('components.authentication.telegram.regbot', {
|
|
||||||
botname: tools.getBotName(),
|
|
||||||
})
|
|
||||||
"
|
|
||||||
type="a"
|
|
||||||
:href="
|
|
||||||
tools.getLinkBotTelegram(signup.aportador_solidario, regexpire)
|
|
||||||
"
|
|
||||||
target="_blank"
|
|
||||||
></q-btn>-->
|
|
||||||
<br />
|
|
||||||
</div>
|
</div>
|
||||||
</q-banner>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div v-else-if="!isalreadyReg" class="q-gutter-sm q-mt-sm">
|
<div v-else-if="!isalreadyReg" class="q-gutter-sm q-mt-sm">
|
||||||
@@ -94,6 +72,42 @@
|
|||||||
<br /><br />
|
<br /><br />
|
||||||
</div>
|
</div>
|
||||||
<div v-else>
|
<div v-else>
|
||||||
|
<q-carousel
|
||||||
|
v-model="slide"
|
||||||
|
ref="carousel"
|
||||||
|
transition-prev="slide-right"
|
||||||
|
transition-next="slide-left"
|
||||||
|
animated
|
||||||
|
swipeable
|
||||||
|
:class="`shadow-1`"
|
||||||
|
>
|
||||||
|
<template v-slot:control>
|
||||||
|
<q-carousel-control
|
||||||
|
position="bottom-right"
|
||||||
|
:offset="[18, 18]"
|
||||||
|
class="q-gutter-xs"
|
||||||
|
>
|
||||||
|
<q-btn
|
||||||
|
v-if="slide !== '1'"
|
||||||
|
push
|
||||||
|
text-color="black"
|
||||||
|
icon="arrow_left"
|
||||||
|
label="Indietro"
|
||||||
|
@click="$refs.carousel.previous()"
|
||||||
|
/>
|
||||||
|
<q-btn
|
||||||
|
v-if="slide !== '4'"
|
||||||
|
push
|
||||||
|
color="primary"
|
||||||
|
icon="arrow_right"
|
||||||
|
label="Avanti"
|
||||||
|
:disabled="checkifDisabled"
|
||||||
|
@click="$refs.carousel.next()"
|
||||||
|
/>
|
||||||
|
</q-carousel-control>
|
||||||
|
</template>
|
||||||
|
<q-carousel-slide name="1">
|
||||||
|
<div class="">
|
||||||
<q-input
|
<q-input
|
||||||
v-if="
|
v-if="
|
||||||
showaportador &&
|
showaportador &&
|
||||||
@@ -107,7 +121,10 @@
|
|||||||
@blur="v$.aportador_solidario.$touch"
|
@blur="v$.aportador_solidario.$touch"
|
||||||
:error="v$.aportador_solidario.$error"
|
:error="v$.aportador_solidario.$error"
|
||||||
:error-message="
|
:error-message="
|
||||||
tools.errorMsg('aportador_solidario', v$.aportador_solidario)
|
tools.errorMsg(
|
||||||
|
'aportador_solidario',
|
||||||
|
v$.aportador_solidario
|
||||||
|
)
|
||||||
"
|
"
|
||||||
maxlength="20"
|
maxlength="20"
|
||||||
debounce="1000"
|
debounce="1000"
|
||||||
@@ -117,44 +134,33 @@
|
|||||||
<q-icon name="person" />
|
<q-icon name="person" />
|
||||||
</template>
|
</template>
|
||||||
</q-input>
|
</q-input>
|
||||||
|
<div style="margin-top:5px;"></div>
|
||||||
<!--<q-input
|
|
||||||
v-model="signup.email"
|
|
||||||
rounded outlined
|
|
||||||
@blur="v$.email.$touch"
|
|
||||||
@update:model-value="changeemail()"
|
|
||||||
:error="v$.email.$invalid"
|
|
||||||
:error-message="tools.errorMsg( 'email', v$.email)"
|
|
||||||
maxlength="50"
|
|
||||||
debounce="2000"
|
|
||||||
:label="$t('reg.email')">
|
|
||||||
|
|
||||||
<template v-slot:prepend>
|
|
||||||
<q-icon name="email"/>
|
|
||||||
</template>
|
|
||||||
|
|
||||||
</q-input> -->
|
|
||||||
|
|
||||||
<q-input
|
<q-input
|
||||||
|
ref="inputEmail"
|
||||||
v-model="signup.email"
|
v-model="signup.email"
|
||||||
rounded
|
rounded
|
||||||
outlined
|
outlined
|
||||||
@update:model-value="changeemail()"
|
@update:model-value="changeemail()"
|
||||||
maxlength="50"
|
maxlength="50"
|
||||||
debounce="3000"
|
debounce="2000"
|
||||||
:rules="[myRuleEmail]"
|
:rules="[myRuleEmail]"
|
||||||
lazy-rules
|
|
||||||
:label="$t('reg.email_reg')"
|
:label="$t('reg.email_reg')"
|
||||||
>
|
>
|
||||||
<template v-slot:prepend>
|
<template v-slot:prepend>
|
||||||
<q-icon name="email" />
|
<q-icon name="email" />
|
||||||
</template>
|
</template>
|
||||||
</q-input>
|
</q-input>
|
||||||
|
</div>
|
||||||
|
</q-carousel-slide>
|
||||||
|
<q-carousel-slide name="2">
|
||||||
|
<div class="cosa_chiedere">{{ $t('reg.scegli_username') }}</div>
|
||||||
<q-input
|
<q-input
|
||||||
|
ref="inputUsername"
|
||||||
v-model="signup.username"
|
v-model="signup.username"
|
||||||
:readonly="
|
:readonly="
|
||||||
tools.getAskToVerifyReg() && !site.confpages.enableRegMultiChoice
|
tools.getAskToVerifyReg() &&
|
||||||
|
!site.confpages.enableRegMultiChoice
|
||||||
"
|
"
|
||||||
rounded
|
rounded
|
||||||
outlined
|
outlined
|
||||||
@@ -163,7 +169,7 @@
|
|||||||
:error="v$.username.$error"
|
:error="v$.username.$error"
|
||||||
@keydown.space="(event) => event.preventDefault()"
|
@keydown.space="(event) => event.preventDefault()"
|
||||||
maxlength="20"
|
maxlength="20"
|
||||||
debounce="1000"
|
debounce="500"
|
||||||
:error-message="
|
:error-message="
|
||||||
tools.errorMsg('username', v$.username) ||
|
tools.errorMsg('username', v$.username) ||
|
||||||
(isalreadyReg ? 'L\'Username è gia stato registrato!' : '')
|
(isalreadyReg ? 'L\'Username è gia stato registrato!' : '')
|
||||||
@@ -208,8 +214,11 @@
|
|||||||
</template>
|
</template>
|
||||||
</q-input>
|
</q-input>
|
||||||
</div>
|
</div>
|
||||||
|
</q-carousel-slide>
|
||||||
|
<q-carousel-slide name="3">
|
||||||
|
<div class="cosa_chiedere">{{ $t('reg.scegli_password') }}</div>
|
||||||
<q-input
|
<q-input
|
||||||
|
ref="inputPassword"
|
||||||
v-model="signup.password"
|
v-model="signup.password"
|
||||||
:type="typePassword"
|
:type="typePassword"
|
||||||
rounded
|
rounded
|
||||||
@@ -239,6 +248,7 @@
|
|||||||
</q-input>
|
</q-input>
|
||||||
|
|
||||||
<q-input
|
<q-input
|
||||||
|
ref="inputPassword2"
|
||||||
v-model="signup.repeatPassword"
|
v-model="signup.repeatPassword"
|
||||||
:type="typePassword"
|
:type="typePassword"
|
||||||
maxlength="30"
|
maxlength="30"
|
||||||
@@ -268,7 +278,8 @@
|
|||||||
<q-icon name="vpn_key" />
|
<q-icon name="vpn_key" />
|
||||||
</template>
|
</template>
|
||||||
</q-input>
|
</q-input>
|
||||||
|
</q-carousel-slide>
|
||||||
|
<q-carousel-slide name="4">
|
||||||
<q-input
|
<q-input
|
||||||
v-if="shownationality"
|
v-if="shownationality"
|
||||||
v-model="countryname"
|
v-model="countryname"
|
||||||
@@ -301,7 +312,10 @@
|
|||||||
</vue-tel-input>-->
|
</vue-tel-input>-->
|
||||||
|
|
||||||
<div class="text-center">
|
<div class="text-center">
|
||||||
<q-btn label="Mostra Privacy" @click="showpolicy = true"></q-btn>
|
<q-btn
|
||||||
|
label="Mostra Privacy"
|
||||||
|
@click="showpolicy = true"
|
||||||
|
></q-btn>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<q-dialog v-model="showpolicy">
|
<q-dialog v-model="showpolicy">
|
||||||
@@ -367,6 +381,7 @@
|
|||||||
</q-btn>
|
</q-btn>
|
||||||
</div>
|
</div>
|
||||||
<br />
|
<br />
|
||||||
|
<!--
|
||||||
Già registrato?
|
Già registrato?
|
||||||
<q-btn
|
<q-btn
|
||||||
class="q-ma-sm"
|
class="q-ma-sm"
|
||||||
@@ -378,6 +393,22 @@
|
|||||||
size="sm"
|
size="sm"
|
||||||
></q-btn>
|
></q-btn>
|
||||||
<br /><br /><br />
|
<br /><br /><br />
|
||||||
|
-->
|
||||||
|
</q-carousel-slide>
|
||||||
|
</q-carousel>
|
||||||
|
|
||||||
|
<div class="row justify-center">
|
||||||
|
<q-btn-toggle
|
||||||
|
glossy
|
||||||
|
v-model="slide"
|
||||||
|
:options="[
|
||||||
|
{ label: 1, value: '1' },
|
||||||
|
{ label: 2, value: '2' },
|
||||||
|
{ label: 3, value: '3' },
|
||||||
|
{ label: 4, value: '4' },
|
||||||
|
]"
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div v-else-if="isalreadyReg">
|
<div v-else-if="isalreadyReg">
|
||||||
|
|||||||
@@ -24,6 +24,11 @@ export default defineComponent({
|
|||||||
type: String,
|
type: String,
|
||||||
required: false
|
required: false
|
||||||
},
|
},
|
||||||
|
showBarSelection: {
|
||||||
|
type: Boolean,
|
||||||
|
required: false,
|
||||||
|
default: true
|
||||||
|
},
|
||||||
},
|
},
|
||||||
setup(props, { emit }) {
|
setup(props, { emit }) {
|
||||||
|
|
||||||
|
|||||||
@@ -16,6 +16,7 @@
|
|||||||
v-else
|
v-else
|
||||||
>
|
>
|
||||||
<CBarSelection
|
<CBarSelection
|
||||||
|
v-if="showBarSelection"
|
||||||
:myicon="myicon"
|
:myicon="myicon"
|
||||||
:mytitle="mytitle"
|
:mytitle="mytitle"
|
||||||
:mycolor="mycolor"
|
:mycolor="mycolor"
|
||||||
|
|||||||
@@ -9,9 +9,9 @@ export default defineComponent({
|
|||||||
name: 'Logo',
|
name: 'Logo',
|
||||||
props: {
|
props: {
|
||||||
mystyle: {
|
mystyle: {
|
||||||
type: Boolean,
|
type: String,
|
||||||
required: false,
|
required: false,
|
||||||
default: false,
|
default: '',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
@@ -7,8 +7,7 @@
|
|||||||
<q-badge v-if="num_notifs_unread > 0" floating color="red">{{ num_notifs_unread }}</q-badge>
|
<q-badge v-if="num_notifs_unread > 0" floating color="red">{{ num_notifs_unread }}</q-badge>
|
||||||
</q-btn>
|
</q-btn>
|
||||||
|
|
||||||
|
<q-drawer v-model="open" side="right" elevated
|
||||||
<q-drawer v-model="open" side="right" elevated class="text-black"
|
|
||||||
:overlay="true"
|
:overlay="true"
|
||||||
:breakpoint="1200"
|
:breakpoint="1200"
|
||||||
:width="q.screen.lt.sm ? tools.getwidth($q) : 450"
|
:width="q.screen.lt.sm ? tools.getwidth($q) : 450"
|
||||||
@@ -41,13 +40,15 @@
|
|||||||
<CMyCircuits
|
<CMyCircuits
|
||||||
v-model="filter"
|
v-model="filter"
|
||||||
:finder="true"
|
:finder="true"
|
||||||
:showfinder="true"
|
:showfinder="false"
|
||||||
|
:showBarSelection="false"
|
||||||
>
|
>
|
||||||
|
|
||||||
<CFinder
|
<CFinder
|
||||||
:table="toolsext.TABCIRCUITS"
|
:table="toolsext.TABCIRCUITS"
|
||||||
:noButtAdd="true"
|
:noButtAdd="true"
|
||||||
:showFilterPersonal="false"
|
:showFilterPersonal="false"
|
||||||
|
:showBarSelection="false"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
</CMyCircuits>
|
</CMyCircuits>
|
||||||
|
|||||||
@@ -521,6 +521,8 @@ const msg_it = {
|
|||||||
surname: 'Cognome',
|
surname: 'Cognome',
|
||||||
surname_opt: 'Cognome (facoltativo)',
|
surname_opt: 'Cognome (facoltativo)',
|
||||||
username_login: 'Username o email',
|
username_login: 'Username o email',
|
||||||
|
scegli_username: 'Inserisci un nome utente per il tuo Profilo:',
|
||||||
|
scegli_password: 'Inserisci una Nuova password per accedere alla piattaforma:',
|
||||||
password: 'Password',
|
password: 'Password',
|
||||||
password_reg: 'Scegli una nuova Password',
|
password_reg: 'Scegli una nuova Password',
|
||||||
repeatPassword: 'Ripeti password',
|
repeatPassword: 'Ripeti password',
|
||||||
@@ -599,6 +601,7 @@ const msg_it = {
|
|||||||
code_resetpwd_error: 'Il codice inserito non è corretto.',
|
code_resetpwd_error: 'Il codice inserito non è corretto.',
|
||||||
duplicate_email: 'l\'Email è già stata registrata',
|
duplicate_email: 'l\'Email è già stata registrata',
|
||||||
invalid_email: 'l\'Email non è valida',
|
invalid_email: 'l\'Email non è valida',
|
||||||
|
invalid_email_micro: 'Questa tipo di email non è funzionante sui nostri server. Si consiglia di usare Gmail o altra casella.',
|
||||||
user_already_exist: 'La registrazione con questi dati (nome, cognome e cellulare) è stata già effettuata. Per accedere al sito, cliccare sul bottone LOGIN dalla HomePage.',
|
user_already_exist: 'La registrazione con questi dati (nome, cognome e cellulare) è stata già effettuata. Per accedere al sito, cliccare sul bottone LOGIN dalla HomePage.',
|
||||||
user_extralist_not_found: 'Utente in archivio non trovato, inserire il Nome, Cognome e numero di cellulare comunicato nella lista nel 2019. Se questa è una nuova registrazione, dovete registrarvi tramite il LINK di chi vi sta invitando.',
|
user_extralist_not_found: 'Utente in archivio non trovato, inserire il Nome, Cognome e numero di cellulare comunicato nella lista nel 2019. Se questa è una nuova registrazione, dovete registrarvi tramite il LINK di chi vi sta invitando.',
|
||||||
user_aportador_not_valid: 'Il link di registrazione non sembra risultare valido.',
|
user_aportador_not_valid: 'Il link di registrazione non sembra risultare valido.',
|
||||||
@@ -802,6 +805,7 @@ const msg_it = {
|
|||||||
message: 'Messaggio',
|
message: 'Messaggio',
|
||||||
messages: 'Messaggi',
|
messages: 'Messaggi',
|
||||||
nomessage: 'Nessun Messaggio',
|
nomessage: 'Nessun Messaggio',
|
||||||
|
send_email: 'Invia Email',
|
||||||
},
|
},
|
||||||
notifs: {
|
notifs: {
|
||||||
all: 'Tutte',
|
all: 'Tutte',
|
||||||
@@ -1171,12 +1175,10 @@ const msg_it = {
|
|||||||
durata_deper: 'Durata Dep.',
|
durata_deper: 'Durata Dep.',
|
||||||
img_logo: 'NomeFile Logo',
|
img_logo: 'NomeFile Logo',
|
||||||
regulation: 'Regolamento',
|
regulation: 'Regolamento',
|
||||||
disclaimer: 'Questo Strumento vuole essere un\'aiuto per contabilizzare gli scambi tra utenti. ' +
|
disclaimer: 'Lo scopo di questo strumento è quello di aiutare a contabilizzare gli scambi tra i vari gruppi territoriali. ' +
|
||||||
'Consigliamo vivamente di scaricarsi con frequenza la lista dei movimenti degli utenti (bottone "Esporta"), per ogni possibile evento imprevisto ' +
|
'La responsabilità di come verrà utilizzato, sarà di ognuno di noi.',
|
||||||
'(Server inaccessibile, ecc..) declinando così il creatore della APP da ogni responsabilità su come' +
|
|
||||||
'verrà utilizzata dal gruppo. ',
|
|
||||||
acceptregulation: 'Accetta il Regolamento',
|
acceptregulation: 'Accetta il Regolamento',
|
||||||
domanda_ask: 'Chiedere l\'invito al Circuito {circuitname} accettando il suo Regolamento?',
|
domanda_ask: 'Confermi di voler entrare nel Circuito {circuitname} accettando il suo Regolamento?',
|
||||||
domanda_revoke: 'Revocare la richiesta al Circuito {circuitname}?',
|
domanda_revoke: 'Revocare la richiesta al Circuito {circuitname}?',
|
||||||
askedto: 'Chiesto l\'invito al Circuito {circuitname}',
|
askedto: 'Chiesto l\'invito al Circuito {circuitname}',
|
||||||
revoketo: 'Revocato la richiesta d\'invito al Circuito {circuitname}',
|
revoketo: 'Revocato la richiesta d\'invito al Circuito {circuitname}',
|
||||||
|
|||||||
@@ -188,7 +188,7 @@ export const costanti = {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
visible: false,
|
visible: false,
|
||||||
title: 'Gruppi',
|
title: 'Gruppi', // ! IND_MYGROUPS
|
||||||
to: '/groups',
|
to: '/groups',
|
||||||
table: 'mygroups',
|
table: 'mygroups',
|
||||||
icon: 'fas fa-users',
|
icon: 'fas fa-users',
|
||||||
@@ -199,7 +199,7 @@ export const costanti = {
|
|||||||
visuonstat: true,
|
visuonstat: true,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
visible: false,
|
visible: false, // ! IND_CIRCUIT: 11,
|
||||||
title: 'Circuiti',
|
title: 'Circuiti',
|
||||||
to: '/circuits',
|
to: '/circuits',
|
||||||
table: 'circuits',
|
table: 'circuits',
|
||||||
@@ -212,6 +212,10 @@ export const costanti = {
|
|||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
|
||||||
|
|
||||||
|
IND_CIRCUIT: 11,
|
||||||
|
IND_MYGROUPS: 10,
|
||||||
|
|
||||||
BINARY_CHECK: 1,
|
BINARY_CHECK: 1,
|
||||||
|
|
||||||
VISUTABLE_LISTA: 2,
|
VISUTABLE_LISTA: 2,
|
||||||
|
|||||||
@@ -5382,6 +5382,7 @@ export const tools = {
|
|||||||
return res.status !== PayloadMessageTypes.statusfound
|
return res.status !== PayloadMessageTypes.statusfound
|
||||||
}
|
}
|
||||||
|
|
||||||
|
console.log('registeredemail', email)
|
||||||
return Axios.post(VALIDATE_USER_URL, { idapp: process.env.APP_ID, email, key: process.env.PAO_APP_ID })
|
return Axios.post(VALIDATE_USER_URL, { idapp: process.env.APP_ID, email, key: process.env.PAO_APP_ID })
|
||||||
.then(onSuccess)
|
.then(onSuccess)
|
||||||
.catch((err) => {
|
.catch((err) => {
|
||||||
@@ -5392,6 +5393,7 @@ export const tools = {
|
|||||||
|
|
||||||
async registeredusername(username: string) {
|
async registeredusername(username: string) {
|
||||||
|
|
||||||
|
console.log('registeredusername', username)
|
||||||
const VALIDATE_USER_URL = tools.getServerHost() + ''
|
const VALIDATE_USER_URL = tools.getServerHost() + ''
|
||||||
|
|
||||||
let onSuccess = (res: AxiosResponse) => {
|
let onSuccess = (res: AxiosResponse) => {
|
||||||
@@ -7368,6 +7370,14 @@ export const tools = {
|
|||||||
return name
|
return name
|
||||||
},
|
},
|
||||||
|
|
||||||
|
isEmailNoMicroZozz(myemail: string) {
|
||||||
|
|
||||||
|
return myemail.search(/hotmail/i) !== -1
|
||||||
|
|| myemail.search(/yahoo/i) !== -1
|
||||||
|
|| myemail.search(/outlook/i) !== -1
|
||||||
|
|| myemail.search(/live.it/i) !== -1
|
||||||
|
|| myemail.search(/microsoft/i) !== -1
|
||||||
|
},
|
||||||
|
|
||||||
getoptionsMainCards(only: boolean) {
|
getoptionsMainCards(only: boolean) {
|
||||||
let myarr = []
|
let myarr = []
|
||||||
|
|||||||
@@ -3,10 +3,15 @@ import { default as Axios, AxiosResponse } from 'axios'
|
|||||||
import { GlobalConfig, PayloadMessageTypes } from '../common'
|
import { GlobalConfig, PayloadMessageTypes } from '../common'
|
||||||
import { tools } from '../store/Modules/tools'
|
import { tools } from '../store/Modules/tools'
|
||||||
|
|
||||||
|
import { helpers } from '@vuelidate/validators'
|
||||||
|
const { withAsync } = helpers
|
||||||
|
|
||||||
// const SITE_URL = GlobalConfig.uri.site
|
// const SITE_URL = GlobalConfig.uri.site
|
||||||
const VALIDATE_USER_URL = process.env.MONGODB_HOST + '/users/'
|
const VALIDATE_USER_URL = process.env.MONGODB_HOST + '/users/'
|
||||||
|
|
||||||
export function aportadorexist(userName: string) {
|
export const aportadorexist = withAsync(_aportadorexist)
|
||||||
|
|
||||||
|
export function _aportadorexist(userName: string) {
|
||||||
if (userName === tools.APORTADOR_NONE)
|
if (userName === tools.APORTADOR_NONE)
|
||||||
return true
|
return true
|
||||||
|
|
||||||
|
|||||||
@@ -696,23 +696,10 @@
|
|||||||
<q-btn flat round color="white" icon="close" v-close-popup></q-btn>
|
<q-btn flat round color="white" icon="close" v-close-popup></q-btn>
|
||||||
</q-toolbar>
|
</q-toolbar>
|
||||||
<q-card-section class="inset-shadow">
|
<q-card-section class="inset-shadow">
|
||||||
<q-banner
|
|
||||||
rounded
|
|
||||||
class="bg-green text-white"
|
|
||||||
style="text-align: center"
|
|
||||||
>
|
|
||||||
<em style="font-weight: bold">Disclaimer:</em><br />
|
|
||||||
</q-banner>
|
|
||||||
<div v-html="t('circuit.disclaimer')"></div>
|
<div v-html="t('circuit.disclaimer')"></div>
|
||||||
</q-card-section>
|
</q-card-section>
|
||||||
<q-card-section class="inset-shadow">
|
<q-card-section class="inset-shadow">
|
||||||
<q-banner
|
<div style="font-weight: bold; font-size: 1.25rem;">Regolamento:</div>
|
||||||
rounded
|
|
||||||
class="bg-green text-white"
|
|
||||||
style="text-align: center"
|
|
||||||
>
|
|
||||||
<em style="font-weight: bold">Regolamento interno:</em><br />
|
|
||||||
</q-banner>
|
|
||||||
<div v-html="circuit.regulation"></div>
|
<div v-html="circuit.regulation"></div>
|
||||||
</q-card-section>
|
</q-card-section>
|
||||||
<q-card-actions align="center">
|
<q-card-actions align="center">
|
||||||
@@ -732,10 +719,8 @@
|
|||||||
"
|
"
|
||||||
/>
|
/>
|
||||||
<q-btn
|
<q-btn
|
||||||
flat
|
outline
|
||||||
round
|
:label="$t('dialog.cancel')"
|
||||||
color="negative"
|
|
||||||
:label="$t('friends.refuse')"
|
|
||||||
icon="close"
|
icon="close"
|
||||||
v-close-popup
|
v-close-popup
|
||||||
></q-btn>
|
></q-btn>
|
||||||
|
|||||||
@@ -4,12 +4,15 @@
|
|||||||
<CMyCircuits
|
<CMyCircuits
|
||||||
v-model="filter"
|
v-model="filter"
|
||||||
:finder="true"
|
:finder="true"
|
||||||
>
|
:showfinder="true"
|
||||||
|
:showBarSelection="true"
|
||||||
|
>
|
||||||
|
|
||||||
<CFinder
|
<CFinder
|
||||||
:table="toolsext.TABCIRCUITS"
|
:table="toolsext.TABCIRCUITS"
|
||||||
:noButtAdd="!tools.isManager()"
|
:noButtAdd="!tools.isManager()"
|
||||||
:showFilterPersonal="true"
|
:showFilterPersonal="true"
|
||||||
|
:showBarSelection="true"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
</CMyCircuits>
|
</CMyCircuits>
|
||||||
|
|||||||
@@ -266,6 +266,27 @@
|
|||||||
target="__blank"
|
target="__blank"
|
||||||
>
|
>
|
||||||
</q-btn>
|
</q-btn>
|
||||||
|
<div v-else-if="myuser.email" class="row">
|
||||||
|
<CLabel
|
||||||
|
v-bind="$attrs"
|
||||||
|
:copy="true"
|
||||||
|
:value="myuser.email"
|
||||||
|
:label="$t('reg.email')"
|
||||||
|
/>
|
||||||
|
|
||||||
|
<q-btn
|
||||||
|
|
||||||
|
outline
|
||||||
|
icon="fas fa-envelope"
|
||||||
|
color="black"
|
||||||
|
type="a"
|
||||||
|
size="md"
|
||||||
|
:label="$t('msgs.send_email')"
|
||||||
|
:href="tools.getemailto(myuser.email)"
|
||||||
|
target="__blank"
|
||||||
|
>
|
||||||
|
</q-btn>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-6 col-sm-6 q-ma-xs col-xs-12">
|
<div class="col-md-6 col-sm-6 q-ma-xs col-xs-12">
|
||||||
<q-btn
|
<q-btn
|
||||||
|
|||||||
Reference in New Issue
Block a user