Site Configuration by Server Params (confsites and confpages)
This commit is contained in:
@@ -1,24 +1,29 @@
|
||||
<template>
|
||||
<div class="q-gutter-sm q-pa-xs q-pb-md">
|
||||
|
||||
<CTitleBanner
|
||||
class="q-pa-xs" :title="$t('pages.profile')" bgcolor="bg-primary" clcolor="text-white"
|
||||
myclass="myshad" :canopen="true">
|
||||
|
||||
class="q-pa-xs"
|
||||
:title="$t('pages.profile')"
|
||||
bgcolor="bg-primary"
|
||||
clcolor="text-white"
|
||||
myclass="myshad"
|
||||
:canopen="true"
|
||||
>
|
||||
<div class="column">
|
||||
<div class="myrow">
|
||||
<div v-if="static_data.functionality.SHOW_NAMESURNAME">
|
||||
<div v-if="site.confpages.showNameSurname">
|
||||
<CMyFieldDb
|
||||
:title="$t('reg.name')"
|
||||
table="users"
|
||||
mykey="name"
|
||||
:type="costanti.FieldType.string">
|
||||
:type="costanti.FieldType.string"
|
||||
>
|
||||
</CMyFieldDb>
|
||||
<CMyFieldDb
|
||||
:title="$t('reg.surname')"
|
||||
table="users"
|
||||
mykey="surname"
|
||||
:type="costanti.FieldType.string">
|
||||
:type="costanti.FieldType.string"
|
||||
>
|
||||
</CMyFieldDb>
|
||||
</div>
|
||||
</div>
|
||||
@@ -29,14 +34,16 @@
|
||||
mykey="username"
|
||||
:disable="true"
|
||||
:readonly="true"
|
||||
:type="costanti.FieldType.string">
|
||||
:type="costanti.FieldType.string"
|
||||
>
|
||||
</CMyFieldDb>
|
||||
<CMyFieldDb
|
||||
:title="$t('reg.username_telegram')"
|
||||
table="users"
|
||||
mykey="profile"
|
||||
mysubkey="username_telegram"
|
||||
:type="costanti.FieldType.string">
|
||||
:type="costanti.FieldType.string"
|
||||
>
|
||||
</CMyFieldDb>
|
||||
</div>
|
||||
<div class="myrow">
|
||||
@@ -45,18 +52,20 @@
|
||||
table="users"
|
||||
mykey="email"
|
||||
:disable="true"
|
||||
:type="costanti.FieldType.string">
|
||||
:type="costanti.FieldType.string"
|
||||
>
|
||||
</CMyFieldDb>
|
||||
<CMyFieldDb
|
||||
:title="$t('reg.website')"
|
||||
table="users"
|
||||
mykey="profile"
|
||||
mysubkey="website"
|
||||
:type="costanti.FieldType.string">
|
||||
:type="costanti.FieldType.string"
|
||||
>
|
||||
</CMyFieldDb>
|
||||
</div>
|
||||
|
||||
<br/>
|
||||
<br />
|
||||
<div class="myrow justify-center">
|
||||
<q-btn
|
||||
push
|
||||
@@ -65,14 +74,13 @@
|
||||
text-color="blue"
|
||||
size="md"
|
||||
to="/requestresetpwd"
|
||||
:label="$t('reg.modificapassword')">
|
||||
:label="$t('reg.modificapassword')"
|
||||
>
|
||||
</q-btn>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</CTitleBanner>
|
||||
|
||||
|
||||
<!--
|
||||
<CTitleBanner
|
||||
class="q-pa-xs" title="Competenze Personali (Offerte)" bgcolor="bg-primary" clcolor="text-white"
|
||||
@@ -88,16 +96,21 @@
|
||||
-->
|
||||
|
||||
<CTitleBanner
|
||||
class="q-pa-xs" title="Informazioni su di te" bgcolor="bg-primary" clcolor="text-white"
|
||||
myclass="myshad" :canopen="true">
|
||||
|
||||
class="q-pa-xs"
|
||||
title="Informazioni su di te"
|
||||
bgcolor="bg-primary"
|
||||
clcolor="text-white"
|
||||
myclass="myshad"
|
||||
:canopen="true"
|
||||
>
|
||||
<div class="myrow">
|
||||
<CMyFieldDb
|
||||
:title="$t('reg.photo')"
|
||||
table="users"
|
||||
mykey="profile"
|
||||
mysubkey="img"
|
||||
:type="costanti.FieldType.image">
|
||||
:type="costanti.FieldType.image"
|
||||
>
|
||||
</CMyFieldDb>
|
||||
</div>
|
||||
|
||||
@@ -106,9 +119,10 @@
|
||||
table="users"
|
||||
mykey="profile"
|
||||
mysubkey="qualifica"
|
||||
maxlength="100"
|
||||
:maxlength="100"
|
||||
:showall="true"
|
||||
:type="costanti.FieldType.string">
|
||||
:type="costanti.FieldType.string"
|
||||
>
|
||||
</CMyFieldDb>
|
||||
|
||||
<CMyFieldDb
|
||||
@@ -116,10 +130,11 @@
|
||||
table="users"
|
||||
mykey="profile"
|
||||
mysubkey="biografia"
|
||||
maxlength="1000"
|
||||
:maxlength="1000"
|
||||
hint="Scrivi chi sei e quale percorso formativo hai fatto"
|
||||
:showall="true"
|
||||
:type="costanti.FieldType.string">
|
||||
:type="costanti.FieldType.string"
|
||||
>
|
||||
</CMyFieldDb>
|
||||
|
||||
<div class="myrow">
|
||||
@@ -131,7 +146,8 @@
|
||||
:useinput="false"
|
||||
mysubkey="nationality"
|
||||
:pickup="true"
|
||||
:type="costanti.FieldType.nationality">
|
||||
:type="costanti.FieldType.nationality"
|
||||
>
|
||||
</CMyFieldDb>
|
||||
|
||||
<!--
|
||||
@@ -151,7 +167,7 @@
|
||||
-->
|
||||
|
||||
<CMyFieldRec
|
||||
:title="t('reg.born_city')"
|
||||
:title="$t('reg.born_city')"
|
||||
table="users"
|
||||
tablesel="cities"
|
||||
:id="myuser._id"
|
||||
@@ -159,22 +175,21 @@
|
||||
field="profile.born_city_id"
|
||||
:sameclassasfielddb="true"
|
||||
:canEdit="true"
|
||||
:canModify="true">
|
||||
:canModify="true"
|
||||
>
|
||||
</CMyFieldRec>
|
||||
|
||||
|
||||
|
||||
<CMyFieldDb
|
||||
:title="$t('reg.dateofbirth')"
|
||||
table="users"
|
||||
mykey="profile"
|
||||
mysubkey="dateofbirth"
|
||||
:type="costanti.FieldType.date">
|
||||
:type="costanti.FieldType.date"
|
||||
>
|
||||
</CMyFieldDb>
|
||||
</div>
|
||||
|
||||
<div class="myrow">
|
||||
|
||||
<CMyFieldDb
|
||||
:title="$t('reg.intcode_cell')"
|
||||
table="users"
|
||||
@@ -182,18 +197,18 @@
|
||||
mysubkey="intcode_cell"
|
||||
:type="costanti.FieldType.intcode"
|
||||
tablesel="phones"
|
||||
:pickup="true">
|
||||
:pickup="true"
|
||||
>
|
||||
</CMyFieldDb>
|
||||
<CMyFieldDb
|
||||
:title="$t('reg.cell')"
|
||||
table="users"
|
||||
mykey="profile"
|
||||
mysubkey="cell"
|
||||
:type="costanti.FieldType.string">
|
||||
:type="costanti.FieldType.string"
|
||||
>
|
||||
</CMyFieldDb>
|
||||
</div>
|
||||
|
||||
|
||||
</CTitleBanner>
|
||||
|
||||
<!--
|
||||
@@ -328,12 +343,17 @@
|
||||
</CTitleBanner>
|
||||
-->
|
||||
|
||||
<br><br>
|
||||
<br /><br />
|
||||
<div class="text-center">
|
||||
<q-btn rounded size="md" color="negative" @click="eliminaAccount" :label="$t('reg.cancella_account')">
|
||||
<q-btn
|
||||
rounded
|
||||
size="md"
|
||||
color="negative"
|
||||
@click="eliminaAccount"
|
||||
:label="$t('reg.cancella_account')"
|
||||
>
|
||||
</q-btn>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</template>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user