Primo committ Notevole

This commit is contained in:
Paolo Arena
2019-12-28 11:16:53 +01:00
commit 5d32378df8
174 changed files with 29861 additions and 0 deletions

338
src/db/db_data.js Normal file
View File

@@ -0,0 +1,338 @@
import { IEvents } from "../model";
export const db_data = {
// USER DATA TO LOAD !
// -----------------------
primoanno: [
{
label: 'Programma 1° Anno',
icon: '',
header: 'bold',
children: [
{
label: 'Anatomia 1',
header: 'generic',
icon: 'assignment',
children: [
{
header: 'docente',
docente: 'Claudio Brugnettini',
durata: 'sab 12 - dom 13 Ottobre 2019'
}
]
},
{
label: 'Riflessologia Plantare (1/2)',
header: 'generic',
icon: 'assignment',
children: [{
header: 'docente',
docente: 'Sabrina Leppo',
durata: 'sab 26 - dom 27 Ottobre 2019'
}]
},
{
label: 'Riflessologia Plantare (2/2)',
header: 'generic',
icon: 'assignment',
children: [{
header: 'docente',
docente: 'Sabrina Leppo',
durata: 'sab 9 - dom 10 Novembre 2019'
}]
},
{
label: 'Auricologia',
header: 'generic',
icon: 'assignment',
children: [{
header: 'docente',
docente: 'Cristina Barattoni',
durata: 'sab 30 Nov - dom 1 Dicembre 2019'
}]
},
{
label: 'Massaggio Ayurveda e Aromamassaggio (1/2)',
header: 'generic',
icon: 'assignment',
children: [{
header: 'docente',
docente: 'Elisa Ghizzardi',
durata: 'sab 4 - dom 5 Gennaio 2020'
}]
},
{
label: 'Massaggio Ayurveda e Aromamassaggio (2/2)',
header: 'generic',
icon: 'assignment',
children: [{
header: 'docente',
docente: 'Elisa Ghizzardi',
durata: 'sab 25 - dom 26 Gennaio 2020'
}]
},
{
label: 'Massaggio Svedese (1/3)',
header: 'generic',
icon: 'assignment',
children: [{
header: 'docente',
docente: 'Claudio Brugnettini',
durata: 'sab 22 - dom 23 Febbraio 2020'
}]
},
{
label: 'Massaggio Svedese (2/3)',
header: 'generic',
icon: 'assignment',
children: [{
header: 'docente',
docente: 'Claudio Brugnettini',
durata: 'sab 7 - dom 8 Marzo 2020'
}]
},
{
label: 'Massaggio Svedese (3/3)',
header: 'generic',
icon: 'assignment',
children: [{
header: 'docente',
docente: 'Claudio Brugnettini',
durata: 'sab 28 - dom 29 Marzo 2020'
}]
},
{
label: 'Trattamento Drenante linfatico (1/2)',
header: 'generic',
icon: 'assignment',
children: [{
header: 'docente',
docente: 'Sabrina Leppo',
durata: 'sab 2 - dom 3 Maggio 2020'
}]
},
{
label: 'Trattamento Drenante linfatico (2/2)',
header: 'generic',
icon: 'assignment',
children: [{
header: 'docente',
docente: 'Sabrina Leppo',
durata: 'sab 16 - dom 17 Maggio 2020'
}]
},
{
label: 'Moxa',
header: 'generic',
icon: 'assignment',
children: [{
header: 'docente',
docente: 'Cristina Barattoni',
durata: 'sab 23 - dom 24 Maggio 2020'
}]
},
{
label: 'Tecniche Integrate e Deontologia',
header: 'generic',
icon: 'assignment',
children: [{
header: 'docente',
docente: 'Sabrina Leppo',
durata: 'sab 6 Giugno 2020'
}]
},
{
label: 'Esami',
header: 'generic',
icon: 'assignment',
children: [{
header: 'docente',
docente: 'Claudio Brugnettini, Sabrina Leppo, Cristina Bastoni, Elisa Ghizzardi',
durata: 'dom 7 Giugno 2020'
}]
}
]
}],
secondoanno: [
{
label: 'Programma 2° Anno',
icon: '',
header: 'bold',
children: [
{
label: 'Anatomia 2',
header: 'generic',
icon: 'assignment',
children: [
{
header: 'docente',
docente: 'Sabrina Leppo',
durata: 'sab 5 - dom 6 Ottobre 2019'
}
]
},
{
label: 'Marketing per Operatore Olistico',
header: 'generic',
icon: 'assignment',
children: [{
header: 'docente',
docente: 'Cristina Barattoni',
durata: 'sab 23 - dom 24 Novembre 2019'
}]
},
{
label: 'Auricologia',
header: 'generic',
icon: 'assignment',
children: [{
header: 'docente',
docente: 'Cristina Barattoni',
durata: 'sab 30 Novembre - dom 1 Dicembre 2019'
}]
},
{
label: 'Massaggio Ayurveda',
header: 'generic',
icon: 'assignment',
children: [{
header: 'docente',
docente: 'Elisa Ghizzardi',
durata: 'sab 4 - dom 5 Gennaio 2020'
}]
},
{
label: 'Idrofangoterapia',
header: 'generic',
icon: 'assignment',
children: [{
header: 'docente',
docente: 'Sabrina Leppo',
durata: 'sab 8 - dom 9 Febbraio 2020'
}]
},
{
label: 'Massaggio con Fiori di Bach',
header: 'generic',
icon: 'assignment',
children: [{
header: 'docente',
docente: 'Elisa Ghizzardi',
durata: 'sab 14 - dom 15 Marzo 2020'
}]
},
{
label: 'Costituzioni Integrate',
header: 'generic',
icon: 'assignment',
children: [{
header: 'docente',
docente: 'Elisa Ghizzardi',
durata: 'sab 25 - dom 26 Aprile 2020'
}]
},
{
label: 'Moxa',
header: 'generic',
icon: 'assignment',
children: [{
header: 'docente',
docente: 'Cristina Barattoni',
durata: 'sab 23 - dom 24 Maggio 2020'
}]
},
{
label: 'Trattamento drenante linfatico Avanzato',
header: 'generic',
icon: 'assignment',
children: [{
header: 'docente',
docente: 'Sabrina Leppo',
durata: 'sab 30 - dom 31 Maggio 2020'
}]
},
{
label: 'Automassaggio Shiatsu e Stretching dei Meridiani',
header: 'generic',
icon: 'assignment',
children: [{
header: 'docente',
docente: 'Cristina Barattoni',
durata: 'sab 6 Giugno 2020'
}]
},
{
label: 'Craniosacrale',
header: 'generic',
icon: 'assignment',
children: [{
header: 'docente',
docente: 'Claudio Brugnettini',
durata: 'sab 20 - dom 21 Giugno 2020'
}]
},
{
label: 'Massaggio Zonale',
header: 'generic',
icon: 'assignment',
children: [{
header: 'docente',
docente: 'Claudio Brugnettini',
durata: 'sab 4 - dom 5 Luglio 2020'
}]
},
{
label: 'Kinesiologia',
header: 'generic',
icon: 'assignment',
children: [{
header: 'docente',
docente: 'Claudio Brugnettini',
durata: 'sab 12 - dom 13 Settembre 2020'
}]
},
{
label: 'Massaggio Metamorfico',
header: 'generic',
icon: 'assignment',
children: [{
header: 'docente',
docente: 'Elisa Ghizzardi',
durata: 'sab 19 Settembre 2020'
}]
},
{
label: 'Kinesiotaping',
header: 'generic',
icon: 'assignment',
children: [{
header: 'docente',
docente: 'Claudio Brugnettini',
durata: 'dom 20 Settembre 2020'
}]
},
{
label: 'Tecniche Integrate e Deontologia',
header: 'generic',
icon: 'assignment',
children: [{
header: 'docente',
docente: 'Sabrina Leppo',
durata: 'sab 3 Ottobre 2020'
}]
},
{
label: 'Esami',
header: 'generic',
icon: 'assignment',
children: [{
header: 'docente',
docente: 'Claudio Brugnettini, Sabrina Leppo, Cristina Barattoni, Elisa Ghizzardi',
durata: 'dom 4 Ottobre 2020'
}]
}
]
}]
}

