diff --git a/quasar.conf.js b/quasar.conf.js index ad5b97d..1247854 100755 --- a/quasar.conf.js +++ b/quasar.conf.js @@ -105,7 +105,7 @@ module.exports = function (ctx) { { path: 'error-handler', server: true, client: true }, { path: 'globalroutines', server: true, client: true }, { path: 'vue-idb', server: true, client: true }, - { path: 'dragula', server: true, client: true }, + // { path: 'dragula', server: true, client: true }, { path: 'guard', server: true, client: true }, { path: 'vuetelinput', server: true, client: true }, { path: 'mycharts', server: true, client: true }], diff --git a/src/App.scss b/src/App.scss index 5f64e14..45fedf2 100755 --- a/src/App.scss +++ b/src/App.scss @@ -952,3 +952,21 @@ $heightBtn: 100%; .clrespempty{ color: #DDDDDD; } + +@media (max-width: 600px) { + .flex-item { + padding: 1px; + margin: 1px; + } + + .flex-container { + margin: 0; + padding: 0; + } + + .q-tab-panel { + padding: 4px; + } + +} + diff --git a/src/db/lang/ws_it.js b/src/db/lang/ws_it.js index 09fc170..2248e2b 100755 --- a/src/db/lang/ws_it.js +++ b/src/db/lang/ws_it.js @@ -22,6 +22,7 @@ const msg_website_it = { home: 'Home', profile: 'Profilo', projects: 'Progetti', + report: 'Report', producer: 'Produttore', orderinfo: 'Ordini Effettuati', products: 'Prodotti', diff --git a/src/db/static_data.ts b/src/db/static_data.ts index 8864bdd..96c7cc4 100755 --- a/src/db/static_data.ts +++ b/src/db/static_data.ts @@ -94,7 +94,7 @@ const routes_projects: IListRoutes[] = [ level_parent: 0.0, level_child: 0.5, component: () => import('@/views/projects/proj-list/proj-list.vue'), - inmenu: functionality.SHOW_MESSAGES, + inmenu: functionality.ENABLE_PROJECTS_LOADING, infooter: functionality.ENABLE_PROJECTS_LOADING, onlySocioResidente: true, onlyAdmin: true, @@ -112,7 +112,7 @@ const routes_projects: IListRoutes[] = [ onlySocioResidente: true, onlyAdmin: true, component: () => import('@/views/projects/proj-list/proj-list.vue'), - inmenu: functionality.SHOW_MESSAGES, + inmenu: functionality.ENABLE_PROJECTS_LOADING, infooter: functionality.ENABLE_PROJECTS_LOADING, idelem: process.env.PROJECT_ID_MAIN }, @@ -126,11 +126,25 @@ const routes_projects: IListRoutes[] = [ level_parent: 0.0, level_child: 0.5, component: () => import('@/views/projects/proj-list/proj-list.vue'), - inmenu: functionality.SHOW_MESSAGES, + inmenu: functionality.ENABLE_PROJECTS_LOADING, onlySocioResidente: true, onlyAdmin: true, infooter: functionality.ENABLE_PROJECTS_LOADING, idelem: process.env.PROJECT_ID_MAIN + }, + { + active: functionality.ENABLE_PROJECTS_LOADING, + order: 40, + path: '/report', + materialIcon: 'accessibility_new', + name: 'pages.report', + level_parent: 0.0, + level_child: 0.5, + component: () => import('@/views/projects/report/report.vue'), + inmenu: functionality.ENABLE_PROJECTS_LOADING, + onlySocioResidente: true, + onlyAdmin: true, + infooter: functionality.ENABLE_PROJECTS_LOADING, } ] @@ -773,6 +787,18 @@ const baseroutes: IListRoutes[] = [ inmenu: false, infooter: false, // idelem: process.env.PROJECT_ID_MAIN + }, + { + active: functionality.ENABLE_PROJECTS_LOADING, + order: 40, + path: '/report', + urlroute: 'report', + materialIcon: 'accessibility_new', + name: 'pages.report', + component: () => import('@/views/projects/report/report.vue'), + inmenu: false, + infooter: false, + // idelem: process.env.PROJECT_ID_MAIN } ] diff --git a/src/root/home/home.vue b/src/root/home/home.vue index e66d128..46b8703 100755 --- a/src/root/home/home.vue +++ b/src/root/home/home.vue @@ -1,14 +1,14 @@