{{ rec.alt }}
@@ -61,7 +61,7 @@
@@ -14,10 +14,10 @@
-
+
-
+
@@ -64,10 +64,10 @@
-
{{
- getValDb('MAIN_EMAIL', false)
+ {{
+ site.contacts.email
}}
-
+
diff --git a/src/components/index.ts b/src/components/index.ts
index 06a55e8c..98eb3f28 100755
--- a/src/components/index.ts
+++ b/src/components/index.ts
@@ -15,6 +15,7 @@ export * from './CMyAvatar'
export * from './CMyCart'
export * from './CMyFieldDb'
export * from './CMyFieldRec'
+export * from './CImgPoster'
export * from './CSelectImage'
export * from './CMyPage'
export * from './CMyPageElem'
diff --git a/src/css/app.scss b/src/css/app.scss
index 0eaaefec..061d1925 100755
--- a/src/css/app.scss
+++ b/src/css/app.scss
@@ -10,6 +10,7 @@ body {
.text-mycol {
color: #333333 !important;
}
+
.bg-mycol {
background: #333333 !important;
}
@@ -34,6 +35,7 @@ ul li::before {
display: inline-block;
width: 1em;
margin-left: 20px;
+
@media (max-width: 600px) {
margin-left: 5px;
}
@@ -44,6 +46,7 @@ ol li::before {
display: inline-block;
width: 1em;
margin-left: 20px;
+
@media (max-width: 600px) {
margin-left: 5px;
}
@@ -52,6 +55,7 @@ ol li::before {
li {
/*color: #2f2c8b;*/
font-size: 18px;
+
@media (max-width: 600px) {
font-size: 1rem;
}
@@ -70,6 +74,7 @@ h1 {
max-height: 250px;
max-width: 250px;
+
@media (max-width: 718px) {
max-height: 180px;
max-width: 180px;
@@ -99,24 +104,26 @@ $heightBtn: 100%;
//flex: 0 0 100%;
}
-.fade-enter-active, .fade-leave-active {
+.fade-enter-active,
+.fade-leave-active {
transition: opacity .2s;
}
-.fade-enter, .fade-leave-to /* .fade-leave-active below version 2.1.8 */
-{
+.fade-enter,
+.fade-leave-to
+
+/* .fade-leave-active below version 2.1.8 */
+ {
opacity: 0;
}
-.slide-enter {
-}
+.slide-enter {}
.slide-enter-active {
animation: slide-in 0.2s ease-out forwards;
}
-.slide-leave {
-}
+.slide-leave {}
.slide-leave-active {
animation: slide-out 0.5s ease-out forwards;
@@ -126,6 +133,7 @@ $heightBtn: 100%;
from {
transform: translateX(-500px);
}
+
to {
transform: translateX(0);
}
@@ -186,7 +194,8 @@ $heightBtn: 100%;
}
}
-.links, .links a {
+.links,
+.links a {
text-shadow: 1px 1px 1px #555 !important;
// font-weight: bold;
color: cornflowerblue !important;
@@ -196,13 +205,15 @@ $heightBtn: 100%;
color: white !important;
}
-.text-subtitle1, h2 {
+.text-subtitle1,
+h2 {
margin-bottom: 6px;
font-size: 1.35rem;
font-weight: 400;
line-height: 1.75rem;
text-shadow: .25 .25rem .5rem $grayshadow;
letter-spacing: .00937em;
+
&.big {
font-size: 1.5rem;
}
@@ -214,12 +225,14 @@ $heightBtn: 100%;
font-weight: 400;
text-shadow: .25 .25rem .5rem $grayshadow;
letter-spacing: .00937em;
+
&.big {
font-size: 1.5rem;
}
}
-.text-subtitle2, h3 {
+.text-subtitle2,
+h3 {
margin-bottom: 4px;
font-size: 1.15rem;
font-weight: 400;
@@ -263,9 +276,11 @@ $heightBtn: 100%;
.text-subtitle1 {
font-size: 1.25rem;
}
+
.text-subtitle2 {
font-size: 1rem;
}
+
.text-subtitle3 {
font-size: 0.75rem;
}
@@ -281,6 +296,7 @@ $heightBtn: 100%;
.text-big {
font-size: 1.25rem;
}
+
.text-sobig {
font-size: 1.50rem;
}
@@ -291,10 +307,12 @@ $heightBtn: 100%;
max-width: 400px;
min-width: 250px;
padding: 1rem 1rem;
+
@media (max-width: 500px) {
max-width: 400px;
min-width: 250px;
}
+
// box-shadow: none;
}
@@ -355,7 +373,11 @@ $heightBtn: 100%;
font-family: "Lucida Calligraphy", serif;
}
-.cltexth3, .cltexth2, .cltexth4, .cltexth5, .cltexth6 {
+.cltexth3,
+.cltexth2,
+.cltexth4,
+.cltexth5,
+.cltexth6 {
font-size: 1.25rem;
font-weight: 400;
line-height: 1.75rem;
@@ -379,7 +401,9 @@ $heightBtn: 100%;
font-size: 1.5rem;
}
-.boldhigh, .boldop, .text-big {
+.boldhigh,
+.boldop,
+.text-big {
font-weight: 500;
text-shadow: .05rem .05rem .05rem $grayshadow;
}
@@ -413,39 +437,18 @@ $heightBtn: 100%;
}
@media (max-width: 3000px) {
- .q-parallax__media > img, .myclimg {
- max-height: 800px !important;
- min-width: inherit !important;
- min-height: inherit !important;
- }
- .myclimg, .maxwidth {
+
+ .myclimg,
+ .maxwidth {
height: 750px !important;
}
}
-@media (max-width: 1600px) {
- .q-parallax__media > img, .myclimg {
- max-height: 800px !important;
- min-width: inherit !important;
- min-height: inherit !important;
- }
-}
-
-@media (max-width: 1400px) {
- .q-parallax__media > img, .myclimg {
- max-height: 800px !important;
- min-width: inherit !important;
- min-height: inherit !important;
- }
-}
@media (max-width: 1200px) {
- .q-parallax__media > img, .myclimg {
- max-height: 800px !important;
- min-width: inherit !important;
- min-height: inherit !important;
- }
- .myclimg, .maxwidth {
+
+ .myclimg,
+ .maxwidth {
height: 700px !important;
}
}
@@ -455,45 +458,33 @@ $heightBtn: 100%;
}
@media (max-width: 1000px) {
- .q-parallax__media > img, .myclimg {
- max-height: 700px !important;
- min-width: inherit !important;
- min-height: inherit !important;
- }
- .myclimg, .maxwidth {
+
+ .myclimg,
+ .maxwidth {
height: 650px !important;
}
}
@media (max-width: 800px) {
- .q-parallax__media > img, .myclimg {
- max-height: 600px !important;
- min-width: inherit !important;
- min-height: inherit !important;
- }
- .myclimg, .maxwidth {
+
+ .myclimg,
+ .maxwidth {
height: 550px !important;
}
}
@media (max-width: 700px) {
- .q-parallax__media > img, .myclimg {
- max-height: 500px !important;
- min-width: inherit !important;
- min-height: inherit !important;
- }
- .myclimg, .maxwidth {
+
+ .myclimg,
+ .maxwidth {
height: 400px !important;
}
}
@media (max-width: 600px) {
- .q-parallax__media > img, .myclimg {
- max-height: 450px !important;
- min-height: inherit !important;
- min-width: 100% !important;
- }
- .myclimg, .maxwidth {
+
+ .myclimg,
+ .maxwidth {
height: 400px !important;
}
}
@@ -505,12 +496,14 @@ $heightBtn: 100%;
left: -9999px;
top: -9999px;
}
+
div#preloader img {
display: block;
}
}
@media print {
+
div#preloader,
div#preloader img {
visibility: hidden;
@@ -560,14 +553,14 @@ $heightBtn: 100%;
margin: 5px;
}
-.text-evidente{
+.text-evidente {
font-size: 1.25rem;
color: blue;
line-height: 1.75rem;
letter-spacing: .01em;
}
-.text-evidente2{
+.text-evidente2 {
font-size: 1.25rem;
color: blue;
line-height: 1.75rem;
@@ -606,7 +599,7 @@ $heightBtn: 100%;
margin: -8px -8px;
}
-.margin_buttons > * {
+.margin_buttons>* {
margin: 12px 12px !important;
}
@@ -640,7 +633,9 @@ $heightBtn: 100%;
overflow-wrap: break-word;
}
-.clBorderWarning, .clBorderZoom, .clBorderTutor {
+.clBorderWarning,
+.clBorderZoom,
+.clBorderTutor {
border: #f69f09 solid 5px;
border-radius: 32px;
font-size: 1rem;
@@ -654,7 +649,8 @@ $heightBtn: 100%;
border: #666cf6 solid 3px;
}
-.clBorderImportant, .clBorderSteps {
+.clBorderImportant,
+.clBorderSteps {
border: red solid 5px;
border-radius: 16px;
font-size: 1rem;
@@ -718,6 +714,7 @@ $heightBtn: 100%;
max-height: 350px;
max-width: 350px;
+
@media (max-width: 718px) {
max-height: 350px;
max-width: 350px;
@@ -735,6 +732,7 @@ $heightBtn: 100%;
max-height: 550px;
max-width: 550px;
+
@media (max-width: 718px) {
max-height: 350px;
max-width: 350px;
@@ -747,19 +745,20 @@ $heightBtn: 100%;
margin-right: auto;
}
-.text-h7{
+.text-h7 {
font-size: 1rem;
}
-.text-h8{
+.text-h8 {
font-size: 0.85rem !important;
}
-.text-h9{
+.text-h9 {
font-size: 0.65rem !important;
}
-.bordo_stondato, .bordo_stondato_blu{
+.bordo_stondato,
+.bordo_stondato_blu {
margin: 4px;
border-radius: 3rem;
padding-left: 14px;
@@ -773,7 +772,8 @@ $heightBtn: 100%;
border: solid 3px #0f01b5;
}
-.bordo_stondato2, .bordo_stondato_blu2{
+.bordo_stondato2,
+.bordo_stondato_blu2 {
margin: 4px;
border-radius: 3rem;
padding-left: 2px;
@@ -783,7 +783,7 @@ $heightBtn: 100%;
border: solid 3px #49b502;
}
-.bordo_stondato_stretto{
+.bordo_stondato_stretto {
margin: 4px;
border-radius: 3rem;
padding-left: 14px;
@@ -793,7 +793,7 @@ $heightBtn: 100%;
border: solid 3px #49b502;
}
-.bordo_stondato_small{
+.bordo_stondato_small {
margin: 0px;
border-radius: 2rem;
padding-left: 4px;
@@ -803,7 +803,7 @@ $heightBtn: 100%;
border: solid 2px #49b502;
}
-.bordo_stondato_pending{
+.bordo_stondato_pending {
margin: 4px;
border-radius: 3rem;
padding-left: 14px;
@@ -813,7 +813,7 @@ $heightBtn: 100%;
border: solid 1px #4a6598;
}
-.bordo_stondato_circuiti{
+.bordo_stondato_circuiti {
margin: 4px;
border-radius: 1.15rem;
padding-left: 5px;
@@ -824,7 +824,7 @@ $heightBtn: 100%;
box-shadow: 0 0 6px rgba(246, 246, 246, 0.2);
}
-.bordo_quadrato{
+.bordo_quadrato {
margin: 1px;
border-radius: 0.5rem;
padding-left: 2px;
@@ -844,26 +844,32 @@ $heightBtn: 100%;
/* this is when the loading indicator appears */
}
+
.my-sticky-header-table .q-table__middle {
max-height: 650px !important;
+
@media (max-width: 718px) {
// PER VERSIONE MOBILE
max-height: 400px !important;
}
}
+
.my-sticky-header-table .q-table__top,
.my-sticky-header-table .q-table__bottom,
.my-sticky-header-table thead tr:first-child th {
/* bg color is important for th; just specify one */
background-color: #f0ffff;
}
+
.my-sticky-header-table thead tr th {
position: sticky;
z-index: 1;
}
+
.my-sticky-header-table thead tr:first-child th {
top: 0;
}
+
.my-sticky-header-table.q-table--loading thead tr:last-child th {
/* height of all previous header rows */
top: 48px;
@@ -875,10 +881,12 @@ $heightBtn: 100%;
margin-right: auto;
max-width: 800px;
min-width: 800px;
+
@media (max-width: 500px) {
max-width: 350px;
min-width: 300px;
}
+
padding-bottom: 20px;
margin-top: 1rem;
margin-bottom: 1rem;
@@ -889,6 +897,7 @@ $heightBtn: 100%;
}
.my-card-shadow:hover {
+
// transition: transform .2s ease-in;
// transform: scale(1.03);
@media (max-width: 500px) {
@@ -897,44 +906,50 @@ $heightBtn: 100%;
}
-.text-small{
+.text-small {
font-size: 0.90rem;
+
@media (max-width: 500px) {
font-size: 0.8rem !important;
}
}
#mycontainer {
- min-height:100%;
- position:relative;
+ min-height: 100%;
+ position: relative;
}
+
.myheader {
padding: 5px;
+
@media (max-width: 500px) {
padding: 1px;
}
}
+
#mybody {
padding: 5px;
+
@media (max-width: 500px) {
padding: 1px;
}
}
-.myfooter{
-}
+.myfooter {}
-.iconplusminus{
+.iconplusminus {
font-size: 6px;
}
-.clpos{
+.clpos {
color: #C0C0C0;
}
-.clresp{
+
+.clresp {
color: #206d24;
}
-.clrespempty{
+
+.clrespempty {
color: #DDDDDD;
}
@@ -968,12 +983,13 @@ $heightBtn: 100%;
cursor: pointer;
}
-.centeritems{
+.centeritems {
place-content: center;
}
.combowidth {
min-width: 190px;
+
@media (max-width: 450px) {
min-width: 125px;
white-space: nowrap;
@@ -985,7 +1001,7 @@ $heightBtn: 100%;
height: 90px;
}
-.dialog_card{
+.dialog_card {
min-width: 100%;
width: 100% !important;
margin-left: 2px !important;
@@ -1002,14 +1018,14 @@ $heightBtn: 100%;
overflow-wrap: anywhere;
}
-.imgprofile{
+.imgprofile {
border: 0px solid rgb(29, 118, 13);
border-radius: 16px;
box-shadow: 0 0 45px rgba(246, 246, 246, 0.2);
margin: 1px;
}
-.imgprofile_small{
+.imgprofile_small {
border: 0px solid rgb(29, 118, 13);
border-radius: 30px;
box-shadow: 0 0 45px rgba(246, 246, 246, 0.2);
@@ -1017,7 +1033,7 @@ $heightBtn: 100%;
transform: scale(1.0);
}
-.iconprofile_small{
+.iconprofile_small {
border-radius: 30px;
}
@@ -1025,33 +1041,36 @@ $heightBtn: 100%;
width: -webkit-fill-available;
}
-.small-screen-only{
+.small-screen-only {
@media (max-width: $breakpoint-xs-max) {
display: block;
}
+
@media (min-width: $breakpoint-sm-min) {
display: none;
}
}
-.large-screen-only{
+.large-screen-only {
@media (max-width: $breakpoint-xs-max) {
display: none;
}
+
@media (min-width: $breakpoint-sm-min) {
display: block;
}
}
-.no-padding{
+.no-padding {
padding: 0 !important;
}
-.popupedit{
+.popupedit {
border: 1px solid #bbb;
border-radius: $generic-border-radius
}
-.dateevent{
+
+.dateevent {
border-radius: 16px;
border: red solid 2px;
padding: 3px;
@@ -1063,15 +1082,15 @@ $heightBtn: 100%;
}
-.datainizio, .datafine{
+.datainizio,
+.datafine {
font-weight: bold;
}
-.regione{
+.regione {}
-}
-
-.accom_num, .accom_maxosp {
+.accom_num,
+.accom_maxosp {
font-size: 1.25rem;
background-color: green;
font-weight: bold;
@@ -1084,10 +1103,10 @@ $heightBtn: 100%;
background-color: blue !important;
}
-.img_effetto_3d{
+.img_effetto_3d {
border-radius: 10px !important;
height: 300px;
- max-width:300px;
+ max-width: 300px;
box-shadow: 0 0 20px rgba(0, 0, 0, 0.6);
}
@@ -1096,16 +1115,16 @@ $heightBtn: 100%;
src: url(./fonts/walterturncoat.woff);
}
-.title_shadow{
- font-family: WalterTurncoat,handwriting, Arial, sans-serif;
+.title_shadow {
+ font-family: WalterTurncoat, handwriting, Arial, sans-serif;
font-size: 1.25rem;
- color: #8300e9!important;
+ color: #8300e9 !important;
font-weight: 500;
text-shadow: .1rem .1rem .1rem $grayshadow;
}
-.title_view_shadow{
- font-family: WalterTurncoat,handwriting, Arial, sans-serif;
+.title_view_shadow {
+ font-family: WalterTurncoat, handwriting, Arial, sans-serif;
font-size: 0.85rem;
text-shadow: .05rem .05rem .05rem $grayshadow;
letter-spacing: 0.25px;
@@ -1123,40 +1142,41 @@ $heightBtn: 100%;
}
.q-carousel__slide {
- background-size: contain !important;
+ background-size: contain !important;
background-position: 50% center !important;
background-repeat: no-repeat !important;
}
.carousel_img {
//background-image: url(../../public/images/cibo_sano.jpg);
- background-size: contain !important;
+ background-size: contain !important;
background-position: 50% center !important;
background-repeat: no-repeat !important;
}
-.username{
+.username {
font-weight: bold;
text-shadow: .25 .25rem .5rem $grayshadow;
letter-spacing: 0.025rem;
font-style: italic;
}
-.q-card__section{
+.q-card__section {
@media (max-width: 600px) {
padding: 8px !important;
}
}
+
.align_elem_right {
margin-left: auto;
}
-.text-section{
+.text-section {
font-size: 1.15rem;
font-weight: bold;
}
-.sezioni{
+.sezioni {
vertical-align: center;
padding: 4px;
}
@@ -1207,3 +1227,77 @@ $heightBtn: 100%;
background-position: 50% center !important;
background-repeat: no-repeat !important;
}
+
+.poster_shadows {
+ border-radius: 30px;
+ background: #1729ea;
+ background: -webkit-linear-gradient(45deg, #17ead9, #6078ea) !important;
+ background: linear-gradient(45deg, #17ead9, #6078ea) !important;
+}
+
+.duration-2s {
+ transition-duration: 5s !important;
+}
+
+.duration-3s {
+ transition-duration: 3s !important;
+}
+
+.duration-4s {
+ transition-duration: 4s !important;
+}
+
+.duration-5s {
+ transition-duration: 5s !important;
+}
+
+.fade-enter-active,
+.fade-leave-active {
+ transition: opacity 2s ease;
+}
+
+.fade-enter-from,
+.fade-leave-to {
+ opacity: 0;
+}
+
+.fromsky-enter-active,
+.fromsky-leave-active {
+ transition: opacity 2s ease;
+}
+
+.fromsky-enter-from {
+ top: -100px;
+}
+
+.fromsky-leave-to {
+ top: initial;
+ opacity: 0;
+}
+
+.anim_toBottom {
+ animation: moveToBottom 2s ease-in-out;
+}
+.anim_toRight {
+ animation: moveToRight 2s ease-in-out;
+}
+
+@keyframes moveToRight {
+ 0% {
+ transform: translateX(-300px);
+ }
+
+ 100% {
+ transform: translateX(0);
+ }
+}
+
+@keyframes moveToBottom {
+ 0% {
+ transform: translateY(-100px);
+ }
+
+ 100% {
+ transform: translateY(0);
+ }
+}
diff --git a/src/model/GlobalStore.ts b/src/model/GlobalStore.ts
index 7fdcf529..811c3562 100755
--- a/src/model/GlobalStore.ts
+++ b/src/model/GlobalStore.ts
@@ -120,7 +120,9 @@ export interface IMyElem {
container2?: string
container3?: string
span?: boolean
+ transition?: boolean
align?: number
+ vertalign?: number
fit?: string
parambool?: boolean
parambool2?: boolean
@@ -142,6 +144,9 @@ export interface IMyElem {
image?: string
class2?: string
class3?: string
+ class4?: string
+ class_anim?: string
+ class_anim2?: string
styleadd?: string
list?: IImgGallery[]
listcards?: IMyCard[]
@@ -175,6 +180,7 @@ export interface IMyPage {
active?: boolean
inmenu?: boolean
color?: string
+ colorsub?: string
onlyif_logged?: boolean
only_residenti?: boolean
only_consiglio?: boolean
@@ -190,6 +196,17 @@ export interface IOption {
options: number
}
+export interface IContacts {
+ facebook?: string
+ instagram?: string
+ whatsapp?: string
+ telegram?: string
+ youtube?: string
+ email?: string
+ address?: string
+ map?: string
+}
+
export interface ISites {
_id?: string
attiva?: boolean
@@ -213,6 +230,7 @@ export interface ISites {
confsite: IOption
description?: string
keywords?: string
+ contacts?: IContacts
}
export interface INewsToSent {
diff --git a/src/rootgen/admin/confsite/confsite.ts b/src/rootgen/admin/confsite/confsite.ts
index d290bfb2..3132b77b 100755
--- a/src/rootgen/admin/confsite/confsite.ts
+++ b/src/rootgen/admin/confsite/confsite.ts
@@ -16,6 +16,7 @@ export default defineComponent({
setup() {
const mysite = ref(null)
+ const tab = ref('server')
const globalStore = useGlobalStore()
@@ -28,6 +29,7 @@ export default defineComponent({
return {
mysite,
costanti,
+ tab,
}
}
})
diff --git a/src/rootgen/admin/confsite/confsite.vue b/src/rootgen/admin/confsite/confsite.vue
index e8511311..a2040a81 100755
--- a/src/rootgen/admin/confsite/confsite.vue
+++ b/src/rootgen/admin/confsite/confsite.vue
@@ -31,10 +31,10 @@
:rec="mysite"
mykey="adminemail"
debounce="1000"
+ :type="costanti.FieldType.string"
>
-
@@ -61,46 +62,162 @@
:id="mysite._id"
:rec="mysite"
mykey="keywords"
+ :type="costanti.FieldType.string"
debounce="1000"
>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
diff --git a/src/store/Modules/fieldsTable.ts b/src/store/Modules/fieldsTable.ts
index 8a3dc7a0..df90fa4a 100755
--- a/src/store/Modules/fieldsTable.ts
+++ b/src/store/Modules/fieldsTable.ts
@@ -125,6 +125,7 @@ export const colgallery = [
export const colmylistcards = [
AddCol({ name: 'imagefile', label_trans: 'imagefile', fieldtype: costanti.FieldType.string }),
+ AddCol({ name: 'image', label_trans: 'image', fieldtype: costanti.FieldType.string }),
AddCol({ name: 'alt', label_trans: 'alt', fieldtype: costanti.FieldType.string }),
AddCol({ name: 'description', label_trans: 'description', fieldtype: costanti.FieldType.string }),
AddCol({ name: 'style', label_trans: 'style' }),
@@ -146,6 +147,7 @@ export const colmyelems = [
AddCol({ name: 'container3', label_trans: 'myelems.container3' }),
AddCol({ name: 'img', label_trans: 'myelems.img' }),
AddCol({ name: 'align', label_trans: 'myelems.align', fieldtype: costanti.FieldType.number }),
+ AddCol({ name: 'vertalign', label_trans: 'myelems.vertalign', fieldtype: costanti.FieldType.number }),
AddCol({ name: 'fit', label_trans: 'myelems.fit', fieldtype: costanti.FieldType.string }),
AddCol({ name: 'parambool', label_trans: 'myelems.parambool', fieldtype: costanti.FieldType.boolean }),
AddCol({ name: 'parambool2', label_trans: 'myelems.parambool2', fieldtype: costanti.FieldType.boolean }),
@@ -163,6 +165,7 @@ export const colmyelems = [
AddCol({ name: 'width', label_trans: 'myelems.width', fieldtype: costanti.FieldType.number }),
AddCol({ name: 'onlyif_logged', label_trans: 'myelems.onlyif_logged', fieldtype: costanti.FieldType.boolean }),
AddCol({ name: 'color', label_trans: 'myelems.color' }),
+ AddCol({ name: 'colorsub', label_trans: 'myelems.colorsub' }),
AddCol({ name: 'class', label_trans: 'myelems.class' }),
AddCol({ name: 'styleadd', label_trans: 'myelems.styleadd' }),
AddCol({
@@ -1460,6 +1463,56 @@ export const colTableSites = [
fieldtype: costanti.FieldType.binary,
jointable: 'confsite_opt',
}),
+ AddCol({
+ name: 'contacts.facebook',
+ field: 'contacts',
+ subfield: 'facebook',
+ label_trans: 'reg.facebook',
+ fieldtype: costanti.FieldType.string,
+ }),
+ AddCol({
+ name: 'contacts.instagram',
+ field: 'contacts',
+ subfield: 'instagram',
+ label_trans: 'reg.instagram',
+ }),
+ AddCol({
+ name: 'contacts.whatsapp',
+ field: 'contacts',
+ subfield: 'whatsapp',
+ label_trans: 'reg.whatsapp',
+ }),
+ AddCol({
+ name: 'contacts.whatsapp',
+ field: 'contacts',
+ subfield: 'whatsapp',
+ label_trans: 'reg.whatsapp_home',
+ fieldtype: costanti.FieldType.boolean,
+ }),
+ AddCol({
+ name: 'contacts.telegram',
+ field: 'contacts',
+ subfield: 'telegram',
+ label_trans: 'reg.telegram',
+ }),
+ AddCol({
+ name: 'contacts.email',
+ field: 'contacts',
+ subfield: 'email',
+ label_trans: 'reg.email',
+ }),
+ AddCol({
+ name: 'contacts.address',
+ field: 'contacts',
+ subfield: 'address',
+ label_trans: 'reg.address',
+ }),
+ AddCol({
+ name: 'contacts.map',
+ field: 'contacts',
+ subfield: 'map',
+ label_trans: 'reg.map',
+ }),
AddCol(DeleteRec),
AddCol(DuplicateRec),
]
diff --git a/src/store/Modules/tools.ts b/src/store/Modules/tools.ts
index f672f340..d67b93ca 100644
--- a/src/store/Modules/tools.ts
+++ b/src/store/Modules/tools.ts
@@ -12,7 +12,7 @@ import {
ITodo,
IUserFields,
Privacy,
- TipoVisu, IGroup, IMySkill, IMyBacheca, IImgGallery, IMsgGlobParam, IUserExport, ISpecialField, IAccount, IMyCircuit, ISendCoin, IMovement, IMovVisu, INotif,
+ TipoVisu, IGroup, IMySkill, IMyBacheca, IImgGallery, IMsgGlobParam, IUserExport, ISpecialField, IAccount, IMyCircuit, ISendCoin, IMovement, IMovVisu, INotif, IMyElem, IMyCard,
} from '@model'
import { fieldsTable } from '@store/Modules/fieldsTable'
@@ -593,6 +593,22 @@ export const tools = {
},
],
+ SelectListAnimation: [
+ {
+ label: '[Nessuna]',
+ value: '',
+ },
+ {
+ label: 'Dal basso verso l\'alto',
+ value: 'anim_toBottom',
+ },
+ {
+ label: 'Da sinistra verso Destra',
+ value: 'anim_toRight',
+ },
+
+ ],
+
SelectListClass: [
{
label: '[Nessuna]',
@@ -632,6 +648,33 @@ export const tools = {
},
],
+ SelectListVertAlign: [
+ {
+ label: '[Nessuno]',
+ value: 0,
+ },
+ {
+ label: 'Alto',
+ value: 1,
+ },
+ {
+ label: 'Centro',
+ value: 2,
+ },
+ {
+ label: 'Basso',
+ value: 3,
+ },
+ {
+ label: 'Basso_Sinistra',
+ value: 4,
+ },
+ {
+ label: 'Alto_Sinistra',
+ value: 5,
+ },
+ ],
+
SelectListAlign: [
{
label: '[Nessuno]',
@@ -6838,6 +6881,25 @@ export const tools = {
return ris
},
+ getImgFileByFilename(elem: IMyElem, filename: string) {
+ return 'upload/pages/' + elem.path + '/' + filename
+ },
+
+ getImgFileByElem(elem: IMyElem, reccard?: IMyCard) {
+ if (elem) {
+ if (elem.type === shared_consts.ELEMTYPE.CARD) {
+ if (reccard?.imagefile)
+ return 'upload/pages/' + elem.path + '/' + reccard.imagefile
+ else
+ return ''
+ } else if (elem.type === shared_consts.ELEMTYPE.IMAGE) {
+ return 'upload/pages/' + elem.path + '/' + elem.container
+ } else {
+ return 'upload/pages/' + elem.path + '/' + elem.image
+ }
+ }
+ },
+
// getLocale() {
// if (navigator.languages && navigator.languages.length > 0) {
// return navigator.languages[0]
diff --git a/upload/pages/home/sfondo.jpg b/upload/pages/home/sfondo.jpg
new file mode 100644
index 00000000..8a650e31
Binary files /dev/null and b/upload/pages/home/sfondo.jpg differ
diff --git a/yarn.lock b/yarn.lock
index dc039731..90e1ff68 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -2720,6 +2720,11 @@ alphanum-sort@^1.0.1, alphanum-sort@^1.0.2:
resolved "https://registry.yarnpkg.com/alphanum-sort/-/alphanum-sort-1.0.2.tgz#97a1119649b211ad33691d9f9f486a8ec9fbe0a3"
integrity sha512-0FcBfdcmaumGPQ0qPn7Q5qTgz/ooXgIyp1rf8ik5bGX8mpE2YHjC0P/eyQvxu1GURYQgq9ozf2mteQ5ZD9YiyQ==
+animate.css@^4.1.1:
+ version "4.1.1"
+ resolved "https://registry.yarnpkg.com/animate.css/-/animate.css-4.1.1.tgz#614ec5a81131d7e4dc362a58143f7406abd68075"
+ integrity sha512-+mRmCTv6SbCmtYJCN4faJMNFVNN5EuCTTprDTAo7YzIGji2KADmakjVA3+8mVDkZ2Bf09vayB35lSQIex2+QaQ==
+
ansi-align@^3.0.1:
version "3.0.1"
resolved "https://registry.yarnpkg.com/ansi-align/-/ansi-align-3.0.1.tgz#0cdf12e111ace773a86e9a1fad1225c43cb19a59"