135
src/db/i18n_website.js Normal file
View File

@@ -0,0 +1,135 @@
const msg_website = {
it: {
pages: {
home: 'Home',
SignUp: 'Registrazione',
SignIn: 'Login',
vreg: 'Verifica Reg',
Test: 'Test',
Category: 'Categorie',
Admin: 'Admin',
Test1: 'Test1',
Test2: 'Test2',
chisiamo: 'Chi Siamo',
linkamici: 'Link Amici',
dovesiamo: 'Dove Siamo',
evento: 'Evento',
eventodef: 'Evento:',
prova: 'prova',
},
msg: {
myAppNameShort: 'Notevole',
myAppName: 'Notevole',
myAppDescription: 'Notevole',
keywords_base: 'Notevole',
myDescriz: '',
sottoTitoloApp: 'Il Gioco del Dono',
sottoTitoloApp2: 'del Dare e Ricevere',
sottoTitoloApp3: '',
sottoTitoloApp4: '',
},
homepage: {
nostra_missione: 'Nostra Missione',
associazione: '',
tit_come_associarsi: 'Come Associarsi',
testo_come_associarsi: '',
titlecontatti: 'CONTATTI',
},
text: {
videotitle: 'VIDEO',
how: 'COME FUNZIONA',
what: 'COSA TI SERVE',
step: 'PASSI DA COMPIERE',
testimonial: 'TESTIMONIANZE',
faq: 'DOMANDE FREQUENTI (FAQ)',
advise: 'SUGGERIMENTI',
download: 'MATERIALE DISPONIBILE',
},
},
es: {
pages: {
home: 'Home',
SignUp: 'Registrazione',
SignIn: 'Login',
vreg: 'Verifica Reg',
Test: 'Test',
Category: 'Categorie',
Admin: 'Admin',
Test1: 'Test1',
Test2: 'Test2',
},
msg: {
myAppName: 'Notevole',
myAppNameShort: 'Notevole',
myAppDescription: '',
keywords_base: '',
myDescriz: '',
sottoTitoloApp: '..',
sottoTitoloApp2: '..',
sottoTitoloApp3: '..',
sottoTitoloApp4: '',
},
homepage: {
titlecontatti: 'CONTACTOS',
},
text: {
how: 'COMO FUNCIONA',
what: 'QUE NECESITAS',
step: 'PASOS A REALIZAR',
videotitle: 'VIDEO',
testimonial: 'TESTIMONIOS',
faq: 'PREGUNTAS FRECUENTES (FAQ)',
advise: 'CONSEJOS',
download: 'MATERIAL DISPONIBLES',
},
},
enUs: {
pages: {
home: 'Home',
SignUp: 'Registrazione',
SignIn: 'Login',
vreg: 'Verifica Reg',
Test: 'Test',
Category: 'Categorie',
Admin: 'Admin',
Test1: 'Test1',
Test2: 'Test2',
},
msg: {
myAppName: 'Notevole',
myAppNameShort: 'Notevole',
myAppDescription: '',
keywords_base: '',
myDescriz: '',
sottoTitoloApp: '..',
sottoTitoloApp2: '..',
sottoTitoloApp3: '..',
sottoTitoloApp4: '',
},
homepage: {
titlecontatti: 'CONTACTS',
},
text: {
how: 'HOW TO WORK',
what: 'WHAT YOU NEED',
step: 'STEPS TO DO',
videotitle: 'VIDEO',
testimonial: 'REVIEWS',
faq: 'FREQUENTLY ASKED QUESTIONS (FAQ)',
advise: 'ADVISE',
download: 'AVAILABLE DOCUMENTS',
},
},
fr: {
homepage: {},
pages: {},
msg: {}
},
de: {
homepage: {},
pages: {},
msg: {}
}
}
export default msg_website;

