Arcadei ...
@@ -1,30 +0,0 @@
|
|||||||
APP_VERSION="0.5.24"
|
|
||||||
SERVICE_WORKER_FILE="service-worker.js"
|
|
||||||
APP_ID="15"
|
|
||||||
DIRECTORY_LOCAL="newfreeplanet"
|
|
||||||
DIRECTORY_SERVER="freeplanet_serverside"
|
|
||||||
SERVERDIR_WEBSITE=""
|
|
||||||
SERVERPW_WEBSITE=""
|
|
||||||
APP_URL="https://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="https://localhost:3000"
|
|
||||||
LOGO_REG='arcadei-logo-full.png'
|
|
||||||
TEST_NAME="Surya"
|
|
||||||
TEST_SURNAME="Paolo"
|
|
||||||
TEST_EMAIL=""
|
|
||||||
TEST_USERNAME=""
|
|
||||||
TEST_PASSWORD=""
|
|
||||||
TEST_APORTADOR=""
|
|
||||||
PUBLICKEY_PUSH='BDncvMiUZmjaCG2Kr1V9N0_33hOG-AuNSbHSvL24y2dzBiUjAxKm02emx5SeJvz2IGmtRf6YqCgopeQwCwUmZw8'
|
|
||||||
IN_CONSTRUCTION="0"
|
|
||||||
DEBUG="1"
|
|
||||||
TELEGRAM_SUPPORT=""
|
|
||||||
PROJECT_ID_MAIN="5cc0a13fe5c9d156728f400a"
|
|
||||||
TEST_CELL=""
|
|
||||||
ISTEST=1
|
|
||||||
INLOCALE=1
|
|
||||||
BAK_MONGODB_HOST="http://192.168.0.200:3000"
|
|
||||||
@@ -693,17 +693,6 @@ const baseroutes: IListRoutes[] = [
|
|||||||
inmenu: false,
|
inmenu: false,
|
||||||
infooter: true
|
infooter: true
|
||||||
},
|
},
|
||||||
{
|
|
||||||
active: functionality.ENABLE_REGISTRATION && functionality.ENABLE_REG_NEED_TELEGRAM,
|
|
||||||
order: 1000,
|
|
||||||
path: '/signup/:invited/:usernameteleg/:idteleg',
|
|
||||||
materialIcon: 'how_to_reg',
|
|
||||||
name: 'pages.SignUp',
|
|
||||||
component: () => import('@/views/login/signup/signup.vue'),
|
|
||||||
inmenu: false,
|
|
||||||
infooter: false,
|
|
||||||
separator: false
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
active: functionality.ENABLE_REG_BY_BOT,
|
active: functionality.ENABLE_REG_BY_BOT,
|
||||||
order: 1000,
|
order: 1000,
|
||||||
@@ -714,17 +703,17 @@ const baseroutes: IListRoutes[] = [
|
|||||||
infooter: functionality.ENABLE_REG_BY_BOT,
|
infooter: functionality.ENABLE_REG_BY_BOT,
|
||||||
separator: false
|
separator: false
|
||||||
},
|
},
|
||||||
/*{
|
{
|
||||||
active: functionality.ENABLE_REGISTRATION && !functionality.ENABLE_REG_NEED_TELEGRAM,
|
active: functionality.ENABLE_REGISTRATION && !functionality.ENABLE_REG_NEED_TELEGRAM,
|
||||||
order: 1000,
|
order: 1000,
|
||||||
path: '/signup',
|
path: '/signup',
|
||||||
materialIcon: 'how_to_reg',
|
materialIcon: 'how_to_reg',
|
||||||
name: 'pages.SignUp',
|
name: 'pages.SignUp',
|
||||||
component: () => import('@/views/login/signup/signup_noteleg.vue'),
|
component: () => import('@/views/login/signup_noteleg/signup_noteleg.vue'),
|
||||||
inmenu: false,
|
inmenu: false,
|
||||||
infooter: false,
|
infooter: false,
|
||||||
separator: false
|
separator: false
|
||||||
},*/
|
},
|
||||||
{
|
{
|
||||||
active: true,
|
active: true,
|
||||||
order: 1001,
|
order: 1001,
|
||||||
|
|||||||
BIN
_ALL_SITES/riso.app/favicon.ico
Normal file
|
After Width: | Height: | Size: 1.1 KiB |
BIN
_ALL_SITES/riso.app/images/favicon-16x16.png
Normal file
|
After Width: | Height: | Size: 1.3 KiB |
BIN
_ALL_SITES/riso.app/images/favicon-32x32.png
Normal file
|
After Width: | Height: | Size: 3.3 KiB |
BIN
_ALL_SITES/riso.app/images/favicon.ico
Normal file
|
After Width: | Height: | Size: 1.1 KiB |
BIN
_ALL_SITES/riso.app/images/riso-android-icon-144x144.png
Normal file
|
After Width: | Height: | Size: 46 KiB |
BIN
_ALL_SITES/riso.app/images/riso-android-icon-192x192.png
Normal file
|
After Width: | Height: | Size: 80 KiB |
BIN
_ALL_SITES/riso.app/images/riso-android-icon-384x384.png
Normal file
|
After Width: | Height: | Size: 333 KiB |
BIN
_ALL_SITES/riso.app/images/riso-android-icon-48x48.png
Normal file
|
After Width: | Height: | Size: 6.6 KiB |
BIN
_ALL_SITES/riso.app/images/riso-android-icon-512x512.png
Normal file
|
After Width: | Height: | Size: 550 KiB |
BIN
_ALL_SITES/riso.app/images/riso-android-icon-96x96.png
Normal file
|
After Width: | Height: | Size: 23 KiB |
BIN
_ALL_SITES/riso.app/images/riso-apple-icon-114x114.png
Normal file
|
After Width: | Height: | Size: 31 KiB |
BIN
_ALL_SITES/riso.app/images/riso-apple-icon-120x120.png
Normal file
|
After Width: | Height: | Size: 34 KiB |
BIN
_ALL_SITES/riso.app/images/riso-apple-icon-144x144.png
Normal file
|
After Width: | Height: | Size: 46 KiB |
BIN
_ALL_SITES/riso.app/images/riso-apple-icon-152x152.png
Normal file
|
After Width: | Height: | Size: 51 KiB |
BIN
_ALL_SITES/riso.app/images/riso-apple-icon-180x180.png
Normal file
|
After Width: | Height: | Size: 69 KiB |
BIN
_ALL_SITES/riso.app/images/riso-apple-icon-57x57.png
Normal file
|
After Width: | Height: | Size: 8.9 KiB |
BIN
_ALL_SITES/riso.app/images/riso-logo-full.png
Normal file
|
After Width: | Height: | Size: 529 KiB |
@@ -23,5 +23,6 @@ else
|
|||||||
cp -R _ALL_SITES/$site/.env.production .
|
cp -R _ALL_SITES/$site/.env.production .
|
||||||
cp -R _ALL_SITES/$site/.env.test .
|
cp -R _ALL_SITES/$site/.env.test .
|
||||||
cp -R _ALL_SITES/$site/images/* ./public/images/
|
cp -R _ALL_SITES/$site/images/* ./public/images/
|
||||||
|
cp -R _ALL_SITES/$site/favicon.ico ./public/
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|||||||
@@ -10,6 +10,7 @@ else
|
|||||||
cp -R _ALL_SITES/$site _BAK/4/
|
cp -R _ALL_SITES/$site _BAK/4/
|
||||||
|
|
||||||
cp -R src/db _ALL_SITES/$site/
|
cp -R src/db _ALL_SITES/$site/
|
||||||
|
cp -R public/favicon.ico _ALL_SITES/$site/
|
||||||
cp -R src/root_spec _ALL_SITES/$site/
|
cp -R src/root_spec _ALL_SITES/$site/
|
||||||
cp -R ./quasar.conf.js _ALL_SITES/$site/
|
cp -R ./quasar.conf.js _ALL_SITES/$site/
|
||||||
cp -R ./package.json _ALL_SITES/$site/
|
cp -R ./package.json _ALL_SITES/$site/
|
||||||
|
|||||||
@@ -1,26 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
site=arcadei.it
|
|
||||||
|
|
||||||
if [ -d "__freeplanet.app" ]; then
|
|
||||||
rmdir __freeplanet.app
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ -d "__riso.app" ]; then
|
|
||||||
rmdir __riso.app
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ -d "__arcadei.it" ]; then
|
|
||||||
rmdir __arcadei.it
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ -d "__popolodelnuovomondo.app" ]; then
|
|
||||||
rmdir __popolodelnuovomondo.app
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ -d "__terradellavisione.app" ]; then
|
|
||||||
rmdir __terradellavisione.app
|
|
||||||
fi
|
|
||||||
|
|
||||||
|
|
||||||
source __inizia.sh
|
|
||||||
@@ -1,22 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
site=riso.app
|
|
||||||
|
|
||||||
if [ -d "__freeplanet.app" ]; then
|
|
||||||
rmdir __freeplanet.app
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ -d "__riso.app" ]; then
|
|
||||||
rmdir __riso.app
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ -d "__popolodelnuovomondo.app" ]; then
|
|
||||||
rmdir __popolodelnuovomondo.app
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ -d "__terradellavisione.app" ]; then
|
|
||||||
rmdir __terradellavisione.app
|
|
||||||
fi
|
|
||||||
|
|
||||||
|
|
||||||
source __inizia.sh
|
|
||||||
BIN
public/images/arcadei/borgovivo.png
Normal file
|
After Width: | Height: | Size: 43 KiB |
BIN
public/images/arcadei/boscovivo.png
Normal file
|
After Width: | Height: | Size: 40 KiB |
BIN
public/images/arcadei/ortovivo-gsa.png
Normal file
|
After Width: | Height: | Size: 63 KiB |
BIN
public/images/arcadei/pandeldia.png
Normal file
|
After Width: | Height: | Size: 35 KiB |
BIN
public/images/arcadei/prospera.png
Normal file
|
After Width: | Height: | Size: 74 KiB |
BIN
public/images/arcadei/saluteviva.png
Normal file
|
After Width: | Height: | Size: 25 KiB |
BIN
public/images/arcadei/scuolaviva.png
Normal file
|
After Width: | Height: | Size: 42 KiB |
@@ -113,8 +113,10 @@ const msg_website_it = {
|
|||||||
hours: 'Ore',
|
hours: 'Ore',
|
||||||
department: 'Uffici',
|
department: 'Uffici',
|
||||||
title: 'Titolo',
|
title: 'Titolo',
|
||||||
|
subtitle: 'SottoTitolo',
|
||||||
path: 'Percorso',
|
path: 'Percorso',
|
||||||
img1: 'Immagine 1',
|
img1: 'Immagine 1',
|
||||||
|
imgsize: 'ImgSize',
|
||||||
contentfield: 'Testo 1',
|
contentfield: 'Testo 1',
|
||||||
video1: 'Video 1',
|
video1: 'Video 1',
|
||||||
ratio1: 'Ratio 1',
|
ratio1: 'Ratio 1',
|
||||||
|
|||||||
@@ -481,7 +481,7 @@ const baseroutes: IListRoutes[] = [
|
|||||||
inmenu: true,
|
inmenu: true,
|
||||||
infooter: true,
|
infooter: true,
|
||||||
},
|
},
|
||||||
{
|
/*{
|
||||||
active: true,
|
active: true,
|
||||||
order: 120,
|
order: 120,
|
||||||
path: '/myprofile',
|
path: '/myprofile',
|
||||||
@@ -491,7 +491,7 @@ const baseroutes: IListRoutes[] = [
|
|||||||
meta: { requiresAuth: true },
|
meta: { requiresAuth: true },
|
||||||
inmenu: true,
|
inmenu: true,
|
||||||
infooter: true,
|
infooter: true,
|
||||||
},
|
},*/
|
||||||
{
|
{
|
||||||
active: true,
|
active: true,
|
||||||
order: 120,
|
order: 120,
|
||||||
@@ -743,7 +743,7 @@ const baseroutes: IListRoutes[] = [
|
|||||||
materialIcon: 'account_circle',
|
materialIcon: 'account_circle',
|
||||||
name: 'pages.SignIn',
|
name: 'pages.SignIn',
|
||||||
component: () => import('@/views/login/signin_noreg/signin_noreg.vue'),
|
component: () => import('@/views/login/signin_noreg/signin_noreg.vue'),
|
||||||
inmenu: true,
|
inmenu: false,
|
||||||
infooter: true
|
infooter: true
|
||||||
},
|
},
|
||||||
// --- NOT IN MENU: ---
|
// --- NOT IN MENU: ---
|
||||||
|
|||||||
@@ -3,6 +3,9 @@ import { tools } from '@src/store/Modules/tools'
|
|||||||
import messages from '../statics/i18n'
|
import messages from '../statics/i18n'
|
||||||
|
|
||||||
function translate(params: any) {
|
function translate(params: any) {
|
||||||
|
if (!params)
|
||||||
|
return ''
|
||||||
|
|
||||||
const msg = params.split('.')
|
const msg = params.split('.')
|
||||||
const lang = toolsext.getLocale()
|
const lang = toolsext.getLocale()
|
||||||
|
|
||||||
|
|||||||
@@ -63,7 +63,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.isCalendar {
|
.isCalendar {
|
||||||
color: #fff241;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.isManager {
|
.isManager {
|
||||||
@@ -132,3 +132,11 @@
|
|||||||
}
|
}
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
.bigmenu {
|
||||||
|
font-size: 1.25rem;
|
||||||
|
font-weight: bold;
|
||||||
|
text-shadow: 0.0512rem 0.052rem .01rem #555;
|
||||||
|
}
|
||||||
|
.subtitle {
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
|
|||||||
@@ -94,9 +94,23 @@ export default defineComponent({
|
|||||||
|
|
||||||
if (elem.extraclass) menu += ` ${elem.extraclass}`
|
if (elem.extraclass) menu += ` ${elem.extraclass}`
|
||||||
|
|
||||||
|
console.log('menu', menu)
|
||||||
return menu
|
return menu
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function getimgiconclass(elem: IListRoutes) {
|
||||||
|
if (elem.extraclass)
|
||||||
|
return elem.extraclass
|
||||||
|
else
|
||||||
|
return 'imgicon'
|
||||||
|
}
|
||||||
|
function getimgiconclass2(elem: IListRoutes) {
|
||||||
|
if (elem.extraclass)
|
||||||
|
return elem.extraclass
|
||||||
|
else
|
||||||
|
return 'clBase'
|
||||||
|
}
|
||||||
|
|
||||||
myroutes.value = static_data.routes
|
myroutes.value = static_data.routes
|
||||||
|
|
||||||
return {
|
return {
|
||||||
@@ -108,6 +122,9 @@ export default defineComponent({
|
|||||||
tools,
|
tools,
|
||||||
getroutes,
|
getroutes,
|
||||||
myroutes,
|
myroutes,
|
||||||
|
getimgiconclass,
|
||||||
|
getimgiconclass2,
|
||||||
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="no-border" v-if="finishLoading">
|
<div v-if="finishLoading" class="no-border">
|
||||||
<q-list class="rounded-borders text-primary">
|
<q-list class="rounded-borders text-primary">
|
||||||
<div v-for="ind1 in getmenu" :key="ind1">
|
<div v-for="ind1 in getmenu" :key="ind1">
|
||||||
<!--<div class="q-list-header">{{replaceUnderlineToSpace(index)}}</div>-->
|
<!--<div class="q-list-header">{{replaceUnderlineToSpace(index)}}</div>-->
|
||||||
@@ -11,14 +11,15 @@
|
|||||||
<q-separator></q-separator>
|
<q-separator></q-separator>
|
||||||
</span>
|
</span>
|
||||||
<span v-else>
|
<span v-else>
|
||||||
|
|
||||||
<q-expansion-item
|
<q-expansion-item
|
||||||
:header-inset-level="myitemmenu.level_parent"
|
|
||||||
:content-inset-level="myitemmenu.level_parent"
|
:content-inset-level="myitemmenu.level_parent"
|
||||||
:label="tools.getLabelByItem(myitemmenu)"
|
|
||||||
:icon="myitemmenu.materialIcon"
|
|
||||||
expand-icon-class="my-menu-separat"
|
|
||||||
:header-class="getmymenuclass(myitemmenu)"
|
:header-class="getmymenuclass(myitemmenu)"
|
||||||
active-class="my-menu-active">
|
:header-inset-level="myitemmenu.level_parent"
|
||||||
|
:icon="myitemmenu.materialIcon"
|
||||||
|
:label="tools.getLabelByItem(myitemmenu)"
|
||||||
|
active-class="my-menu-active"
|
||||||
|
expand-icon-class="my-menu-separat">
|
||||||
|
|
||||||
<div v-for="(child2, index) in myitemmenu.routes2" :key="index">
|
<div v-for="(child2, index) in myitemmenu.routes2" :key="index">
|
||||||
<div v-if="child2.active && tools.visumenu(child2)">
|
<div v-if="child2.active && tools.visumenu(child2)">
|
||||||
@@ -26,26 +27,27 @@
|
|||||||
<q-separator></q-separator>
|
<q-separator></q-separator>
|
||||||
</span>
|
</span>
|
||||||
<span v-else>
|
<span v-else>
|
||||||
|
|
||||||
<q-expansion-item
|
<q-expansion-item
|
||||||
v-if="!child2.routes2"
|
v-if="!child2.routes2"
|
||||||
:to="getroute(child2)"
|
|
||||||
:header-inset-level="child2.level_child"
|
|
||||||
:duration="300"
|
|
||||||
:icon="child2.materialIcon"
|
|
||||||
expand-icon="none"
|
|
||||||
active-class="my-menu-active"
|
|
||||||
expand-icon-class="my-menu-icon-none"
|
|
||||||
:class="`item item-link drawer-closer cursor-pointer ` + clBase"
|
:class="`item item-link drawer-closer cursor-pointer ` + clBase"
|
||||||
:label="tools.getLabelByItem(child2)">
|
:duration="300"
|
||||||
|
:header-inset-level="child2.level_child"
|
||||||
|
:icon="child2.materialIcon"
|
||||||
|
:label="tools.getLabelByItem(child2)"
|
||||||
|
:to="getroute(child2)"
|
||||||
|
active-class="my-menu-active"
|
||||||
|
expand-icon="none"
|
||||||
|
expand-icon-class="my-menu-icon-none">
|
||||||
|
|
||||||
<q-item-section avatar>
|
<q-item-section avatar>
|
||||||
|
|
||||||
<q-avatar v-if="child2.img">
|
<q-avatar v-if="child2.img">
|
||||||
<div :icon="`img:`+child2.img" class="imgicon" style="font-size:2rem;"></div>
|
<div :class="getimgiconclass(child2)" :icon="`img:`+child2.img" style="font-size:2rem;"></div>
|
||||||
</q-avatar>
|
</q-avatar>
|
||||||
<div v-else>
|
<div v-else>
|
||||||
<q-avatar
|
<q-avatar
|
||||||
:icon="child2.materialIcon" color="primary" class="clicon"
|
:icon="child2.materialIcon" :size="child2.iconsize" class="clicon"
|
||||||
|
color="primary"
|
||||||
text-color="white">
|
text-color="white">
|
||||||
</q-avatar>
|
</q-avatar>
|
||||||
</div>
|
</div>
|
||||||
@@ -58,38 +60,40 @@
|
|||||||
</q-expansion-item>
|
</q-expansion-item>
|
||||||
<q-expansion-item
|
<q-expansion-item
|
||||||
v-else
|
v-else
|
||||||
:header-inset-level="child2.level_parent"
|
|
||||||
:content-inset-level="child2.level_parent"
|
:content-inset-level="child2.level_parent"
|
||||||
:label="tools.getLabelByItem(child2)"
|
|
||||||
:icon="child2.materialIcon"
|
|
||||||
expand-icon-class="my-menu-separat"
|
|
||||||
:header-class="getmymenuclass(child2)"
|
:header-class="getmymenuclass(child2)"
|
||||||
active-class="my-menu-active">
|
:header-inset-level="child2.level_parent"
|
||||||
|
:icon="child2.materialIcon"
|
||||||
|
:label="tools.getLabelByItem(child2)"
|
||||||
|
active-class="my-menu-active"
|
||||||
|
expand-icon-class="my-menu-separat">
|
||||||
|
|
||||||
<div v-for="(child3, index) in child2.routes2" :key="index">
|
<div v-for="(child3, index) in child2.routes2" :key="index">
|
||||||
<div v-if="child3.active">
|
<div v-if="child3.active">
|
||||||
|
|
||||||
<q-expansion-item
|
<q-expansion-item
|
||||||
:to="getroute(child3)"
|
|
||||||
:header-inset-level="child3.level_child"
|
|
||||||
:duration="300"
|
|
||||||
:icon="child3.materialIcon"
|
|
||||||
active-class="my-menu-active"
|
|
||||||
expand-icon-class="my-menu-icon-none"
|
|
||||||
:class="`item item-link drawer-closer cursor-pointer ` + clBase"
|
:class="`item item-link drawer-closer cursor-pointer ` + clBase"
|
||||||
:label="tools.getLabelByItem(child3)">
|
:duration="300"
|
||||||
|
:header-inset-level="child3.level_child"
|
||||||
|
:icon="child3.materialIcon"
|
||||||
|
:label="tools.getLabelByItem(child3)"
|
||||||
|
:to="getroute(child3)"
|
||||||
|
active-class="my-menu-active"
|
||||||
|
expand-icon-class="my-menu-icon-none">
|
||||||
<div v-for="(child4, index) in child3.routes2" :key="index">
|
<div v-for="(child4, index) in child3.routes2" :key="index">
|
||||||
|
|
||||||
<q-expansion-item
|
<q-expansion-item
|
||||||
v-if="!!child3.routes2 && child3.active"
|
v-if="!!child3.routes2 && child3.active"
|
||||||
:key="index"
|
:key="index"
|
||||||
:to="getroute(child4)"
|
|
||||||
:header-inset-level="child4.level_child"
|
|
||||||
:duration="300"
|
|
||||||
:icon="child4.materialIcon"
|
|
||||||
:expand-icon="child4.icon"
|
|
||||||
expand-icon-class="my-menu-separat"
|
|
||||||
active-class="my-menu-active"
|
|
||||||
:class="`item item-link drawer-closer cursor-pointer ` + clBase"
|
:class="`item item-link drawer-closer cursor-pointer ` + clBase"
|
||||||
:label="tools.getLabelByItem(child4)">
|
:duration="300"
|
||||||
|
:expand-icon="child4.icon"
|
||||||
|
:header-inset-level="child4.level_child"
|
||||||
|
:icon="child4.materialIcon"
|
||||||
|
:label="tools.getLabelByItem(child4)"
|
||||||
|
:to="getroute(child4)"
|
||||||
|
active-class="my-menu-active"
|
||||||
|
expand-icon-class="my-menu-separat">
|
||||||
</q-expansion-item>
|
</q-expansion-item>
|
||||||
</div>
|
</div>
|
||||||
</q-expansion-item>
|
</q-expansion-item>
|
||||||
@@ -110,16 +114,31 @@
|
|||||||
<q-separator inset></q-separator>
|
<q-separator inset></q-separator>
|
||||||
</span>
|
</span>
|
||||||
<span v-else>
|
<span v-else>
|
||||||
<q-expansion-item
|
<q-list>
|
||||||
:to="getroute(myitemmenu)"
|
<q-item clickable
|
||||||
:header-inset-level="myitemmenu.level_parent"
|
:content-inset-level="myitemmenu.level_parent"
|
||||||
:content-inset-level="myitemmenu.level_parent"
|
:header-inset-level="myitemmenu.level_parent"
|
||||||
:label="tools.getLabelByItem(myitemmenu)"
|
:to="getroute(myitemmenu)"
|
||||||
:icon="myitemmenu.materialIcon"
|
active-class="my-menu-active"
|
||||||
expand-icon="none"
|
expand-icon="none">
|
||||||
:header-class="clBase"
|
|
||||||
active-class="my-menu-active">
|
<q-item-section thumbnail>
|
||||||
</q-expansion-item>
|
<q-avatar
|
||||||
|
:icon="myitemmenu.materialIcon" :size="!!myitemmenu.iconsize ? myitemmenu.iconsize: '2.5rem'" :font-size="!!myitemmenu.iconsize ? myitemmenu.iconsize: '2.5rem'"
|
||||||
|
text-color="primary"
|
||||||
|
style="margin-left: 4px"
|
||||||
|
square
|
||||||
|
rounded>
|
||||||
|
</q-avatar>
|
||||||
|
</q-item-section>
|
||||||
|
|
||||||
|
<q-item-section>
|
||||||
|
<span :class="myitemmenu.extraclass">{{ tools.getLabelByItem(myitemmenu) }}</span>
|
||||||
|
<span v-if="myitemmenu.subtitle" class="subtitle">{{ myitemmenu.subtitle }}</span>
|
||||||
|
</q-item-section>
|
||||||
|
|
||||||
|
</q-item>
|
||||||
|
</q-list>
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
</q-slide-transition>
|
</q-slide-transition>
|
||||||
|
|||||||
@@ -111,12 +111,26 @@ export interface IMyBot {
|
|||||||
date_updated?: Date
|
date_updated?: Date
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export interface IMyElem {
|
||||||
|
_id?: string
|
||||||
|
type?: string
|
||||||
|
title?: string
|
||||||
|
container?: string
|
||||||
|
size?: string
|
||||||
|
order?: string
|
||||||
|
height?: string
|
||||||
|
active?: boolean
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
export interface IMyPage {
|
export interface IMyPage {
|
||||||
_id?: string
|
_id?: string
|
||||||
author_username?: string
|
author_username?: string
|
||||||
lang?: string
|
lang?: string
|
||||||
title?: string
|
title?: string
|
||||||
|
subtitle?: string
|
||||||
icon?: string
|
icon?: string
|
||||||
|
iconsize?: string
|
||||||
order?: number
|
order?: number
|
||||||
path?: string
|
path?: string
|
||||||
keywords?: string
|
keywords?: string
|
||||||
@@ -145,6 +159,7 @@ export interface IMyPage {
|
|||||||
l_child?: number,
|
l_child?: number,
|
||||||
infooter?: boolean
|
infooter?: boolean
|
||||||
internalpage?: boolean
|
internalpage?: boolean
|
||||||
|
extraclass?: string
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface IOption {
|
export interface IOption {
|
||||||
@@ -342,8 +357,10 @@ export interface IListRoutes {
|
|||||||
order: number
|
order: number
|
||||||
path: string
|
path: string
|
||||||
name: string
|
name: string
|
||||||
|
subtitle?: string
|
||||||
lang?: string
|
lang?: string
|
||||||
materialIcon?: string
|
materialIcon?: string
|
||||||
|
iconsize?: string
|
||||||
component?: any
|
component?: any
|
||||||
children?: any
|
children?: any
|
||||||
reqauth?: boolean
|
reqauth?: boolean
|
||||||
|
|||||||
@@ -142,6 +142,7 @@ export const colmsg_templates = [
|
|||||||
|
|
||||||
export const colmypage = [
|
export const colmypage = [
|
||||||
AddCol({ name: 'title', label_trans: 'pages.title' }),
|
AddCol({ name: 'title', label_trans: 'pages.title' }),
|
||||||
|
AddCol({ name: 'subtitle', label_trans: 'pages.subtitle' }),
|
||||||
AddCol({ name: 'path', label_trans: 'pages.path' }),
|
AddCol({ name: 'path', label_trans: 'pages.path' }),
|
||||||
AddCol({ name: 'img1', label_trans: 'pages.img1' }),
|
AddCol({ name: 'img1', label_trans: 'pages.img1' }),
|
||||||
AddCol({ name: 'content', label_trans: 'pages.contentfield', fieldtype: costanti.FieldType.html }),
|
AddCol({ name: 'content', label_trans: 'pages.contentfield', fieldtype: costanti.FieldType.html }),
|
||||||
@@ -174,6 +175,8 @@ export const colmypage = [
|
|||||||
AddCol({ name: 'l_child', label_trans: 'pages.l_child', fieldtype: costanti.FieldType.number }),
|
AddCol({ name: 'l_child', label_trans: 'pages.l_child', fieldtype: costanti.FieldType.number }),
|
||||||
AddCol({ name: 'infooter', label_trans: 'pages.infooter', fieldtype: costanti.FieldType.boolean }),
|
AddCol({ name: 'infooter', label_trans: 'pages.infooter', fieldtype: costanti.FieldType.boolean }),
|
||||||
AddCol({ name: 'internalpage', label_trans: 'pages.internalpage', fieldtype: costanti.FieldType.boolean }),
|
AddCol({ name: 'internalpage', label_trans: 'pages.internalpage', fieldtype: costanti.FieldType.boolean }),
|
||||||
|
AddCol({ name: 'iconsize', label_trans: 'pages.iconsize', fieldtype: costanti.FieldType.string }),
|
||||||
|
AddCol({ name: 'extraclass', label_trans: 'pages.extraclass', fieldtype: costanti.FieldType.string }),
|
||||||
AddCol(DeleteRec),
|
AddCol(DeleteRec),
|
||||||
AddCol(DuplicateRec),
|
AddCol(DuplicateRec),
|
||||||
]
|
]
|
||||||
|
|||||||
@@ -3878,6 +3878,9 @@ export const tools = {
|
|||||||
},
|
},
|
||||||
|
|
||||||
translate(params: string, options?: any) {
|
translate(params: string, options?: any) {
|
||||||
|
if (!params)
|
||||||
|
return ''
|
||||||
|
|
||||||
const msg = params.split('.')
|
const msg = params.split('.')
|
||||||
const lang = toolsext.getLocale()
|
const lang = toolsext.getLocale()
|
||||||
|
|
||||||
|
|||||||
@@ -357,7 +357,9 @@ export const useGlobalStore = defineStore('GlobalStore', {
|
|||||||
path: `/${page.path}`,
|
path: `/${page.path}`,
|
||||||
name: '',
|
name: '',
|
||||||
text: page.title,
|
text: page.title,
|
||||||
|
subtitle: page.subtitle,
|
||||||
materialIcon: page.icon,
|
materialIcon: page.icon,
|
||||||
|
iconsize: page.iconsize,
|
||||||
component: () => import('@src/root/mypage/mypage.vue'),
|
component: () => import('@src/root/mypage/mypage.vue'),
|
||||||
inmenu: page.inmenu,
|
inmenu: page.inmenu,
|
||||||
onlySocioResidente: page.only_residenti,
|
onlySocioResidente: page.only_residenti,
|
||||||
@@ -368,6 +370,7 @@ export const useGlobalStore = defineStore('GlobalStore', {
|
|||||||
level_child: page.l_child,
|
level_child: page.l_child,
|
||||||
level_parent: page.l_par,
|
level_parent: page.l_par,
|
||||||
submenu: page.submenu,
|
submenu: page.submenu,
|
||||||
|
extraclass: page.extraclass,
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -475,7 +478,6 @@ export const useGlobalStore = defineStore('GlobalStore', {
|
|||||||
},
|
},
|
||||||
|
|
||||||
saveConfig(data: IConfig) {
|
saveConfig(data: IConfig) {
|
||||||
let dataout
|
|
||||||
// this.$set(dataout, data.value, {'value': 'default value'})
|
// this.$set(dataout, data.value, {'value': 'default value'})
|
||||||
return globalroutines('write', 'config', { _id: data._id, value: data.value })
|
return globalroutines('write', 'config', { _id: data._id, value: data.value })
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -1,18 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
site=arcadei.it
|
|
||||||
|
|
||||||
if [ -d "__freeplanet.app" ]; then
|
|
||||||
rmdir __freeplanet.app
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ -d "__insiemesipuo.app" ]; then
|
|
||||||
rmdir __insiemesipuo.app
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ -d "__popolodelnuovomondo.app" ]; then
|
|
||||||
rmdir __popolodelnuovomondo.app
|
|
||||||
fi
|
|
||||||
|
|
||||||
|
|
||||||
source __termine.sh
|
|
||||||
@@ -1,18 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
site=riso.app
|
|
||||||
|
|
||||||
if [ -d "__freeplanet.app" ]; then
|
|
||||||
rmdir __freeplanet.app
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ -d "__insiemesipuo.app" ]; then
|
|
||||||
rmdir __insiemesipuo.app
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ -d "__popolodelnuovomondo.app" ]; then
|
|
||||||
rmdir __popolodelnuovomondo.app
|
|
||||||
fi
|
|
||||||
|
|
||||||
|
|
||||||
source __termine.sh
|
|
||||||