diff --git a/src/layouts/drawer/drawer.vue b/src/layouts/drawer/drawer.vue
index de1627c..d3b9f75 100644
--- a/src/layouts/drawer/drawer.vue
+++ b/src/layouts/drawer/drawer.vue
@@ -53,19 +53,27 @@
console.log('Drawer created...')
}
+ Glo
+
photo = ''
user = null
links = {
Dashboard: {
routes: [
{ route: '/', faIcon: 'fa fa-home', materialIcon: 'home', name: 'pages.home' },
- { route: '/todo', faIcon: 'fa fa-list-alt', materialIcon: 'todo', name: 'pages.Todo' },
+ {
+ route: '/todo', faIcon: 'fa fa-list-alt', materialIcon: 'todo', name: 'pages.Todo',
+ routes2: [
+ { route: '/todo/personal', faIcon: 'fa fa-list-alt', materialIcon: 'todo', name: 'Personal' },
+ { route: '/todo/work', faIcon: 'fa fa-list-alt', materialIcon: 'todo', name: 'Work' }
+ ]
+ },
{ route: '/category', faIcon: 'fa fa-list-alt', materialIcon: 'category', name: 'pages.Category' },
{ route: '/signup', faIcon: 'fa fa-registered', materialIcon: 'home', name: 'pages.SignUp' },
{ route: '/signin', faIcon: 'fa fa-anchor', materialIcon: 'home', name: 'pages.SignIn' },
/* {route: '/vreg?idlink=aaa', faIcon: 'fa fa-login', materialIcon: 'login', name: 'pages.vreg'},*/
],
- show: true
+ show: true,
},
Forms: {
routes: [
@@ -140,7 +148,7 @@
margin-top: 5%;
}
- .fixed-left:hover{
+ .fixed-left:hover {
cursor: ew-resize;
}
diff --git a/src/layouts/drawer/menuOne.vue b/src/layouts/drawer/menuOne.vue
index 90a266d..bac1038 100644
--- a/src/layouts/drawer/menuOne.vue
+++ b/src/layouts/drawer/menuOne.vue
@@ -1,15 +1,26 @@
-
@@ -67,7 +79,7 @@
padding: 5px 8px;
}
- .menu-hr{
+ .menu-hr {
border-color: #dedede;
height: 0.5px;
}
diff --git a/src/model/Todos.ts b/src/model/Todos.ts
index 97bcffc..825e74d 100644
--- a/src/model/Todos.ts
+++ b/src/model/Todos.ts
@@ -1,6 +1,7 @@
export interface ITodo {
id?: number,
userId: string
+ category?: string
descr?: string,
priority: number,
completed: boolean,
diff --git a/src/plugins/vue-idb.js b/src/plugins/vue-idb.js
index 9398b23..af71717 100644
--- a/src/plugins/vue-idb.js
+++ b/src/plugins/vue-idb.js
@@ -9,7 +9,7 @@ export default ({ Vue }) => {
database: 'test',
schemas: [
{ categories: '++id, sub_categ_id, descr_it, campo2bool, campo3bool' },
- { todos: '++id, userId, pos, descr, priority, completed, created_at, modify_at, expiring_at, progress, enableExpiring' }
+ { todos: '++id, userId, category, pos, descr, priority, completed, created_at, modify_at, expiring_at, progress, enableExpiring' }
],
options: {
todos: { type: 'list', primary: 'pos', label: 'label', updated_at: 'updated_at' },
diff --git a/src/router/route-config.ts b/src/router/route-config.ts
index 97f54c8..9b80a94 100644
--- a/src/router/route-config.ts
+++ b/src/router/route-config.ts
@@ -25,7 +25,7 @@ export const RouteConfig: VueRouteConfig[] = [
meta: { name: 'Verify Reg' }
},
{
- path: '/todo',
+ path: '/todo/:category',
component: () => import('@/components/todos/todo/todo.vue'),
meta: { name: 'Todos' }
},
diff --git a/src/store/Modules/rescodes.ts b/src/store/Modules/rescodes.ts
index 71ee941..6ceaf6d 100644
--- a/src/store/Modules/rescodes.ts
+++ b/src/store/Modules/rescodes.ts
@@ -74,6 +74,8 @@ export const rescodes = {
},
+ INDEX_MENU_DELETE: 3,
+
menuPopupTodo: {
'it': [
{