other components... (2)
This commit is contained in:
@@ -6,7 +6,7 @@ import {
|
||||
} from '@model'
|
||||
|
||||
const functionality: IFunctionality = {
|
||||
PWA: true,
|
||||
PWA: false,
|
||||
SHOW_USER_MENU: true, // Cambiare con true
|
||||
SHOW_PROFILE: true,
|
||||
SHOW_REG_BUTTON: true,
|
||||
@@ -54,18 +54,25 @@ const arrlista = [
|
||||
{ nametranslate: 'shopping', description: 'shopping' },
|
||||
]
|
||||
|
||||
const routes_admin: IListRoutes[] = [
|
||||
{
|
||||
active: true,
|
||||
order: 1000,
|
||||
path: '/admin/cfgserv',
|
||||
materialIcon: 'event_seat',
|
||||
name: 'pages.Admin',
|
||||
component: () => import('@/views/admin/cfgServer/cfgServer.vue'),
|
||||
level_parent: 0.0,
|
||||
level_child: 0.5,
|
||||
inmenu: true,
|
||||
submenu: true,
|
||||
onlyAdmin: true
|
||||
},
|
||||
]
|
||||
|
||||
const baseroutes: IListRoutes[] = [
|
||||
{
|
||||
order: 4,
|
||||
path: '/ciao',
|
||||
materialIcon: 'ciao',
|
||||
name: 'pages.ciao',
|
||||
component: () => import('@src/root/ciao/ciao.vue'),
|
||||
reqauth: false,
|
||||
inmenu: true,
|
||||
infooter: true,
|
||||
},
|
||||
{
|
||||
active: true,
|
||||
order: 5,
|
||||
path: '/',
|
||||
materialIcon: 'home',
|
||||
@@ -76,6 +83,18 @@ const baseroutes: IListRoutes[] = [
|
||||
infooter: true,
|
||||
},
|
||||
{
|
||||
active: true,
|
||||
order: 120,
|
||||
path: '/profile',
|
||||
materialIcon: 'fas fa-user',
|
||||
name: 'pages.profile',
|
||||
component: () => import('@/views/user/profile/profile.vue'),
|
||||
meta: { requiresAuth: true },
|
||||
inmenu: true,
|
||||
infooter: true,
|
||||
},
|
||||
/*{
|
||||
active: true,
|
||||
order: 6,
|
||||
path: '/b',
|
||||
faIcon: 'fa fa-list-alt',
|
||||
@@ -88,7 +107,10 @@ const baseroutes: IListRoutes[] = [
|
||||
solotitle: true,
|
||||
infooter: true,
|
||||
},
|
||||
|
||||
*/
|
||||
{
|
||||
active: true,
|
||||
order: 7,
|
||||
path: '/c',
|
||||
faIcon: 'fa fa-list-alt',
|
||||
@@ -101,6 +123,30 @@ const baseroutes: IListRoutes[] = [
|
||||
solotitle: true,
|
||||
infooter: true,
|
||||
},
|
||||
{
|
||||
active: true,
|
||||
order: 2000,
|
||||
path: '/admin',
|
||||
materialIcon: 'fas fa-user-shield',
|
||||
name: 'otherpages.admin.menu',
|
||||
inmenu: true,
|
||||
routes2: routes_admin,
|
||||
solotitle: true,
|
||||
infooter: true,
|
||||
onlyAdmin: true
|
||||
},
|
||||
...routes_admin,
|
||||
{
|
||||
active: true,
|
||||
order: 1000,
|
||||
path: '/404error',
|
||||
materialIcon: 'fas fa-calendar-plus',
|
||||
name: 'otherpages.error404',
|
||||
component: () => import('@/root/My404page/My404page.vue'),
|
||||
inmenu: false,
|
||||
infooter: false
|
||||
},
|
||||
|
||||
// --- NOT IN MENU: ---
|
||||
/*{
|
||||
order: 8,
|
||||
@@ -108,6 +154,75 @@ const baseroutes: IListRoutes[] = [
|
||||
name: 'pages.policy',
|
||||
component: () => import('@src/root/policy/policy.vue'),
|
||||
},*/
|
||||
{
|
||||
active: functionality.ENABLE_REGISTRATION,
|
||||
order: 1000,
|
||||
path: '/signup',
|
||||
materialIcon: 'how_to_reg',
|
||||
name: 'pages.SignUp',
|
||||
component: () => import('@/views/login/signup/signup.vue'),
|
||||
inmenu: false,
|
||||
infooter: false,
|
||||
separator: false
|
||||
},
|
||||
{
|
||||
active: functionality.ENABLE_REGISTRATION,
|
||||
order: 2000,
|
||||
path: '/regok',
|
||||
materialIcon: 'how_to_reg',
|
||||
name: 'pages.regok',
|
||||
component: () => import('@/views/login/regok/regok.vue'),
|
||||
inmenu: false,
|
||||
infooter: false,
|
||||
separator: false,
|
||||
},
|
||||
{
|
||||
active: true,
|
||||
order: 1000,
|
||||
path: '/signin',
|
||||
materialIcon: 'account_circle',
|
||||
name: 'pages.SignIn',
|
||||
component: () => import('@/views/login/signin_noreg/signin_noreg.vue'),
|
||||
inmenu: true,
|
||||
infooter: true
|
||||
},
|
||||
{
|
||||
active: true,
|
||||
order: 1000,
|
||||
path: '/vreg',
|
||||
name: 'pages.vreg',
|
||||
component: () => import('@/views/login/vreg/vreg.vue')
|
||||
},
|
||||
{
|
||||
active: true,
|
||||
order: 1000,
|
||||
path: '/requestresetpwd',
|
||||
name: 'pages.requestresetpwd',
|
||||
component: () => import('@/views/requestresetpwd/requestresetpwd.vue')
|
||||
},
|
||||
{
|
||||
active: true,
|
||||
order: 1000,
|
||||
path: '/updatepassword',
|
||||
name: 'pages.updatepassword',
|
||||
component: () => import('@/views/updatepassword/updatepassword.vue')
|
||||
},
|
||||
{
|
||||
active: true,
|
||||
order: 1000,
|
||||
path: '/offline',
|
||||
name: 'Offline',
|
||||
component: () => import('@/views/offline/offline.vue')
|
||||
},
|
||||
{
|
||||
active: true,
|
||||
path: '/separator',
|
||||
name: 'separator',
|
||||
order: 35,
|
||||
isseparator: true,
|
||||
inmenu: true,
|
||||
},
|
||||
|
||||
]
|
||||
|
||||
const arrLangUsed = [
|
||||
@@ -118,13 +233,13 @@ const arrLangUsed = [
|
||||
|
||||
const lang_available: ILang[] = [
|
||||
{
|
||||
label: 'Italiano', icon: 'fa-flag-it', value: 'it', image: '../public/images/it.png', short: 'IT',
|
||||
label: 'Italiano', icon: 'fa-flag-it', value: 'it', image: '../images/it.png', short: 'IT',
|
||||
},
|
||||
{
|
||||
label: 'English', icon: 'fa-flag-us', value: 'enUs', image: '../public/images/gb.png', short: 'EN',
|
||||
label: 'English', icon: 'fa-flag-us', value: 'enUs', image: '../images/gb.png', short: 'EN',
|
||||
},
|
||||
{
|
||||
label: 'Español', icon: 'fa-flag-es', value: 'es', image: '../public/images/es.png', short: 'ES',
|
||||
label: 'Español', icon: 'fa-flag-es', value: 'es', image: '../images/es.png', short: 'ES',
|
||||
},
|
||||
// { label: 'Français', icon: 'fa-facebook', value: 'fr', image: '../public/images/fr.png', short: 'FR' }
|
||||
// { label: 'German', icon: 'fa-flag-de', value: 'de', image: '../public/images/de.png', short: 'DE' },
|
||||
|
||||
Reference in New Issue
Block a user