diff --git a/src/assets/i18n.js b/src/assets/i18n.js index 917cafe..ce83091 100644 --- a/src/assets/i18n.js +++ b/src/assets/i18n.js @@ -128,6 +128,7 @@ const messages = { confirmed: 'Notifiche Attivate!', denied: 'Notifiche Disabilitate! Attenzione così non vedrai arrivarti i messaggi. Riabilitali per vederli.', titlegranted: 'Permesso Notifiche Abilitato!', + statusnot: 'Stato Notifiche', titledenied: 'Permesso Notifiche Disabilitato!', title_subscribed: 'Sottoscrizione a FreePlanet.app!', subscribed: 'Ora potrai ricevere i messaggi e le notifiche.', @@ -264,6 +265,7 @@ const messages = { confirmed: 'Notificaciones activadas!', denied: 'Notificaciones deshabilitadas! Ten cuidado, así no verás llegar los mensajes. Rehabilítalos para verlos.', titlegranted: 'Notificaciones permitidas habilitadas!', + statusnot: 'Estado Notificaciones', titledenied: 'Notificaciones permitidas deshabilitadas!', title_subscribed: 'Suscripción a FreePlanet.app!', subscribed: 'Ahora puedes recibir mensajes y notificaciones.', @@ -400,6 +402,7 @@ const messages = { confirmed: 'Notifications Enabled!', denied: 'Notifications Disabled! Attention, you will not see your messages incoming. Reenable it for see it', titlegranted: 'Notification Permission Granted!', + statusnot: 'status Notification', titledenied: 'Notification Permission Denied!', title_subscribed: 'Subscribed to FreePlanet.app!', subscribed: 'You can now receive Notification and Messages.', diff --git a/src/components/todos/SingleTodo/SingleTodo.scss b/src/components/todos/SingleTodo/SingleTodo.scss index 5a492e3..424e6be 100644 --- a/src/components/todos/SingleTodo/SingleTodo.scss +++ b/src/components/todos/SingleTodo/SingleTodo.scss @@ -125,7 +125,7 @@ $heightdescr: 20px; // animation: none; //} -.pos-item:hover, .pos-item-popover:hover { +.pos-item:hover, .pos-item-popover_cursor:hover { cursor: grab; } diff --git a/src/components/todos/SingleTodo/SingleTodo.ts b/src/components/todos/SingleTodo/SingleTodo.ts index 0ac9514..5f4fe36 100644 --- a/src/components/todos/SingleTodo/SingleTodo.ts +++ b/src/components/todos/SingleTodo/SingleTodo.ts @@ -142,6 +142,11 @@ export default class SingleTodo extends Vue { this.clButtPopover = this.sel ? 'pos-item-popover comp_selected' : 'pos-item-popover' + if (!this.itemtodo.completed) { + this.clButtPopover += ' pos-item-popover_cursor' + } + + // if (this.inEdit) { // this.classDescr += ' hide' @@ -245,8 +250,6 @@ export default class SingleTodo extends Vue { this.faiFocus('inputdescr') } - - // console.log('FINE - editTodo') } diff --git a/src/components/todos/todo/todo.scss b/src/components/todos/todo/todo.scss index 09deb26..dde9ccb 100644 --- a/src/components/todos/todo/todo.scss +++ b/src/components/todos/todo/todo.scss @@ -1,6 +1,6 @@ .flex-container{ background-color: rgb(250, 250, 250); - padding: 5px; + padding: 2px; display: flex; align-items: center; flex-direction: row; diff --git a/src/components/todos/todo/todo.ts b/src/components/todos/todo/todo.ts index b729728..59c8f7d 100644 --- a/src/components/todos/todo/todo.ts +++ b/src/components/todos/todo/todo.ts @@ -15,6 +15,8 @@ import { Getter, State, Mutation } from 'vuex-class' import { costanti } from '@src/store/Modules/costanti' const namespace: string = 'Todos' +import globalroutines from './../../../globalroutines/index' + @Component({ @@ -44,6 +46,7 @@ export default class Todo extends Vue { public service: any public actualMaxPosition: number = 15 public scrollable = true + public tmpstrTodos: string = '' public categoryAtt: string = '' // public showtype: number = Todos.state.showtype @@ -502,5 +505,36 @@ export default class Todo extends Vue { } + getArrTodos() { + + let mystr = '' + let mythis = this + + mythis.tmpstrTodos = '' + return globalroutines(null, 'readall', 'todos', null) + .then(function (alldata) { + const myrecs = [...alldata] + + myrecs.forEach(rec => { + mystr = mystr + rec.descr + rec.completed + '] [' + }) + + mythis.tmpstrTodos = 'TODOS: ' + mystr + }) + } + + // setArrTodos() { + // + // let mystr = '' + // let mythis = this + // + // mythis.tmpstrTodos = '' + // return globalroutines(null, 'write', 'todos', this.todos_arr[0]) + // .then(function (alldata) { + // mythis.getArrTodos() + // }) + // } + // + } diff --git a/src/components/todos/todo/todo.vue b/src/components/todos/todo/todo.vue index ed31f21..a5272b6 100644 --- a/src/components/todos/todo/todo.vue +++ b/src/components/todos/todo/todo.vue @@ -1,9 +1,6 @@