From 077127d1298cd914c865cdb6cc74cccacfa666d1 Mon Sep 17 00:00:00 2001 From: Surya Paolo Date: Wed, 23 Nov 2022 10:27:27 +0100 Subject: [PATCH] Animations, Policy, Toolbar Colors --- src/server/MYAPP.code-workspace | 5 ++++- src/server/models/myelem.js | 12 ++++++---- src/server/models/site.js | 40 +++++++++++++++++++++++++-------- 3 files changed, 43 insertions(+), 14 deletions(-) diff --git a/src/server/MYAPP.code-workspace b/src/server/MYAPP.code-workspace index 3950b21..525707b 100644 --- a/src/server/MYAPP.code-workspace +++ b/src/server/MYAPP.code-workspace @@ -7,5 +7,8 @@ "path": "../../../newfreeplanet" } ], - "settings": {} + "settings": { + "search.useIgnoreFiles": true, + "search.useParentIgnoreFiles": true + } } \ No newline at end of file diff --git a/src/server/models/myelem.js b/src/server/models/myelem.js index 0ba82af..38e1517 100755 --- a/src/server/models/myelem.js +++ b/src/server/models/myelem.js @@ -123,11 +123,15 @@ active: { class4: { type: String, }, - class_anim: { - type: String, + anim: { + name: { type: String}, + clduration: { type: String}, + cldelay: { type: String}, }, - class_anim2: { - type: String, + anim2: { + name: { type: String}, + clduration: { type: String}, + cldelay: { type: String}, }, styleadd: { type: String, diff --git a/src/server/models/site.js b/src/server/models/site.js index 0fbf9a2..fa86315 100755 --- a/src/server/models/site.js +++ b/src/server/models/site.js @@ -95,22 +95,44 @@ const SiteSchema = new Schema({ keywords: { type: String, }, + confpages: { + font: { type: String }, + col_toolbar: { type: String }, + col_bgfooter: { type: String }, + }, confsite: { options: { // ConfSite type: Number, default: 0, }, }, + policy: { + show: { type: Boolean }, + owneremail: { type: String }, + siteName: { type: String }, + ownerDataName: { type: String }, + managerData: { type: String }, + includeData: { type: String }, + url: { type: String }, + lastdataupdate: { type: String }, + country: { type: String }, + }, contacts: { - facebook: { type: String}, - instagram: { type: String}, - whatsapp: { type: String}, - whatsapp_home: { type: Boolean}, - telegram: { type: String}, - youtube: { type: String}, - email: { type: String}, - address: { type: String}, - map: { type: String}, + facebook: { type: String }, + instagram: { type: String }, + whatsapp: { type: String }, + whatsapp_home: { type: Boolean }, + telegram: { type: String }, + youtube: { type: String }, + email: { type: String }, + address: { type: String }, + map: { type: String }, + info2: { type: String }, + cell: { type: String }, + }, + footer_mobile: { + show_buttHome: { type: Boolean }, + show_profile: { type: Boolean }, }, });