147
src/db/static_data.ts Normal file
View File

@@ -0,0 +1,147 @@
import { Todos, Projects, UserStore } from '@store'
import globalroutines from '../globalroutines/index'
import { date, Screen } from 'quasar'
import { IListRoutes, ILang, IOperators, IPreloadImages } from '../model/index'
import { IFunctionality } from '@src/model/GlobalStore'
const functionality: IFunctionality = {
PWA: false,
SHOW_USER_MENU: true, // Cambiare con true
ENABLE_REGISTRATION: false, // Cambiare con true
SHOW_NEWSLETTER: false,
SHOW_ONLY_POLICY: true,
ENABLE_TODOS_LOADING: false,
ENABLE_PROJECTS_LOADING: false,
SHOW_IF_IS_SERVER_CONNECTION: false,
SHOW_MESSAGES: false,
BOOKING_EVENTS: false
}
const routes_manager: IListRoutes[] = [
{
path: '/admin/userlist',
materialIcon: 'fas fa-users',
name: 'otherpages.admin.userlist',
component: () => import('@/rootgen/admin/usersList/usersList.vue'),
inmenu: true,
submenu: true,
level_parent: 0,
level_child: 0.5,
onlyManager: true
},
{
path: '/admin/tableslist',
materialIcon: 'fas fa-users',
name: 'otherpages.admin.tableslist',
component: () => import('@/rootgen/admin/tablesList/tablesList.vue'),
inmenu: true,
submenu: true,
level_parent: 0,
level_child: 0.5,
onlyManager: true
},
]
const routes: IListRoutes[] = [
{
path: '/',
materialIcon: 'home',
name: 'pages.home',
component: () => import('@/root/home/home.vue'),
reqauth: false,
inmenu: true,
infooter: true
},
/*
{
path: '/page',
name: 'pages.scuolaoperatoreolistico',
materialIcon: 'school',
component: () => import('@/root/page/page.vue'),
inmenu: true,
infooter: true
},
*/
{
path: '/manage',
materialIcon: 'fas fa-users-cog',
name: 'otherpages.manage.menu',
inmenu: true,
routes2: routes_manager,
solotitle: true,
infooter: true,
onlyManager: true
},
...routes_manager,
{
path: '/messages/:un',
materialIcon: 'fas fa-comment',
name: 'otherpages.messages.menu',
component: () => import('@/views/messages/messages.vue'),
inmenu: functionality.SHOW_MESSAGES,
infooter: functionality.SHOW_MESSAGES,
reqauth: true
},
// --- NOT IN MENU: ---
{ path: '/policy', name: 'pages.policy', component: () => import('@/root/policy/policy.vue') },
{
path: '/signup',
materialIcon: 'how_to_reg',
name: 'pages.SignUp',
component: () => import('@/views/login/signup/signup.vue'),
inmenu: false,
infooter: false,
separator: false
},
{
path: '/signin',
materialIcon: 'account_circle',
name: 'pages.SignIn',
component: () => import('@/views/login/signin/signin.vue'),
inmenu: false,
infooter: true
},
{ path: '/vreg', name: 'Verify Reg', component: () => import('@/views/login/vreg/vreg.vue') },
{ path: '/offline', name: 'Offline', component: () => import('@/views/offline/offline.vue') },
]
const preLoadImages: IPreloadImages[] = [
{ imgname: '../../statics/images/logo.png', alt: 'logo', mobile: false },
{ imgname: '../../statics/images/gb.png', alt: 'flag gb', mobile: false },
{ imgname: '../../statics/images/es.png', alt: 'flag es', mobile: false },
// { imgname: '../../statics/images/fr.png', alt: 'flag fr', mobile: false },
{ imgname: '../../statics/images/it.png', alt: 'flag it', mobile: false },
// { imgname: '../../statics/images/background.jpg', alt: 'corsi di formazione per operatori del massaggio del benessere', mobile: true },
// { imgname: '../../statics/images/background2.jpg', alt: 'stanza con cuscini per seminario reiki', mobile: true },
// { imgname: '../../statics/images/background3.jpg', alt: 'foto di gruppo seminaristi reiki', mobile: true },
]
export function preloadedimages() {
return [...preLoadImages]
}
const arrLangUsed = [
'it',
'enUs',
'es'
]
const lang_available: ILang[] = [
{ label: 'Italiano', icon: 'fa-flag-it', value: 'it', image: '../statics/images/it.png', short: 'IT' },
{ label: 'English', icon: 'fa-flag-us', value: 'enUs', image: '../statics/images/gb.png', short: 'EN' },
{ label: 'Español', icon: 'fa-flag-es', value: 'es', image: '../statics/images/es.png', short: 'ES' },
// { label: 'Français', icon: 'fa-facebook', value: 'fr', image: '../statics/images/fr.png', short: 'FR' }
// { label: 'German', icon: 'fa-flag-de', value: 'de', image: '../statics/images/de.png', short: 'DE' },
]
export const static_data = {
functionality,
routes,
lang_available,
preLoadImages,
arrLangUsed
}